ath79: Add missing reset button for TP-Link CPE210 v2 and v3
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9331_tplink_tl-mr3020-v1.dts
index 684f092b3d133fb96daba45b52d5feeebedaf0a6..9182374235a8b85a79cff075f85fdda9e378962e 100644 (file)
 
        aliases {
                serial0 = &uart;
-               led-status = &system;
+               led-boot = &system;
+               led-failsafe = &system;
+               led-running = &system;
+               led-upgrade = &system;
        };
 
        leds {
                wlan {
                        label = "tp-link:green:wlan";
                        gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
-                       default-state = "off";
                        linux,default-trigger = "phy0tpt";
                };
 
                lan {
                        label = "tp-link:green:lan";
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
 
                system: wps {
                        label = "tp-link:green:wps";
                        gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
 
                led3g {
                        label = "tp-link:green:3g";
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        trigger-sources = <&hub_port>;
                        linux,default-trigger = "usbport";
                };
@@ -48,8 +47,6 @@
 
        keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                button0 {
                        label = "reset";
@@ -98,6 +95,8 @@
 };
 
 &usb {
+       #address-cells = <1>;
+       #size-cells = <0>;
        dr_mode = "host";
        vbus-supply = <&reg_usb_vbus>;
        status = "okay";
 
        /* Spansion S25FL032PIF SPI flash */
        flash@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                spi-max-frequency = <104000000>;
                reg = <0>;
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x3c0000>;
                        };