2022-03-17 00:59:20 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2022 Nordic Semiconductor
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
uart0_default: uart0_default {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(UART_TX, 1, 3)>,
|
|
|
|
<NRF_PSEL(UART_RX, 1, 10)>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
uart0_sleep: uart0_sleep {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(UART_TX, 1, 3)>,
|
|
|
|
<NRF_PSEL(UART_RX, 1, 10)>;
|
|
|
|
low-power-enable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c0_default: i2c0_default {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(TWIM_SDA, 0, 31)>,
|
|
|
|
<NRF_PSEL(TWIM_SCL, 0, 2)>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c0_sleep: i2c0_sleep {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(TWIM_SDA, 0, 31)>,
|
|
|
|
<NRF_PSEL(TWIM_SCL, 0, 2)>;
|
|
|
|
low-power-enable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c1_default: i2c1_default {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(TWIM_SDA, 0, 14)>,
|
|
|
|
<NRF_PSEL(TWIM_SCL, 0, 15)>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c1_sleep: i2c1_sleep {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(TWIM_SDA, 0, 14)>,
|
|
|
|
<NRF_PSEL(TWIM_SCL, 0, 15)>;
|
|
|
|
low-power-enable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
spi2_default: spi2_default {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(SPIM_SCK, 0, 13)>,
|
|
|
|
<NRF_PSEL(SPIM_MOSI, 1, 1)>,
|
|
|
|
<NRF_PSEL(SPIM_MISO, 1, 8)>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
spi2_sleep: spi2_sleep {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(SPIM_SCK, 0, 13)>,
|
|
|
|
<NRF_PSEL(SPIM_MOSI, 1, 1)>,
|
|
|
|
<NRF_PSEL(SPIM_MISO, 1, 8)>;
|
|
|
|
low-power-enable;
|
|
|
|
};
|
|
|
|
};
|
2022-04-19 04:18:11 +08:00
|
|
|
|
|
|
|
pwm0_default: pwm0_default {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(PWM_OUT0, 0, 24)>,
|
2022-04-20 23:10:32 +08:00
|
|
|
<NRF_PSEL(PWM_OUT1, 0, 16)>,
|
|
|
|
<NRF_PSEL(PWM_OUT2, 0, 6)>;
|
2022-04-19 04:18:11 +08:00
|
|
|
nordic,invert;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pwm0_sleep: pwm0_sleep {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(PWM_OUT0, 0, 24)>,
|
2022-04-20 23:10:32 +08:00
|
|
|
<NRF_PSEL(PWM_OUT1, 0, 16)>,
|
|
|
|
<NRF_PSEL(PWM_OUT2, 0, 6)>;
|
2022-04-19 04:18:11 +08:00
|
|
|
low-power-enable;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pwm1_default: pwm1_default {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(PWM_OUT0, 1, 9)>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pwm1_sleep: pwm1_sleep {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(PWM_OUT0, 1, 9)>;
|
2022-04-21 05:11:43 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pdm0_default: pdm0_default {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(PDM_CLK, 0, 26)>,
|
|
|
|
<NRF_PSEL(PDM_DIN, 0, 25)>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pdm0_sleep: pdm0_sleep {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(PDM_CLK, 0, 26)>,
|
|
|
|
<NRF_PSEL(PDM_DIN, 0, 25)>;
|
2022-04-19 04:18:11 +08:00
|
|
|
low-power-enable;
|
|
|
|
};
|
|
|
|
};
|
2022-04-20 23:10:32 +08:00
|
|
|
|
|
|
|
pwm2_default: pwm2_default {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(PWM_OUT0, 0, 13)>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
pwm2_sleep: pwm2_sleep {
|
|
|
|
group1 {
|
|
|
|
psels = <NRF_PSEL(PWM_OUT0, 0, 13)>;
|
|
|
|
low-power-enable;
|
|
|
|
};
|
|
|
|
};
|
2022-03-17 00:59:20 +08:00
|
|
|
};
|