ath79: use "fixed-layout" for Embedded Wireless devices
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7241.dtsi
index c490476bbd6fb83f53745139418f2335ad917eb8..8d0e60da4024e38c771b74fb9b1dc32904c55d13 100644 (file)
                phys = <&usb_phy>;
 
                status = "disabled";
+
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               hub_port: port@1 {
+                       reg = <1>;
+                       #trigger-source-cells = <0>;
+               };
        };
 };
 
@@ -46,7 +54,6 @@
 
        resets = <&rst 9>;
        reset-names = "mac";
-       phy-mode = "mii";
        phy-handle = <&swphy4>;
 };
 
        builtin-switch;
 
        builtin_switch: switch0@1f {
-               compatible = "qca,ar8216-builtin";
-               #address-cells = <1>;
-               #size-cells = <0>;
+               compatible = "qca,ar7240sw";
 
                reg = <0x1f>;
                resets = <&rst 8>;
                reset-names = "switch";
+               qca,mib-poll-interval = <500>;
 
                mdio-bus {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
                        swphy4: ethernet-phy@4 {
                                reg = <4>;
                                phy-mode = "mii";
@@ -76,7 +85,9 @@
 };
 
 &eth1 {
-       compatible = "qca,ar7241-eth", "syscon", "simple-mfd";
+       status = "okay";
+
+       compatible = "qca,ar7241-eth", "syscon";
 
        pll-data = <0x00110000 0x00001099 0x00991099>;