apm821xx: convert to dt based diag LED script
[openwrt/openwrt.git] / target / linux / apm821xx / dts / MX60.dts
index 4ec0043f32583396c3930a2643e0d759613c6020..6c753639b2d65df9b8a2cea875436ccf73b09553 100644 (file)
 
        aliases {
                serial0 = &UART1;
+               led-boot = &status;
+               led-failsafe = &failsafe;
+               led-running = &status;
+               led-upgrade = &status;
        };
 
        chosen {
        gpio-leds {
                compatible = "gpio-leds";
 
-               power-green {
+               status: power-green {
                        label = "mx60:green:power";
                        gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
                };
 
-               power-orange {
+               failsafe: power-orange {
                        label = "mx60:orange:power";
                        gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
                };