openwrtv3/target/linux/ramips/dts/WRTNODE2P.dts
Chuanhong Guo c9c4b2116c ramips: Use dts alias based status led
Also fix several typos in led node name.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2018-07-16 15:12:18 +02:00

30 lines
481 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", "jtag";
ralink,function = "gpio";
};
};
};