ath79: qca953x: Update dts for current ag71xx driver
[oweals/openwrt.git] / target / linux / ath79 / dts / ar9132.dtsi
index 4a0304998987fde186aa329dffc71a33e721c4ae..d079811fe6ee1bbc42cd8b510299e06585a422d3 100644 (file)
@@ -1,5 +1,6 @@
-// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+// SPDX-License-Identifier: GPL-2.0
 #include <dt-bindings/clock/ath79-clk.h>
+#include "ath79.dtsi"
 
 / {
        compatible = "qca,ar9132";
@@ -7,6 +8,10 @@
        #address-cells = <1>;
        #size-cells = <1>;
 
+       chosen {
+               bootargs = "console=ttyS0,115200";
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                };
+
+               wmac: wmac@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";
+};