ath79: fix PLL settings for QCA955x
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9557.dtsi
index 802f2da7259be91e30d750e69e02459d627d3035..379e257d021f561e88d518518ebd3c14830cf84e 100644 (file)
@@ -53,7 +53,7 @@
                                status = "disabled";
                        };
 
-                       usb_phy0: usb-phy@18030000 {
+                       usb_phy0: usb-phy0 {
                                compatible ="qca,qca9550-usb-phy", "qca,ar7200-usb-phy";
 
                                reset-names = "usb-phy", "usb-suspend-override";
@@ -64,7 +64,7 @@
                                status = "disabled";
                        };
 
-                       usb_phy1: usb-phy {
+                       usb_phy1: usb-phy1 {
                                compatible = "qca,qca9550-usb-phy", "qca,ar7200-usb-phy";
 
                                reset-names = "usb-phy", "usb-suspend-override";
 
                        pll: pll-controller@18050000 {
                                compatible = "qca,ar9557-pll",
-                                               "qca,qca9550-pll";
+                                               "qca,qca9550-pll", "syscon";
                                reg = <0x18050000 0x50>;
 
                                #clock-cells = <1>;
                                #reset-cells = <1>;
                                interrupt-parent = <&cpuintc>;
 
-                               intc2: interrupt-controller@2 {
+                               intc2: interrupt-controller2 {
                                        compatible = "qca,ar9340-intc";
 
                                        interrupt-parent = <&cpuintc>;
                                                        <0x1f0>;        /* pcie rc 0 */
                                };
 
-                               intc3: interrupt-controller@3 {
+                               intc3: interrupt-controller3 {
                                        compatible = "qca,ar9340-intc";
 
                                        interrupt-parent = <&cpuintc>;
                                status = "disabled";
                        };
 
+                       gmac: gmac@18070000 {
+                               compatible = "qca,qca9550-gmac";
+                               reg = <0x18070000 0x14>;
+                       };
+
                        wmac: wmac@18100000 {
                                compatible = "qca,qca9550-wmac";
                                reg = <0x18100000 0x10000>;
 };
 
 &eth0 {
-       compatible = "qca,qca9550-eth", "syscon";
+       compatible = "qca,qca9550-eth", "syscon", "simple-mfd";
 
-       pll-data = <0x82000101 0x80000101 0x80001313>;
+       pll-reg = <0 0x28 0>;
+       pll-handle = <&pll>;
+
+       pll-data = <0x16000000 0x00000101 0x00001616>;
        phy-mode = "rgmii";
 
        resets = <&rst 9>;
 };
 
 &eth1 {
-       compatible = "qca,qca9550-eth", "syscon";
+       compatible = "qca,qca9550-eth", "syscon", "simple-mfd";
+
+       pll-reg = <0 0x48 0>;
+       pll-handle = <&pll>;
 
-       pll-data = <0x82000101 0x80000101 0x80001313>;
+       pll-data = <0x16000000 0x00000101 0x00001616>;
        phy-mode = "sgmii";
 
        resets = <&rst 13>;