mirror of https://github.com/hak5/openwrt.git
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
parent
6118db38b9
commit
4ffed014a3
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "jtag", "rgmii", "mdio";
|
||||
ralink,group = "jtag";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
uartf_gpio {
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
|
||||
ralink,group = "i2c", "jtag", "uartf";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
ralink,group = "i2c", "gpio", "jtag";
|
||||
ralink,group = "i2c", "gpio";
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue