ath79: fix PLL settings for QCA955x
authorDavid Bauer <mail@david-bauer.net>
Thu, 9 Aug 2018 14:10:13 +0000 (16:10 +0200)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Thu, 9 Aug 2018 16:24:39 +0000 (17:24 +0100)
This adds PLL settings for the ethernet ports of the TP-Link TL-WR1043
v2/v3 and the Openmesh OM5P-AC-v2.

We also change the PLL-settings in the qca9557.dtsi to match the ones
used as default on the ar71xx target.

As of 4b9680f138 those devices have broken ethernet ports as the default
PLL settings defined in the QCA9557.dtsi are applied which are off for
those devices.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ath79/dts/qca9557.dtsi
target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi

index 992ccff1e77a795274cff21951f24ebd2241cc6a..379e257d021f561e88d518518ebd3c14830cf84e 100644 (file)
        pll-reg = <0 0x28 0>;
        pll-handle = <&pll>;
 
-       pll-data = <0x82000101 0x80000101 0x80001313>;
+       pll-data = <0x16000000 0x00000101 0x00001616>;
        phy-mode = "rgmii";
 
        resets = <&rst 9>;
        pll-reg = <0 0x48 0>;
        pll-handle = <&pll>;
 
-       pll-data = <0x82000101 0x80000101 0x80001313>;
+       pll-data = <0x16000000 0x00000101 0x00001616>;
        phy-mode = "sgmii";
 
        resets = <&rst 13>;
index 097e44b310a51fe4569f42b916d1fbc0b42c8d21..87947181310eb7cf9ed91c9c64f8b064c4ece333 100644 (file)
 &eth0 {
        status = "okay";
 
+       pll-data = <0x82000101 0x80000101 0x80001313>;
+
        phy-handle = <&phy4>;
        phy-mode = "rgmii";
 };
 &eth1 {
        status = "okay";
 
+       pll-data = <0x03000101 0x80000101 0x80001313>;
+
        phy-handle = <&phy1>;
        phy-mode = "sgmii";
 };
index 52041b8d01c878c0e85161a026e3b06d4556b9a7..fb08f867de1073f1f01cd7f03adbb3f78707f7c2 100644 (file)
 &eth0 {
        status = "okay";
 
+       pll-data = <0x56000000 0x00000101 0x00001616>;
+
        mtd-mac-address = <&uboot 0x1fc00>;
        mtd-mac-address-increment = <1>;
        phy-handle = <&phy0>;
 &eth1 {
        status = "okay";
 
+       pll-data = <0x03000101 0x00000101 0x00001616>;
+
        mtd-mac-address = <&uboot 0x1fc00>;
 
        fixed-link {