apm821xx: convert to dt based diag LED script
[oweals/openwrt.git] / target / linux / apm821xx / dts / MR24.dts
index 8d20872c3f1a89ee7d356c68d0f2774e02bb2731..75bb32255c7e1bee5f50f24bd390639e6809ef85 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 = "mr24:green:power";
                        gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
                };
 
-               power-orange {
+               failsafe: power-orange {
                        label = "mr24:orange:power";
                        gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
                };