ramips: add missing pinmuxes to SoC dtsi
authorMathias Kresin <dev@kresin.me>
Sat, 18 Nov 2017 09:51:07 +0000 (10:51 +0100)
committerMathias Kresin <dev@kresin.me>
Wed, 22 Nov 2017 07:21:52 +0000 (08:21 +0100)
Add pinmuxes defined by some board which are including the dtsi files
to the dtsi files itself. Allows to reduce duplication.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7620n.dtsi
target/linux/ramips/dts/mt7628an.dtsi
target/linux/ramips/dts/rt3050.dtsi
target/linux/ramips/dts/rt3352.dtsi

index 96966b4..882cf88 100644 (file)
                        };
                };
 
+               mdio_refclk_pins: mdio_refclk {
+                       mdio_refclk {
+                               ralink,group = "mdio";
+                               ralink,function = "refclk";
+                       };
+               };
+
                ephy_pins: ephy {
                        ephy {
                                ralink,group = "ephy";
                                ralink,function = "pcie rst";
                        };
                };
+
+               pa_pins: pa {
+                       pa {
+                               ralink,group = "pa";
+                               ralink,function = "pa";
+                       };
+               };
        };
 
        rstctrl: rstctrl {
index f1593ac..5d3c1e3 100644 (file)
                state_default: pinctrl0 {
                };
 
+               ephy_pins: ephy {
+                       ephy {
+                               ralink,group = "ephy";
+                               ralink,function = "ephy";
+                       };
+               };
+
                spi_pins: spi {
                        spi {
                                ralink,group = "spi";
index 3376b9f..b572f2a 100644 (file)
                        };
                };
 
+               i2s_pins: i2s {
+                       i2s {
+                               ralink,group = "i2s";
+                               ralink,function = "i2s";
+                       };
+               };
+
                uart0_pins: uartlite {
                        uartlite {
                                ralink,group = "uart0";
                        };
                };
 
-               pcm_i2s_pins: i2s {
-                       i2s {
+               pcm_i2s_pins: pcm_i2s {
+                       pcm_i2s {
                                ralink,group = "i2s";
                                ralink,function = "pcm";
                        };
                };
+
+               refclk_pins: refclk {
+                       refclk {
+                               ralink,group = "refclk";
+                               ralink,function = "refclk";
+                       };
+               };
        };
 
        rstctrl: rstctrl {
index 23da1c4..5c69d28 100644 (file)
                        };
                };
 
+               rgmii_pins: rgmii {
+                       rgmii {
+                               ralink,group = "rgmii";
+                               ralink,function = "rgmii";
+                       };
+               };
+
                uartlite_pins: uartlite {
                        uart {
                                ralink,group = "uartlite";
index a617281..5612458 100644 (file)
                        };
                };
 
+               mdio_pins: mdio {
+                       mdio {
+                               ralink,group = "mdio";
+                               ralink,function = "mdio";
+                       };
+               };
+
+               rgmii_pins: rgmii {
+                       rgmii {
+                               ralink,group = "rgmii";
+                               ralink,function = "rgmii";
+                       };
+               };
+
                spi_pins: spi {
                        spi {
                                ralink,group = "spi";