ath79: fix QCA9557 eth PLL settings
[openwrt/staging/chunkeey.git] / target / linux / ath79 / dts / qca9557.dtsi
index 4f797a55430adabe6b25712ada359778fdeab395..992ccff1e77a795274cff21951f24ebd2241cc6a 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>;
 &eth0 {
        compatible = "qca,qca9550-eth", "syscon", "simple-mfd";
 
+       pll-reg = <0 0x28 0>;
+       pll-handle = <&pll>;
+
        pll-data = <0x82000101 0x80000101 0x80001313>;
        phy-mode = "rgmii";
 
 &eth1 {
        compatible = "qca,qca9550-eth", "syscon", "simple-mfd";
 
+       pll-reg = <0 0x48 0>;
+       pll-handle = <&pll>;
+
        pll-data = <0x82000101 0x80000101 0x80001313>;
        phy-mode = "sgmii";