ramips: express diag led handling via devicetree
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / DCH-M225.dts
index 1e32c6d19482e94e294df10da0dc2453779e98db..b2184369299a7f4061f89d766254d8ed139951cc 100644 (file)
                led_power: power {
                        label = "dch-m225:green:power";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
                led_power: power {
                        label = "dch-m225:green:power";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
+                       default-state = "on";
                };
 
                status {
                        label = "dch-m225:red:status";
                        gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
                };
 
                status {
                        label = "dch-m225:red:status";
                        gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
                };
        };
 
                };
        };