ARM: dts: stm32: add usart2 node to stm32mp157c-dk2
authorErwan Le Ray <erwan.leray@st.com>
Thu, 18 Jun 2020 13:06:51 +0000 (15:06 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Tue, 21 Jul 2020 07:54:19 +0000 (09:54 +0200)
Adds the usart2 node to stm32mp157c-dk2 board. usart2 pins are connected
to Bluetooth component. usart2 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/stm32mp157c-dk2.dts

index ffbae4a..0456365 100644 (file)
@@ -21,6 +21,7 @@
                serial0 = &uart4;
                serial1 = &usart3;
                serial2 = &uart7;
+               serial3 = &usart2;
        };
 
        chosen {
                };
        };
 };
+
+&usart2 {
+       pinctrl-names = "default", "sleep", "idle";
+       pinctrl-0 = <&usart2_pins_c>;
+       pinctrl-1 = <&usart2_sleep_pins_c>;
+       pinctrl-2 = <&usart2_idle_pins_c>;
+       status = "disabled";
+};