Skip to content

Commit 819d830

Browse files
arsalan-ak-khrlubos
authored andcommitted
boards: nordic: nrf7120pdk: Set nRF7120 default console to UART30
The nrf7120 CI Setup requires the console UART to be routed to fixed pins on P0 on the I/O board.UART20 is unable to operate on P0 as it only supports pin-mapping to P1 or P3 .This PR sets UART30 as the default console , which supports P0 pin mappings.This change ensures compatibility with Pinset A in CI runs and removes the need for overlay workarounds. Signed-off-by: Arsalan Khan <[email protected]>
1 parent 20a4ce3 commit 819d830

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

boards/nordic/nrf7120pdk/nrf7120_cpuapp_common.dtsi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
/ {
1313
chosen {
14-
zephyr,console = &uart20;
15-
zephyr,shell-uart = &uart20;
16-
zephyr,uart-mcumgr = &uart20;
17-
zephyr,bt-mon-uart = &uart20;
18-
zephyr,bt-c2h-uart = &uart20;
14+
zephyr,console = &uart30;
15+
zephyr,shell-uart = &uart30;
16+
zephyr,uart-mcumgr = &uart30;
17+
zephyr,bt-mon-uart = &uart30;
18+
zephyr,bt-c2h-uart = &uart30;
1919
zephyr,flash = &cpuapp_mram;
2020
zephyr,ieee802154 = &ieee802154;
2121
zephyr,wifi = &wlan0;
@@ -120,7 +120,7 @@
120120
};
121121
};
122122

123-
&uart20 {
123+
&uart30 {
124124
status = "okay";
125125
};
126126

boards/nordic/nrf7120pdk/nrf7120pdk_nrf7120-pinctrl.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@
2929

3030
/omit-if-no-ref/ uart30_default: uart30_default {
3131
group1 {
32-
psels = <NRF_PSEL(UART_TX, 0, 0)>,
32+
psels = <NRF_PSEL(UART_TX, 0, 5)>,
3333
<NRF_PSEL(UART_RTS, 0, 2)>;
3434
};
3535

3636
group2 {
37-
psels = <NRF_PSEL(UART_RX, 0, 1)>,
37+
psels = <NRF_PSEL(UART_RX, 0, 6)>,
3838
<NRF_PSEL(UART_CTS, 0, 3)>;
3939
bias-pull-up;
4040
};
4141
};
4242

4343
/omit-if-no-ref/ uart30_sleep: uart30_sleep {
4444
group1 {
45-
psels = <NRF_PSEL(UART_TX, 0, 0)>,
46-
<NRF_PSEL(UART_RX, 0, 1)>,
45+
psels = <NRF_PSEL(UART_TX, 0, 5)>,
46+
<NRF_PSEL(UART_RX, 0, 6)>,
4747
<NRF_PSEL(UART_RTS, 0, 2)>,
4848
<NRF_PSEL(UART_CTS, 0, 3)>;
4949
low-power-enable;

0 commit comments

Comments
 (0)