oxnas: switch to DTS aliases for LEDs and use generic diag.sh
[openwrt/staging/jogo.git] / target / linux / oxnas / files / arch / arm / boot / dts / ox820-shuttle-kd20.dts
index 2c7bd16a93e9f094f09ec30e4acc9f6659457971..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>;
                };
                };
 
                partition@40000 {
-                       label = "uboot";
+                       label = "u-boot";
                        reg = <0x00040000 0x001e0000>;
                        read-only;
                };
 
                partition@220000 {
-                       label = "uboot_env";
+                       label = "u-boot-env";
                        reg = <0x00220000 0x00020000>;
                };