mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
8f4dfadd5a
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>
34 lines
567 B
Plaintext
34 lines
567 B
Plaintext
/dts-v1/;
|
|
|
|
#include "WRTNODE2.dtsi"
|
|
|
|
/ {
|
|
compatible = "wrtnode,wrtnode2p", "wrtnode,wrtnode2", "mediatek,mt7628an-soc";
|
|
model = "WRTnode2P";
|
|
|
|
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 9 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&pinctrl {
|
|
state_default: pinctrl0 {
|
|
gpio {
|
|
ralink,group = "i2c", "gpio";
|
|
ralink,function = "gpio";
|
|
};
|
|
};
|
|
};
|