openwrt/target/linux/ramips/dts/WRTNODE2R.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

31 lines
485 B
Plaintext

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