[U-Boot] [PATCH v2 12/28] dts: mtmips: add default pinctrl for uart nodes

Weijie Gao weijie.gao at mediatek.com
Wed Sep 18 02:15:46 UTC 2019


This patch adds default pinctrl for uart nodes

Signed-off-by: Weijie Gao <weijie.gao at 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



More information about the U-Boot mailing list