oxnas: switch to DTS aliases for LEDs and use generic diag.sh
[openwrt/staging/ynezz.git] / target / linux / oxnas / files / arch / arm / boot / dts / ox820-shuttle-kd20.dts
index 1984e446b263fdf4e24e8d1513eea7905e43db88..40960d0f3d52badd4975c6673ef0279c1ec8a3a9 100644 (file)
                serial0 = &uart0;
                gpio0 = &gpio0;
                gpio1 = &gpio1;
+               led-boot = &led_status;
+               led-failsafe = &led_warn;
+               led-running = &led_status;
+               led-upgrade = &led_warn;
        };
 
        i2c-gpio {
 
        leds {
                compatible = "gpio-leds";
-               status {
+               led_status: status {
                        label = "kd20:blue:status";
                        gpios = <&gpio1 16 0>;
                };
-               status2 {
+               led_warn: status2 {
                        label = "kd20:red:status";
                        gpios = <&gpio1 17 0>;
                };