[PATCH v2 13/21] dts: mtmips: add alternative pinmux node for uart2

Weijie Gao weijie.gao at mediatek.com
Fri Jan 17 08:46:00 CET 2020


This patch adds a new pinmux for UART2, which shares the pins with SPIS.

Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
---
Changes since v1: newly added
---
 arch/mips/dts/mt7628a.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi
index 744594c45a..f265cb6ad9 100644
--- a/arch/mips/dts/mt7628a.dtsi
+++ b/arch/mips/dts/mt7628a.dtsi
@@ -93,6 +93,11 @@
 				function = "uart2";
 			};
 
+			uart2_pwm_pins: uart2_pwm_pins {
+				groups = "spis";
+				function = "pwm_uart2";
+			};
+
 			i2c_pins: i2c_pins {
 				groups = "i2c";
 				function = "i2c";
-- 
2.17.1


More information about the U-Boot mailing list