ath79: Make upstream ag71xx driver work
[oweals/openwrt.git] / target / linux / ath79 / dts / ar9132_tplink_tl-wr1043nd-v1.dts
index 58fc8a583296e0f8c6d570a8070c0060808dc0c9..846e517de8a23a61270dda35e95265ad28aadcd4 100644 (file)
@@ -8,10 +8,14 @@
 
 / {
        compatible = "tplink,tl-wr1043nd-v1", "qca,ar9132";
-       model = "TP-Link TL-WR1043ND Version 1";
+       model = "TP-Link TL-WR1043ND v1";
 
        aliases {
-               led-status = &system;
+               led-boot = &led_system;
+               led-failsafe = &led_system;
+               led-running = &led_system;
+               led-upgrade = &led_system;
+               label-mac-device = &eth0;
        };
 
        extosc: ref {
        keys {
                compatible = "gpio-keys";
 
-               button0 {
+               reset {
                        label = "reset";
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                        debounce-interval = <60>;
                };
 
-               button1 {
+               qss {
                        label = "qss";
                        linux,code = <KEY_WPS_BUTTON>;
                        gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
 
        leds {
                compatible = "gpio-leds";
+
                usb {
                        label = "tp-link:green:usb";
                        gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        trigger-sources = <&hub_port>;
                        linux,default-trigger = "usbport";
                };
 
-               system: system {
+               led_system: system {
                        label = "tp-link:green:system";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "heartbeat";
@@ -62,7 +66,6 @@
                wlan {
                        label = "tp-link:green:wlan";
                        gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                        linux,default-trigger = "phy0tpt";
                };
        };
 
 &spi {
        status = "okay";
+
        num-cs = <1>;
 
        flash@0 {
                        };
 
                        partition@20000 {
+                               compatible = "tplink,firmware";
                                label = "firmware";
                                reg = <0x020000 0x7D0000>;
                        };
        phy-mode = "rgmii";
        mtd-mac-address = <&uboot 0x1fc00>;
 
-       resets = <&rst 9>;
-       reset-names = "mac";
-
        fixed-link {
                speed = <1000>;
                full-duplex;
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&uboot 0x1fc00>;
 };