Skip to content

Commit 6cb8263

Browse files
committed
boards: nordic: nrf54lv10dk: single place for uart pin defs
Merge configuration, add mising CTS/RTS pins for uart20. Signed-off-by: Piotr Kosycarz <[email protected]>
1 parent 3b6935b commit 6cb8263

File tree

3 files changed

+7
-49
lines changed

3 files changed

+7
-49
lines changed

boards/nordic/nrf54lv10dk/nrf54lv10dk_nrf54lv10a-pinctrl.dtsi

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,23 @@
66
&pinctrl {
77
/omit-if-no-ref/ uart20_default: uart20_default {
88
group1 {
9-
psels = <NRF_PSEL(UART_TX, 1, 4)>;
9+
psels = <NRF_PSEL(UART_TX, 1, 4)>,
10+
<NRF_PSEL(UART_RTS, 1, 6)>;
1011
};
1112

1213
group2 {
13-
psels = <NRF_PSEL(UART_RX, 1, 5)>;
14+
psels = <NRF_PSEL(UART_RX, 1, 5)>,
15+
<NRF_PSEL(UART_CTS, 1, 7)>;
1416
bias-pull-up;
1517
};
1618
};
1719

1820
/omit-if-no-ref/ uart20_sleep: uart20_sleep {
1921
group1 {
2022
psels = <NRF_PSEL(UART_TX, 1, 4)>,
21-
<NRF_PSEL(UART_RX, 1, 5)>;
23+
<NRF_PSEL(UART_RX, 1, 5)>,
24+
<NRF_PSEL(UART_RTS, 1, 6)>,
25+
<NRF_PSEL(UART_CTS, 1, 7)>;
2226
low-power-enable;
2327
};
2428
};

boards/nordic/nrf54lv10dk/nrf54lv10dk_nrf54lv10a_cpuapp_0_2_0.overlay

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,3 @@
4949
&hfpll {
5050
clock-frequency = <DT_FREQ_M(128)>;
5151
};
52-
53-
&pinctrl {
54-
/omit-if-no-ref/ uart20_default: uart20_default {
55-
group1 {
56-
psels = <NRF_PSEL(UART_TX, 1, 4)>;
57-
};
58-
59-
group2 {
60-
psels = <NRF_PSEL(UART_RX, 1, 5)>;
61-
bias-pull-up;
62-
};
63-
};
64-
65-
/omit-if-no-ref/ uart20_sleep: uart20_sleep {
66-
group1 {
67-
psels = <NRF_PSEL(UART_TX, 1, 4)>,
68-
<NRF_PSEL(UART_RX, 1, 5)>;
69-
low-power-enable;
70-
};
71-
};
72-
};

boards/nordic/nrf54lv10dk/nrf54lv10dk_nrf54lv10a_cpuflpr_0_2_0.overlay

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -49,28 +49,3 @@
4949
&hfpll {
5050
clock-frequency = <DT_FREQ_M(128)>;
5151
};
52-
53-
&pinctrl {
54-
/omit-if-no-ref/ uart30_default: uart30_default {
55-
group1 {
56-
psels = <NRF_PSEL(UART_TX, 0, 0)>,
57-
<NRF_PSEL(UART_RTS, 0, 2)>;
58-
};
59-
60-
group2 {
61-
psels = <NRF_PSEL(UART_RX, 0, 1)>,
62-
<NRF_PSEL(UART_CTS, 0, 3)>;
63-
bias-pull-up;
64-
};
65-
};
66-
67-
/omit-if-no-ref/ uart30_sleep: uart30_sleep {
68-
group1 {
69-
psels = <NRF_PSEL(UART_TX, 0, 0)>,
70-
<NRF_PSEL(UART_RX, 0, 1)>,
71-
<NRF_PSEL(UART_RTS, 0, 2)>,
72-
<NRF_PSEL(UART_CTS, 0, 3)>;
73-
low-power-enable;
74-
};
75-
};
76-
};

0 commit comments

Comments
 (0)