This patch adds default pinctrl for uart nodes

Signed-off-by: Weijie Gao <weijie....@mediatek.com>
---
 arch/mips/dts/mt7628a.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi
index 8afea1865d..44fbbd5b25 100644
--- a/arch/mips/dts/mt7628a.dtsi
+++ b/arch/mips/dts/mt7628a.dtsi
@@ -286,6 +286,9 @@
                        compatible = "mediatek,hsuart", "ns16550a";
                        reg = <0xc00 0x100>;
 
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart0_pins>;
+
                        clocks = <&clkctrl CLK_UART0>;
 
                        resets = <&resetc 12>;
@@ -301,6 +304,9 @@
                        compatible = "mediatek,hsuart", "ns16550a";
                        reg = <0xd00 0x100>;
 
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart1_pins>;
+
                        clocks = <&clkctrl CLK_UART1>;
 
                        resets = <&resetc 19>;
@@ -316,6 +322,9 @@
                        compatible = "mediatek,hsuart", "ns16550a";
                        reg = <0xe00 0x100>;
 
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart2_pins>;
+
                        clocks = <&clkctrl CLK_UART2>;
 
                        resets = <&resetc 20>;
-- 
2.17.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to