Files
SulaJalmari/Firmware/boards/qalmari/nrf52840_qalmari/nrf52840_qalmari-pinctrl.dtsi
T
Your Name 0056c84c4c First
2026-05-27 20:02:30 +03:00

154 lines
3.0 KiB
Devicetree
Executable File

/*
* Copyright (c) 2022 Nordic Semiconductor
* SPDX-License-Identifier: Apache-2.0
*/
&pinctrl {
uart0_default: uart0_default {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 17)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 15)>;
bias-pull-up;
};
};
uart0_sleep: uart0_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 16)>,
<NRF_PSEL(UART_RX, 0, 24)>,
<NRF_PSEL(UART_RTS, 0, 14)>,
<NRF_PSEL(UART_CTS, 0, 22)>;
low-power-enable;
};
};
i2c0_default: i2c0_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 21)>, <NRF_PSEL(TWIM_SCL, 0, 19)>;
};
};
i2c0_sleep: i2c0_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 21)>, <NRF_PSEL(TWIM_SCL, 0, 19)>;
low-power-enable;
};
};
i2c1_default: i2c1_default {
group1 {
psels = <NRF_PSEL(TWIM_SCL, 0, 19)>, <NRF_PSEL(TWIM_SDA, 0, 21)>;
};
};
i2c1_sleep: i2c1_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SCL, 0, 19)>, <NRF_PSEL(TWIM_SDA, 0, 21)>;
low-power-enable;
};
};
i2s0_default: i2s0_default {
group1 {
psels = <NRF_PSEL(I2S_SCK_M, 1, 11)>,
<NRF_PSEL(I2S_LRCK_M, 1, 12)>,
<NRF_PSEL(I2S_SDOUT, 0, 25)>,
<NRF_PSEL(I2S_SDIN, 1, 14)>;
};
};
pwm0_default: pwm0_default {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 0, 13)>,
<NRF_PSEL(PWM_OUT1, 0, 6)>;
};
};
pwm0_sleep: pwm0_sleep {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 0, 13)>,
<NRF_PSEL(PWM_OUT1, 0, 6)>;
low-power-enable;
};
};
pwm1_leds_default: pwm1_leds_default {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 0, 30)>,
<NRF_PSEL(PWM_OUT1, 0, 8)>,
<NRF_PSEL(PWM_OUT2, 0, 20)>,
<NRF_PSEL(PWM_OUT3, 1, 15)>;
nordic,invert;
};
};
pwm1_leds_sleep: pwm1_leds_sleep {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 0, 30)>,
<NRF_PSEL(PWM_OUT1, 0, 8)>,
<NRF_PSEL(PWM_OUT2, 0, 20)>,
<NRF_PSEL(PWM_OUT3, 1, 15)>;
nordic,invert;
low-power-enable;
};
};
pwm2_leds_default: pwm2_leds_default {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 1, 13)>,
<NRF_PSEL(PWM_OUT1, 1, 10)>,
<NRF_PSEL(PWM_OUT2, 0, 29)>,
<NRF_PSEL(PWM_OUT3, 0, 31)>;
nordic,invert;
};
};
pwm2_leds_sleep: pwm2_leds_sleep {
group1 {
psels = <NRF_PSEL(PWM_OUT0, 1, 13)>,
<NRF_PSEL(PWM_OUT1, 1, 10)>,
<NRF_PSEL(PWM_OUT2, 0, 29)>,
<NRF_PSEL(PWM_OUT3, 0, 31)>;
nordic,invert;
low-power-enable;
};
};
spi0_default: spi0_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 27)>,
<NRF_PSEL(SPIM_MOSI, 0, 25)>,
<NRF_PSEL(SPIM_MISO, 1, 10)>;
};
};
spi0_sleep: spi0_sleep {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 27)>,
<NRF_PSEL(SPIM_MOSI, 0, 25)>,
<NRF_PSEL(SPIM_MISO, 1, 10)>;
low-power-enable;
};
};
spi1_default: spi1_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 31)>,
<NRF_PSEL(SPIM_MOSI, 0, 30)>,
<NRF_PSEL(SPIM_MISO, 1, 13)>;
};
};
spi1_sleep: spi1_sleep {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 31)>,
<NRF_PSEL(SPIM_MOSI, 0, 30)>,
<NRF_PSEL(SPIM_MISO, 1, 13)>;
low-power-enable;
};
};
};