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-mitrastar-stg212.dts
index a2657428968d9f25cb9946777d308042a69bf414..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>;
                };
                copy {
                        label = "zyxel:orange:copy";
                        gpios = <&gpio1 8 1>;
+                       trigger-sources = <&ehci_port1>, <&ehci_port2>;
+                       linux,default-trigger = "usbport";
                };
        };
 
                };
 
                partition@40000 {
-                       label = "uboot";
+                       label = "u-boot";
                        reg = <0x00040000 0x00380000>;
                        read-only;
                };
 
                partition@3c0000 {
-                       label = "uboot_env";
+                       label = "u-boot-env";
                        reg = <0x003c0000 0x00080000>;
                };