Skip to content

Commit ecb3859

Browse files
committed
ipq40xx: fritzrepeater-1200: fix MDIO and PHY probing
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: 1b931c3 ("ipq40xx: adapt to new Upstream QCA807x PHY driver") Fixes: openwrt#15355 Link: openwrt/openwrt#15365 Signed-off-by: Robert Marko <[email protected]>
1 parent 918d81a commit ecb3859

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-fritzrepeater-1200.dts

+14-10
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@
2323
status = "okay";
2424
};
2525

26-
mdio@90000 {
27-
status = "okay";
28-
pinctrl-0 = <&mdio_pins>;
29-
pinctrl-names = "default";
30-
31-
ethphy: ethernet-phy@0 {
32-
reg = <0x0>;
33-
};
34-
};
35-
3626
tcsr@1949000 {
3727
compatible = "qcom,tcsr";
3828
reg = <0x1949000 0x100>;
@@ -255,6 +245,16 @@
255245
qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
256246
};
257247

248+
&mdio {
249+
status = "okay";
250+
pinctrl-0 = <&mdio_pins>;
251+
pinctrl-names = "default";
252+
253+
ethphy: ethernet-phy@0 {
254+
reg = <0x0>;
255+
};
256+
};
257+
258258
&gmac {
259259
status = "okay";
260260
};
@@ -273,6 +273,10 @@
273273
phy-mode = "rgmii-id";
274274
};
275275

276+
&qca807x {
277+
status = "disabled";
278+
};
279+
276280
&ethphy1 {
277281
status = "disabled";
278282
};

target/linux/ipq40xx/patches-6.6/709-ARM-dts-qcom-ipq4019-add-QCA8075-PHY-Package-nodes.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Signed-off-by: Christian Marangi <[email protected]>
2121
status = "disabled";
2222

2323
- ethphy0: ethernet-phy@0 {
24-
+ ethernet-phy-package@0 {
24+
+ qca807x: ethernet-phy-package@0 {
2525
+ #address-cells = <1>;
2626
+ #size-cells = <0>;
2727
+ compatible = "qcom,qca8075-package";

0 commit comments

Comments
 (0)