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 96966b464706edb963bff00e6365b7d643183493..882cf8810417e94de059cdfbcef477a0d0b98bd6 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 f1593acd93b4593468163db83716557cb19c1c41..5d3c1e3fa45eae3801abefead0a182884fb1aaa3 100644 (file)
                state_default: pinctrl0 {
                };
 
+               ephy_pins: ephy {
+                       ephy {
+                               ralink,group = "ephy";
+                               ralink,function = "ephy";
+                       };
+               };
+
                spi_pins: spi {
                        spi {
                                ralink,group = "spi";
index 3376b9f3a611c3d603aec27bd0f778bc771e34ae..b572f2ae40d14fc29af4c1355427c9e1048aa23f 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 23da1c43ef6a2620b54ff52563a6ce0fb19fae2d..5c69d282a3fc5db664b2172746764a27f613e62a 100644 (file)
                        };
                };
 
+               rgmii_pins: rgmii {
+                       rgmii {
+                               ralink,group = "rgmii";
+                               ralink,function = "rgmii";
+                       };
+               };
+
                uartlite_pins: uartlite {
                        uart {
                                ralink,group = "uartlite";
index a617281b751096319913cddf3f90be72cfc1a6b2..5612458f108d3a0de4b0efa5d9fa51aa8fbd5320 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";