ramips: add support for indicating the boot state using multiple leds
[openwrt/openwrt.git] / target / linux / ramips / dts / U7621-06.dtsi
index 0502904bd02441a3f72fa7527c20802ffd5de9cb..2bfd4d71f4c90d986c65683ca0f2707a34fe6347 100644 (file)
 / {
        compatible = "unielec,u7621-06", "mediatek,mt7621-soc";
 
+       aliases {
+               led-boot = &led_status;
+               led-failsafe = &led_status;
+               led-running = &led_status;
+               led-upgrade = &led_status;
+       };
+
        chosen {
                bootargs = "console=ttyS0,115200";
        };
@@ -57,8 +64,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {
@@ -71,7 +76,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               status {
+               led_status: status {
                        label = "u7621-06:green:status";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
@@ -94,8 +99,6 @@
 
 &sdhci {
        status = "okay";
-       pinctrl-names = "default";
-       pinctrl-0 = <&sdhci_pins>;
 };
 
 &pcie {