diff mbox series

[v3,11/20] dts: mtmips: add alternative pinmux node for uart2

Message ID 1579594746-7117-1-git-send-email-weijie.gao@mediatek.com
State Accepted
Commit df3bad96f35fdf0eeb5ddac87c4fc924c134882d
Headers show
Series Refactor the architecture parts of mt7628 | expand

Commit Message

Weijie Gao Jan. 21, 2020, 8:19 a.m. UTC
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 v2: new patch
---
 arch/mips/dts/mt7628a.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Stefan Roese Jan. 21, 2020, 8:44 a.m. UTC | #1
On 21.01.20 09:19, Weijie Gao wrote:
> 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 v2: new patch

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan
diff mbox series

Patch

diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi
index 409695b5c7..2200135a77 100644
--- a/arch/mips/dts/mt7628a.dtsi
+++ b/arch/mips/dts/mt7628a.dtsi
@@ -110,6 +110,11 @@ 
 				function = "uart2";
 			};
 
+			uart2_pwm_pins: uart2_pwm_pins {
+				groups = "spis";
+				function = "pwm_uart2";
+			};
+
 			i2c_pins: i2c_pins {
 				groups = "i2c";
 				function = "i2c";