ath79: dts: drop "simple-mfd" for gmacs in SoC dtsi
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9342_iodata_etg3-r.dts
index a2d442a5dc6d3c7f8d0f9a9360b6b9df184b16b1..9fce43fd4ffc3627e6e53f1ca91fe231269d0a94 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";
 &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 {