dts: mtmips: add alternative pinmux node for uart2
authorWeijie Gao <weijie.gao@mediatek.com>
Tue, 21 Apr 2020 07:28:35 +0000 (09:28 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 27 Apr 2020 18:29:33 +0000 (20:29 +0200)
This patch adds a new pinmux for UART2, which shares the pins with SPIS.

Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/mips/dts/mt7628a.dtsi

index 409695b5c710c840626487af838703324ddd9b30..2200135a77b17d50fb9b53a66e2024d6f5faeec4 100644 (file)
                                function = "uart2";
                        };
 
                                function = "uart2";
                        };
 
+                       uart2_pwm_pins: uart2_pwm_pins {
+                               groups = "spis";
+                               function = "pwm_uart2";
+                       };
+
                        i2c_pins: i2c_pins {
                                groups = "i2c";
                                function = "i2c";
                        i2c_pins: i2c_pins {
                                groups = "i2c";
                                function = "i2c";