oxnas: switch to DTS aliases for LEDs and use generic diag.sh
[openwrt/staging/blogic.git] / target / linux / oxnas / files / arch / arm / boot / dts / ox820-mitrastar-stg212.dts
index b3282acc727a3cef1c4d02347ca1dbcf3d7d56bc..4610aab88344e9a752b42febb3bf779bf1bd2acc 100644 (file)
                serial0 = &uart0;
                gpio0 = &gpio0;
                gpio1 = &gpio1;
+               led-boot = &led_status;
+               led-failsafe = &led_warn;
+               led-running = &led_status;
+               led-upgrade = &led_warn;
        };
 
        keys {
 
        leds {
                compatible = "gpio-leds";
-               status {
+               led_status: status {
                        label = "zyxel:blue:status";
                        gpios = <&gpio1 5 0>;
                };
-               status2 {
+               led_warn: status2 {
                        label = "zyxel:red:status";
                        gpios = <&gpio1 6 1>;
                };