]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dts: mtmips: add default pinctrl for uart nodes
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 25 Sep 2019 09:45:28 +0000 (17:45 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 25 Oct 2019 15:20:44 +0000 (17:20 +0200)
This patch adds default pinctrl for uart nodes

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/mips/dts/mt7628a.dtsi

index 8afea1865defd0427564ed07965913b466bf440f..44fbbd5b25f065d9b362483a6cce7fa694e8625a 100644 (file)
                        compatible = "mediatek,hsuart", "ns16550a";
                        reg = <0xc00 0x100>;
 
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart0_pins>;
+
                        clocks = <&clkctrl CLK_UART0>;
 
                        resets = <&resetc 12>;
                        compatible = "mediatek,hsuart", "ns16550a";
                        reg = <0xd00 0x100>;
 
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart1_pins>;
+
                        clocks = <&clkctrl CLK_UART1>;
 
                        resets = <&resetc 19>;
                        compatible = "mediatek,hsuart", "ns16550a";
                        reg = <0xe00 0x100>;
 
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart2_pins>;
+
                        clocks = <&clkctrl CLK_UART2>;
 
                        resets = <&resetc 20>;