mirror of
https://github.com/korneliuszo/lumiax-controller.git
synced 2026-05-07 14:04:29 +02:00
53 lines
895 B
Devicetree
53 lines
895 B
Devicetree
/*
|
|
* Copyright (c) 2022 Nordic Semiconductor
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
&pinctrl {
|
|
i2c0_default: i2c0_default {
|
|
group1 {
|
|
psels = <NRF_PSEL(TWIM_SDA, 0, 0)>,
|
|
<NRF_PSEL(TWIM_SCL, 0, 1)>;
|
|
};
|
|
};
|
|
|
|
i2c0_sleep: i2c0_sleep {
|
|
group1 {
|
|
psels = <NRF_PSEL(TWIM_SDA, 0, 0)>,
|
|
<NRF_PSEL(TWIM_SCL, 0, 1)>;
|
|
low-power-enable;
|
|
};
|
|
};
|
|
|
|
spi1_default: spi1_default {
|
|
group1 {
|
|
psels = <NRF_PSEL(SPIM_SCK, 0, 14)>,
|
|
<NRF_PSEL(SPIM_MOSI, 0, 16)>;
|
|
};
|
|
};
|
|
|
|
spi1_sleep: spi1_sleep {
|
|
group1 {
|
|
psels = <NRF_PSEL(SPIM_SCK, 0, 14)>,
|
|
<NRF_PSEL(SPIM_MOSI, 0, 16)>;
|
|
low-power-enable;
|
|
};
|
|
};
|
|
|
|
uart0_default: uart0_default {
|
|
group1 {
|
|
psels = <NRF_PSEL(UART_TX, 0, 9)>,
|
|
<NRF_PSEL(UART_RX, 0, 11)>;
|
|
};
|
|
};
|
|
|
|
uart0_sleep: uart0_sleep {
|
|
group1 {
|
|
psels = <NRF_PSEL(UART_TX, 0, 9)>,
|
|
<NRF_PSEL(UART_RX, 0, 11)>;
|
|
low-power-enable;
|
|
};
|
|
};
|
|
|
|
};
|