ramips: drop not existing groups from pinmux

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>
openwrt-18.06
Mathias Kresin 2018-08-22 06:26:36 +02:00
parent 6118db38b9
commit 4ffed014a3
10 changed files with 10 additions and 10 deletions

View 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";
};
};

View 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";
};
};

View 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";
};
};

View File

@ -103,7 +103,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
};

View 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";
};
};

View 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";
};
};

View 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";
};
};

View File

@ -52,7 +52,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "jtag", "rgmii", "mdio";
ralink,group = "jtag";
ralink,function = "gpio";
};
uartf_gpio {

View 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";
};
};

View File

@ -19,7 +19,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "gpio", "jtag";
ralink,group = "i2c", "gpio";
ralink,function = "gpio";
};
};