openwrtv3/target/linux/ramips/dts/WRTNODE2R.dts
Mathias Kresin 8f4dfadd5a ramips: add support for indicating the boot state using multiple leds
Use diag.sh version used for other targets supporting different leds
for the different boot states.

The existing led sequences should be the same as before.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-10-07 11:34:18 +02:00

33 lines
579 B
Text

/dts-v1/;
#include "WRTNODE2.dtsi"
/ {
compatible = "wrtnode,wrtnode2r", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
model = "WRTnode2R";
aliases {
led-boot = &led_indicator;
led-failsafe = &led_indicator;
led-running = &led_indicator;
led-upgrade = &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";
};
};
};