ath79: initial tl-wr1043nd v1 support
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9132.dtsi
index 4cc4f04a2e38557f34745113541946f1044fe8c5..f1822e8775cedfa3368b4edb21da73738b062263 100644 (file)
@@ -1,5 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 #include <dt-bindings/clock/ath79-clk.h>
+#include "ath79.dtsi"
 
 / {
        compatible = "qca,ar9132";
                        #address-cells = <1>;
                        #size-cells = <0>;
                };
+
+               wmac: gmac@180c0000 {
+                       compatible = "qca,ar9130-wmac";
+                       reg = <0x180c0000 0x230000>;
+
+                       interrupts = <2>;
+
+                       status = "disabled";
+               };
        };
 
        usb_phy: usb-phy {
                status = "disabled";
        };
 };
+
+&eth0 {
+       compatible = "qca,ar9130-eth", "syscon";
+       reg = <0x19000000 0x200
+               0x18070000 0x4>;
+       pll-data = <0x1a000000 0x13000a44 0x00441099>;
+       pll-reg = <0x4 0x10 17>;
+       pll-handle = <&pll>;
+       resets = <&rst 8>, <&rst 9>;
+       reset-names = "phy", "mac";
+};