2024-05-20 14:02:17

by Valentin Caron

[permalink] [raw]
Subject: [PATCH 3/3] arm64: dts: st: add usart6 on stm32mp257f-ev1 board

Add node for USART6 on stm32mp257f-ev1 board.

Signed-off-by: Valentin Caron <[email protected]>
---
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
index 27b7360e5dbaf..18c6266532b29 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
@@ -18,6 +18,7 @@ / {

aliases {
serial0 = &usart2;
+ serial1 = &usart6;
};

chosen {
@@ -109,3 +110,12 @@ &usart2 {
pinctrl-2 = <&usart2_sleep_pins_a>;
status = "okay";
};
+
+&usart6 {
+ pinctrl-names = "default", "idle", "sleep";
+ pinctrl-0 = <&usart6_pins_a>;
+ pinctrl-1 = <&usart6_idle_pins_a>;
+ pinctrl-2 = <&usart6_sleep_pins_a>;
+ uart-has-rtscts;
+ status = "disabled";
+};
--
2.25.1