ath79: add support for TP-Link WDR3500 v1
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9342_iodata_etg3-r.dts
index f674cf46d177416301f4196b40921cd19eb6252b..bd2489aa2820c8fad0a98d799d173aff8086f3bb 100644 (file)
@@ -29,7 +29,6 @@
                notification {
                        label = "etg3-r:green:notification";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
-                       default-state = "off";
                };
        };
 
        };
 };
 
+&ref {
+       clock-frequency = <40000000>;
+};
+
 &spi {
        num-cs = <1>;
        status = "okay";
@@ -72,6 +75,7 @@
                        };
 
                        partition@50000 {
+                               compatible = "denx,uimage";
                                label = "firmware";
                                reg = <0x050000 0x780000>;
                        };
@@ -89,7 +93,7 @@
                        };
 
                        partition@7f0000 {
-                               label = "ART";
+                               label = "art";
                                reg = <0x7f0000 0x010000>;
                                read-only;
                        };
 &eth0 {
        status = "okay";
 
-       pll-data = <0x06000000 0x00000101 0x00001616>;
+       pll-data = <0x0e000000 0x00000101 0x00001616>;
 
        phy-mode = "rgmii";
        phy-handle = <&phy0>;
+
+       gmac-config {
+               device = <&gmac>;
+
+               rgmii-gmac0 = <1>;
+               rxd-delay = <3>;
+               rxdv-delay = <3>;
+       };
 };
 
 &uart {