Skip to content

Commit 896c1e3

Browse files
HoZHelkartben
authored andcommitted
boards: st: Add arduino_serial node label for some Nucleo-H7 boards
Add arduino_serial node label and assign appropriate UART pins. Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
1 parent cf1ebf1 commit 896c1e3

File tree

6 files changed

+25
-0
lines changed

6 files changed

+25
-0
lines changed

boards/st/nucleo_h743zi/arduino_r3_connector.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@
3838

3939
arduino_i2c: &i2c1 {};
4040
arduino_spi: &spi1 {};
41+
arduino_serial: &lpuart1 {};

boards/st/nucleo_h743zi/nucleo_h743zi.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,13 @@
110110
d3ppre = <2>;
111111
};
112112

113+
&lpuart1 {
114+
pinctrl-0 = <&lpuart1_tx_pb6 &lpuart1_rx_pb7>;
115+
pinctrl-names = "default";
116+
current-speed = <115200>;
117+
status = "okay";
118+
};
119+
113120
&usart3 {
114121
pinctrl-0 = <&usart3_tx_pd8 &usart3_rx_pd9>;
115122
pinctrl-names = "default";

boards/st/nucleo_h753zi/arduino_r3_connector.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@
3737

3838
arduino_i2c: &i2c1 {};
3939
arduino_spi: &spi1 {};
40+
arduino_serial: &lpuart1 {};

boards/st/nucleo_h753zi/nucleo_h753zi.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,13 @@
108108
d3ppre = <2>;
109109
};
110110

111+
&lpuart1 {
112+
pinctrl-0 = <&lpuart1_tx_pb6 &lpuart1_rx_pb7>;
113+
pinctrl-names = "default";
114+
current-speed = <115200>;
115+
status = "okay";
116+
};
117+
111118
&usart3 {
112119
pinctrl-0 = <&usart3_tx_pd8 &usart3_rx_pd9>;
113120
pinctrl-names = "default";

boards/st/nucleo_h7a3zi_q/arduino_r3_connector.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@
3434
<21 0 &gpiob 8 0>; /* D15 */
3535
};
3636
};
37+
38+
arduino_serial: &lpuart1 {};

boards/st/nucleo_h7a3zi_q/nucleo_h7a3zi_q.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@
9191
d3ppre = <2>;
9292
};
9393

94+
&lpuart1 {
95+
pinctrl-0 = <&lpuart1_tx_pb6 &lpuart1_rx_pb7>;
96+
pinctrl-names = "default";
97+
current-speed = <115200>;
98+
status = "okay";
99+
};
100+
94101
&usart3 {
95102
pinctrl-0 = <&usart3_tx_pd8 &usart3_rx_pd9>;
96103
pinctrl-names = "default";

0 commit comments

Comments
 (0)