ARM: dts: stm32: add uart7 support to stm32mp15xx-dkx boards
authorErwan Le Ray <erwan.leray@st.com>
Thu, 18 Jun 2020 13:06:50 +0000 (15:06 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Tue, 21 Jul 2020 07:54:19 +0000 (09:54 +0200)
Adds uart7 node to stm32mp15xx-dkx and uart7 alias to stm32mp157a-dk1 and
stm32mp157c-dk2 boards. uart7 pins are connected to Arduino connector.
uart7 is disabled by default.

Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp157a-dk1.dts
arch/arm/boot/dts/stm32mp157c-dk2.dts
arch/arm/boot/dts/stm32mp15xx-dkx.dtsi

index 65ee61b7667adb72c9fdbecafd6f47210751e9a6..4c8be9c8eb20e2e25695700b1acce06d0fa556de 100644 (file)
@@ -19,6 +19,7 @@
                ethernet0 = &ethernet0;
                serial0 = &uart4;
                serial1 = &usart3;
+               serial2 = &uart7;
        };
 
        chosen {
index fb690a817e28da299457707f580bc8b80556c347..ffbae4a8753d9d7dc7f731c21438e8453b973f4a 100644 (file)
@@ -20,6 +20,7 @@
                ethernet0 = &ethernet0;
                serial0 = &uart4;
                serial1 = &usart3;
+               serial2 = &uart7;
        };
 
        chosen {
index c562e181c2b1c98e09c028c647993f149d931a58..493f3b1112e1e7c9ca48ee2fb618998b30a427b2 100644 (file)
        status = "okay";
 };
 
+&uart7 {
+       pinctrl-names = "default", "sleep", "idle";
+       pinctrl-0 = <&uart7_pins_c>;
+       pinctrl-1 = <&uart7_sleep_pins_c>;
+       pinctrl-2 = <&uart7_idle_pins_c>;
+       status = "disabled";
+};
+
 &usart3 {
        pinctrl-names = "default", "sleep", "idle";
        pinctrl-0 = <&usart3_pins_c>;