[U-Boot] [PATCH 09/26] dts: mtmips: add default pinctrl for uart nodes

Weijie Gao weijie.gao at mediatek.com
Wed Aug 28 06:37:54 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 be9ab50931..f07de1b611 100644
--- a/arch/mips/dts/mt7628a.dtsi
+++ b/arch/mips/dts/mt7628a.dtsi
@@ -277,6 +277,9 @@
 			compatible = "mediatek,hsuart", "ns16550a";
 			reg = <0xc00 0x100>;
 
+			pinctrl-names = "default";
+			pinctrl-0 = <&uart0_pins>;
+
 			clock-frequency = <40000000>;
 
 			resets = <&resetc 12>;
@@ -292,6 +295,9 @@
 			compatible = "mediatek,hsuart", "ns16550a";
 			reg = <0xd00 0x100>;
 
+			pinctrl-names = "default";
+			pinctrl-0 = <&uart1_pins>;
+
 			clock-frequency = <40000000>;
 
 			resets = <&resetc 19>;
@@ -307,6 +313,9 @@
 			compatible = "mediatek,hsuart", "ns16550a";
 			reg = <0xe00 0x100>;
 
+			pinctrl-names = "default";
+			pinctrl-0 = <&uart2_pins>;
+
 			clock-frequency = <40000000>;
 
 			resets = <&resetc 20>;
-- 
2.17.1



More information about the U-Boot mailing list