ramips: express diag led handling via devicetree
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / PBR-M1.dts
index 3996048..537e5f2 100644 (file)
@@ -10,7 +10,7 @@
        model = "PBR-M1";
 
        aliases {
-               led-status = &led_power;
+               led-status = &led_sys;
        };
 
        memory@0 {
        gpio-leds {
                compatible = "gpio-leds";
 
-               led_power: power {
+               power {
                        label = "pbr-m1:blue:power";
                        gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
+                       default-state = "on";
                };
 
-               sys {
+               led_sys: sys {
                        label = "pbr-m1:blue:sys";
                        gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
                };