treewide: dts: Remove default-state=off property from all gpio LED nodes
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7242_tplink_tl-wr2543-v1.dts
index d7bb406ab099dd8ed63e88ed33f139a4b8fc3bbe..33778504169592ea714eaa9b7445c749494f1e85 100644 (file)
        model = "TP-LINK TL-WR2543N/ND";
 
        aliases {
-               led-status = &system;
+               led-boot = &system;
+               led-failsafe = &system;
+               led-running = &system;
+               led-upgrade = &system;
        };
 
        chosen {
@@ -26,8 +29,6 @@
 
        gpio-keys {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {
                system: wps {
                        label = "tplink:green:wps";
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
 
                usb {
                        label = "tplink:green:usb";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        trigger-sources = <&hub_port>;
                        linux,default-trigger = "usbport";
                };
                wlan2g {
                        label = "tplink:green:wlan2g";
                        gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5g {
                        label = "tplink:green:wlan5g";
                        gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        linux,default-trigger = "phy0tpt";
                };
-
        };
 
        rtl8367 {
@@ -89,6 +85,8 @@
                realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
 
                mdio-bus {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
                        status = "okay";
 
                        phy0: ethernet-phy@0 {
        num-cs = <1>;
 
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <25000000>;
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x7d0000>;
                        };
 };
 
 &usb {
+       #address-cells = <1>;
+       #size-cells = <0>;
        status = "okay";
 
        hub_port: port@1 {
 &pcie {
        status = "okay";
 
-       ath9k: wifi@0 {
+       ath9k: wifi@0,0 {
                reg = <0x0000 0 0 0 0>;
                #gpio-cells = <2>;
                gpio-controller;