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:
parent
33a44d0ed8
commit
32a1c89e2e
|
@ -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)>,
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue