ipq40xx: fritzrepeater-1200: fix MDIO and PHY probing
authorRobert Marko <robimarko@gmail.com>
Thu, 2 May 2024 09:37:34 +0000 (11:37 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 2 May 2024 20:09:17 +0000 (22:09 +0200)
AVM FRITZ!Repeater 1200 does not use QCA807x PHY at all and thus it
disables all of the individual PHY nodes, however this is not enough
anymore since the conversion to PHY package.

Now its now enough to disable the PHY-s in the package alone, but the PHY
package node itself must also be disabled.

Fixes: 1b931c33a28e ("ipq40xx: adapt to new Upstream QCA807x PHY driver")
Fixes: #15355
Link: https://github.com/openwrt/openwrt/pull/15365
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-fritzrepeater-1200.dts
target/linux/ipq40xx/patches-6.6/709-ARM-dts-qcom-ipq4019-add-QCA8075-PHY-Package-nodes.patch

index 7d683cdf652dbd6129c99be9a25a7a75f70d6d05..10f21a59473974d63ec4faf94f603a830cc6d914 100644 (file)
                        status = "okay";
                };
 
-               mdio@90000 {
-                       status = "okay";
-                       pinctrl-0 = <&mdio_pins>;
-                       pinctrl-names = "default";
-
-                       ethphy: ethernet-phy@0 {
-                               reg = <0x0>;
-                       };
-               };
-
                tcsr@1949000 {
                        compatible = "qcom,tcsr";
                        reg = <0x1949000 0x100>;
        qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
 };
 
+&mdio {
+       status = "okay";
+       pinctrl-0 = <&mdio_pins>;
+       pinctrl-names = "default";
+
+       ethphy: ethernet-phy@0 {
+               reg = <0x0>;
+       };
+};
+
 &gmac {
        status = "okay";
 };
        phy-mode = "rgmii-id";
 };
 
+&qca807x {
+       status = "disabled";
+};
+
 &ethphy1 {
        status = "disabled";
 };
index 6a37cc1f5edf151423d2aca176dc535954f039d1..50c8e645342ae4d4ac70ace800f719a339d0996e 100644 (file)
@@ -21,7 +21,7 @@ Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
                        status = "disabled";
  
 -                      ethphy0: ethernet-phy@0 {
-+                      ethernet-phy-package@0 {
++                      qca807x: ethernet-phy-package@0 {
 +                              #address-cells = <1>;
 +                              #size-cells = <0>;
 +                              compatible = "qcom,qca8075-package";