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:
parent
6b13238a13
commit
28de86e816
10 changed files with 10 additions and 10 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "jtag", "rgmii", "mdio";
|
||||
ralink,group = "jtag";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
uartf_gpio {
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "gpio", "jtag";
|
||||
ralink,group = "i2c", "gpio";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue