generic: ar8216: fix unknown packet flooding for ar8229/ar8236
[oweals/openwrt.git] / target / linux / ath79 / dts / qca953x.dtsi
index 669e3fb851ff56d999cb0594296cde4af4c02f74..af85e8482ac1d1c0a1447cc9fcada0bbbdc3044c 100644 (file)
@@ -34,7 +34,7 @@
        ahb {
                apb {
                        ddr_ctrl: memory-controller@18000000 {
-                               compatible = "qca,ar9530-ddr-controller",
+                               compatible = "qca,qca9530-ddr-controller",
                                                "qca,ar7240-ddr-controller";
                                reg = <0x18000000 0x128>;
 
@@ -69,7 +69,7 @@
                        };
 
                        gpio: gpio@18040000 {
-                               compatible = "qca,ar9530-gpio",
+                               compatible = "qca,qca9530-gpio",
                                                "qca,ar9340-gpio";
                                reg = <0x18040000 0x28>;
 
                                        qca,ddr-wb-channels = <&ddr_ctrl 4>, <&ddr_ctrl 3>;
                                };
                        };
+               };
 
-                       pcie0: pcie-controller@180c0000 {
-                               compatible = "qcom,ar7240-pci";
-                               #address-cells = <3>;
-                               #size-cells = <2>;
-                               bus-range = <0x0 0x0>;
-                               reg = <0x180c0000 0x1000>, /* CRP */
-                                     <0x180f0000 0x100>,  /* CTRL */
-                                     <0x14000000 0x1000>; /* CFG */
-                               reg-names = "crp_base", "ctrl_base", "cfg_base";
-                               ranges = <0x2000000 0 0x10000000 0x10000000 0 0x04000000        /* pci memory */
-                                         0x1000000 0 0x00000000 0x0000000 0 0x000001>;         /* io space */
-                               interrupt-parent = <&intc2>;
-                               interrupts = <1>;
-
-                               interrupt-controller;
-                               #interrupt-cells = <1>;
-
-                               interrupt-map-mask = <0 0 0 1>;
-                               interrupt-map = <0 0 0 0 &pcie0 0>;
-                               status = "disabled";
-                       };
+               gmac: gmac@18070000 {
+                       compatible = "qca,ar9330-gmac";
+                       reg = <0x18070000 0x4>;
+               };
 
-                       gmac: gmac@18070000 {
-                               compatible = "qca,ar9330-gmac";
-                               reg = <0x18070000 0x4>;
-                       };
+               pcie0: pcie-controller@180c0000 {
+                       compatible = "qcom,ar7240-pci";
+                       #address-cells = <3>;
+                       #size-cells = <2>;
+                       bus-range = <0x0 0x0>;
+                       reg = <0x180c0000 0x1000>, /* CRP */
+                             <0x180f0000 0x100>,  /* CTRL */
+                             <0x14000000 0x1000>; /* CFG */
+                       reg-names = "crp_base", "ctrl_base", "cfg_base";
+                       ranges = <0x2000000 0 0x10000000 0x10000000 0 0x04000000        /* pci memory */
+                                 0x1000000 0 0x00000000 0x0000000 0 0x000001>;         /* io space */
+                       interrupt-parent = <&intc2>;
+                       interrupts = <1>;
+
+                       resets = <&rst 6>, <&rst 7>;
+                       reset-names = "hc", "phy";
+
+                       interrupt-controller;
+                       #interrupt-cells = <1>;
+
+                       interrupt-map-mask = <0 0 0 1>;
+                       interrupt-map = <0 0 0 0 &pcie0 0>;
+                       status = "disabled";
+               };
 
-                       wmac: wmac@18100000 {
-                               compatible = "qca,qca9530-wmac";
-                               reg = <0x18100000 0x20000>;
+               wmac: wmac@18100000 {
+                       compatible = "qca,qca9530-wmac";
+                       reg = <0x18100000 0x20000>;
 
-                               interrupt-parent = <&intc2>;
-                               interrupts = <0>;
+                       interrupt-parent = <&intc2>;
+                       interrupts = <0>;
 
-                               status = "disabled";
-                       };
+                       status = "disabled";
                };
 
                usb0: usb@1b000000 {
                };
 
                spi: spi@1f000000 {
-                       compatible = "qca,ar9530-spi", "qca,ar7100-spi";
-                       reg = <0x1f000000 0x10>;
+                       compatible = "qca,ar934x-spi";
+                       reg = <0x1f000000 0x1c>;
 
                        clocks = <&pll ATH79_CLK_AHB>;
-                       clock-names = "ahb";
 
                        status = "disabled";
 
                        #address-cells = <1>;
                        #size-cells = <0>;
                };
-
        };
-
 };
 
 &cpuintc {
 
        reset-names = "mac";
        resets = <&rst 9>;
-
-       phy-mode = "mii";
 };
 
-
 &mdio1 {
        status = "okay";
        resets = <&rst 23>;
        builtin-switch;
 
        builtin_switch: switch0@1f {
-               compatible = "qca,ar8229-builtin";
+               compatible = "qca,ar8229";
 
                reg = <0x1f>;
                resets = <&rst 8>;
                reset-names = "switch";
                phy-mode = "gmii";
-               phy4-mii-enable;
+               qca,phy4-mii-enable;
+               qca,mib-poll-interval = <500>;
 
                mdio-bus {
                        #address-cells = <1>;
 &eth1 {
        status = "okay";
 
-       compatible = "qca,qca9530-eth", "syscon", "simple-mfd";
+       compatible = "qca,qca9530-eth", "syscon";
        resets = <&rst 13>;
        reset-names = "mac";