openwrtv3/target/linux/ramips/dts/WRTNODE2P.dts
Mathias Kresin 28de86e816 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>
2018-08-23 22:40:59 +02:00

30 lines
472 B
Text

/dts-v1/;
#include "WRTNODE2.dtsi"
/ {
compatible = "wrtnode,wrtnode2p", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
model = "WRTnode2P";
aliases {
led-status = &led_indicator;
};
gpio-leds {
compatible = "gpio-leds";
led_indicator: indicator {
label = "wrtnode:blue:indicator";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
};
};
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "i2c", "gpio";
ralink,function = "gpio";
};
};
};