boards: Add uart1 pinctrl assignment to nrf5340 Audio DK

Add uart1 pinctrl assignment to nrf5340 Audio DK.
Assigned according to Schematic for this board.

Uart1 pins needed by TF-M when using the NS board variant.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2023-10-05 13:11:13 +02:00 committed by Carles Cufí
parent 33a44d0ed8
commit 32a1c89e2e
2 changed files with 30 additions and 0 deletions

View file

@ -51,6 +51,28 @@
};
};
uart1_default: uart1_default {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 9)>,
<NRF_PSEL(UART_RTS, 1, 11)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 1, 8)>,
<NRF_PSEL(UART_CTS, 1, 10)>;
bias-pull-up;
};
};
uart1_sleep: uart1_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 9)>,
<NRF_PSEL(UART_RX, 1, 11)>,
<NRF_PSEL(UART_RTS, 1, 8)>,
<NRF_PSEL(UART_CTS, 1, 10)>;
low-power-enable;
};
};
i2c1_default: i2c1_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 1, 2)>,

View file

@ -141,6 +141,14 @@
pinctrl-names = "default", "sleep";
};
arduino_serial: &uart1 {
compatible = "nordic,nrf-uarte";
current-speed = <115200>;
pinctrl-0 = <&uart1_default>;
pinctrl-1 = <&uart1_sleep>;
pinctrl-names = "default", "sleep";
};
&i2c1 {
compatible = "nordic,nrf-twim";
status = "okay";