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>
This commit is contained in:
Mathias Kresin 2018-08-22 06:26:36 +02:00
parent 6b13238a13
commit 28de86e816
10 changed files with 10 additions and 10 deletions

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

@ -91,7 +91,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,group = "i2c", "jtag", "uartf";
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

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

View File

@ -102,7 +102,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

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

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

View File

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

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

View File

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