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:44:47 +0000 (22:44 +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 afe9fafe9bea385769a43acadbbb93e980824c1c..7355e78ca701986ea05d8f821961cc29b5c66372 100644 (file)
@@ -90,7 +90,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
+                       ralink,group = "i2c", "jtag", "uartf", "led";
                        ralink,function = "gpio";
                };
        };
index a740455ae054900847c3219c296bc45a73a957a5..719608921438a9c932226278a5a78d5ed3fbc5c1 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 12ccd1620d51cf0ee3ca789ce86dfe356ee01648..f4741ea136515a8178986708431dc3967bf4cdd9 100644 (file)
@@ -81,7 +81,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "i2c", "jtag", "uartf";
                        ralink,function = "gpio";
                };
        };
index 9e05b63e98c273db5008748786859fdd6c934159..4dc877cf479945a6e2eacbdb4d54ddce2d69a923 100644 (file)
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "i2c", "jtag", "uartf";
                        ralink,function = "gpio";
                };
        };
index 59dfe4ebd2d04591aa1bf5af1601b39cb81b93b9..457a914179364e134373fbf954201f8a1dd877c7 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 4bf9b57549e296539218f930678aa2352af4fa80..01883f8f724fe7f06d45c498037e432d21d8581d 100644 (file)
@@ -92,7 +92,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "i2c", "jtag", "uartf";
                        ralink,function = "gpio";
                };
        };
index 500fdf97406fb92a29cbc31ba621f1e722828a31..c935f25acc168ec9f9990ac3ccba2993c9dce883 100644 (file)
@@ -45,7 +45,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "i2c", "jtag", "uartf";
                        ralink,function = "gpio";
                };
        };
index 629dab8934c7a9f526b524450b3a39658f5d9283..62c2583f7ac480c1842c4a7c4912e799447304b8 100644 (file)
@@ -52,7 +52,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "jtag", "rgmii", "mdio";
+                       ralink,group = "jtag";
                        ralink,function = "gpio";
                };
                uartf_gpio {
index 3cd48cdeb4919f1fa2d4933dbb664771f47e4b2a..1379a247faa9be7a6f9514a0cb72606118b779f3 100644 (file)
@@ -53,7 +53,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "i2c", "jtag", "uartf";
                        ralink,function = "gpio";
                };
        };
index 53619138b1143631ca9e5c7d0065fbbb2f1620f6..9c5864875fcf406fe363e1c97861a78eeefb883f 100644 (file)
@@ -19,7 +19,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "gpio", "jtag";
+                       ralink,group = "i2c", "gpio";
                        ralink,function = "gpio";
                };
        };