apm821xx: convert to dt based diag LED script
[openwrt/openwrt.git] / target / linux / apm821xx / dts / apollo3g.dtsi
index 783348a6787b6ccfc3e90fc21e7480ae4e1639b4..09a8b8518cbdc60cd6f1c94f5ca64d13e0acd2ef 100644 (file)
 
        aliases {
                serial0 = &UART0;
+               led-boot = &status;
+               led-failsafe = &status;
+               led-running = &status;
+               led-upgrade = &status;
        };
 };
 
        gpio-leds {
                compatible = "gpio-leds";
 
-               power-red {
+               failsafe: power-red {
                        label = "mbl:red:power";
                        gpios = <&GPIO1 4 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "panic";
                };
 
-               power-green {
+               status: power-green {
                        label = "mbl:green:power";
                        gpios = <&GPIO1 5 GPIO_ACTIVE_HIGH>;
                };