ARM: DT: stm32f7: add pin control node for serial port pins
And remove the uart pin configuration from board initialization.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
diff --git a/arch/arm/dts/stm32f746-disco.dts b/arch/arm/dts/stm32f746-disco.dts
index 454b515..6734f23 100644
--- a/arch/arm/dts/stm32f746-disco.dts
+++ b/arch/arm/dts/stm32f746-disco.dts
@@ -70,6 +70,12 @@
clock-frequency = <25000000>;
};
+&usart1 {
+ pinctrl-0 = <&usart1_pins_a>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
&mac {
status = "okay";
phy-mode = "rmii";