ramips: add support for indicating the boot state using multiple leds
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / VOCORE.dtsi
index 4c4522710edf9887c4a42cc20d9e3145f2bbdc2f..cee7e38ca8500ad9c99ad283163185c562f88fd8 100644 (file)
@@ -5,6 +5,13 @@
 / {
        compatible = "vocore,vocore", "ralink,rt5350-soc";
 
+       aliases {
+               led-boot = &led_status;
+               led-failsafe = &led_status;
+               led-running = &led_status;
+               led-upgrade = &led_status;
+       };
+
        gpio-export {
                compatible = "gpio-export";
                #size-cells = <0>;
        gpio-leds {
                compatible = "gpio-leds";
 
-               status {
+               led_status: status {
                        /* UARTF_RXD */
                        label = "vocore:green:status";
                        gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;