ramips: drop not existing groups from pinmux
authorMathias Kresin <dev@kresin.me>
Wed, 22 Aug 2018 04:26:36 +0000 (06:26 +0200)
committerMathias Kresin <dev@kresin.me>
Thu, 23 Aug 2018 20:40:59 +0000 (22:40 +0200)
RT5350 neither have rgmii nor a mdio pinmux group. MT7628an doesn't
have a jtag group. Having these groups defined might cause a boot
panic.

The pin controller fails to initialise for kernels > 4.9 if invalid
groups are used. If a subsystem references a pin controller
configuration node, it can not find this node and errors out. In worst
case it's the SPI driver which errors out and we have no root
filesystem to mount.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ramips/dts/3G150B.dts
target/linux/ramips/dts/ALL5003.dts
target/linux/ramips/dts/DIR-300-B7.dts
target/linux/ramips/dts/DIR-320-B1.dts
target/linux/ramips/dts/MPRA1.dts
target/linux/ramips/dts/MPRA2.dts
target/linux/ramips/dts/NCS601W.dts
target/linux/ramips/dts/RT5350F-OLINUXINO.dtsi
target/linux/ramips/dts/WIZARD8800.dts
target/linux/ramips/dts/WRTNODE2P.dts

index 601d6c6b32d60dad9cd4be54df06680878116203..90a52fa8bcc77ff52eb65a468e8166ba0f516e6a 100644 (file)
@@ -96,7 +96,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
+                       ralink,group = "i2c", "jtag", "uartf", "led";
                        ralink,function = "gpio";
                };
        };
index 55818874daa9d7ce8bd55cedca7d0f49c57e5cee..303bc4068eeab14063875a3f676317d8317118df 100644 (file)
@@ -91,7 +91,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "i2c", "jtag", "uartf";
                        ralink,function = "gpio";
                };
        };
index 72e6a8dd6d2714d344e137a71bda7a42f90b7841..f6a8582501babdb9d05e9acab60dfe839b138429 100644 (file)
@@ -87,7 +87,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "i2c", "jtag", "uartf";
                        ralink,function = "gpio";
                };
        };
index ab1e888a0df58cfdd1d600eb5d5c67253fc46d5d..36c23de08a096de435abe1ec524a3582fe25f0c6 100644 (file)
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "i2c", "jtag", "uartf";
                        ralink,function = "gpio";
                };
        };
index 4c8c2064b71bef8d04fbf167e23de5777dd9035f..22e2010e278ae45f98413298fb8b7464ae469f74 100644 (file)
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
+                       ralink,group = "i2c", "jtag", "uartf", "led";
                        ralink,function = "gpio";
                };
        };
index 71bcb1a016a4a7a0d333942b43c2357d69b64bc1..7c8cdd2eb3824641b544a935d97dbab9c5d8797a 100644 (file)
@@ -98,7 +98,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "i2c", "jtag", "uartf";
                        ralink,function = "gpio";
                };
        };
index 7b67a81cb9fd71ba48c210a9c15154e792136bab..cd1a7a53429729bcb5d2f568ee067c0d23f6914d 100644 (file)
@@ -49,7 +49,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "i2c", "jtag", "uartf";
                        ralink,function = "gpio";
                };
        };
index d27bf017a9f836842ffbf149b8088f9abb26de41..81cb81fb269ca2a133fc84970c69eb432042aca3 100644 (file)
@@ -56,7 +56,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "jtag", "rgmii", "mdio";
+                       ralink,group = "jtag";
                        ralink,function = "gpio";
                };
                uartf_gpio {
index ff5500f021e61521cc9db9e7a8527dcd87ddcd73..1e99359e3359854ce99602a0638d51ea90d1bcca 100644 (file)
@@ -57,7 +57,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "i2c", "jtag", "uartf";
                        ralink,function = "gpio";
                };
        };
index f9cc1e97f2849dcda9150dddaaf0e3f26a54ea80..d49470afbc6f05b0a5e20831983a7c7048a1fdfe 100644 (file)
@@ -23,7 +23,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "gpio", "jtag";
+                       ralink,group = "i2c", "gpio";
                        ralink,function = "gpio";
                };
        };