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 601d6c6..90a52fa 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 5581887..303bc40 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 72e6a8d..f6a8582 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 ab1e888..36c23de 100644 (file)
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "i2c", "jtag", "uartf";
                        ralink,function = "gpio";
                };
        };
index 4c8c206..22e2010 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 71bcb1a..7c8cdd2 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 7b67a81..cd1a7a5 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 d27bf01..81cb81f 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 ff5500f..1e99359 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 f9cc1e9..d49470a 100644 (file)
@@ -23,7 +23,7 @@
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "i2c", "gpio", "jtag";
+                       ralink,group = "i2c", "gpio";
                        ralink,function = "gpio";
                };
        };