add overlay for new pcb revision

This commit is contained in:
2025-11-06 18:02:18 +01:00
parent faf4835c90
commit 594423e78b
2 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
&uart20 {
compatible = "nordic,nrf-uarte";
status = "okay";
current-speed = <1000000>;
hw-flow-control;
};
&pinctrl {
uart20_default: uart20_default {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 6)>,
<NRF_PSEL(UART_RTS, 1, 7)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 1, 4)>,
<NRF_PSEL(UART_CTS, 1, 5)>;
bias-pull-up;
};
};
uart20_sleep: uart20_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 6)>,
<NRF_PSEL(UART_RX, 1, 4)>,
<NRF_PSEL(UART_RTS, 1, 7)>,
<NRF_PSEL(UART_CTS, 1, 5)>;
low-power-enable;
};
};
};
/ {
chosen {
zephyr,console = &uart20;
zephyr,shell-uart = &uart20;
//zephyr,uart-mcumgr = &uart0;
//zephyr,bt-mon-uart = &uart0;
//zephyr,bt-c2h-uart = &uart0;
};
};
&power {
status = "okay";
};