OSDN Git Service

MIPS: ralink: mt7628a.dtsi: Add pinctrl DT properties to the UART nodes
authorStefan Roese <sr@denx.de>
Mon, 27 May 2019 09:13:18 +0000 (11:13 +0200)
committerPaul Burton <paul.burton@mips.com>
Mon, 24 Jun 2019 21:15:05 +0000 (14:15 -0700)
Now that pinmux is available, let's use it for the UART DT nodes.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Paul Burton <paul.burton@mips.com>
Cc: Harvey Hunt <harveyhuntnexus@gmail.com>
Cc: John Crispin <john@phrozen.org>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
arch/mips/boot/dts/ralink/mt7628a.dtsi

index d87f53b..a239a24 100644 (file)
                        compatible = "ns16550a";
                        reg = <0xc00 0x100>;
 
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinmux_uart0_uart>;
+
                        resets = <&resetc 12>;
                        reset-names = "uart0";
 
                        compatible = "ns16550a";
                        reg = <0xd00 0x100>;
 
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinmux_uart1_uart>;
+
                        resets = <&resetc 19>;
                        reset-names = "uart1";
 
                        compatible = "ns16550a";
                        reg = <0xe00 0x100>;
 
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinmux_uart2_uart>;
+
                        resets = <&resetc 20>;
                        reset-names = "uart2";