[openwrt/openwrt] ipq40xx: fixup remaining devices that dont use QCA807x PHY
LEDE Commits
lede-commits at lists.infradead.org
Sun May 12 01:56:20 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/dc9220f748d7ed62af5b849bb66e42130e4f14b0
commit dc9220f748d7ed62af5b849bb66e42130e4f14b0
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Fri May 10 15:25:18 2024 +0200
ipq40xx: fixup remaining devices that dont use QCA807x PHY
Like AVM 1200 these devices also do not use QCA807x PHY at all and thus
they 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")
Link: https://github.com/openwrt/openwrt/pull/15444
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
.../arch/arm/boot/dts/qcom/qcom-ipq4019-lhgg-60ad.dts | 14 +++++++++++++-
.../arm/boot/dts/qcom/qcom-ipq4029-aruba-glenmorangie.dtsi | 4 ++++
.../arch/arm/boot/dts/qcom/qcom-ipq4029-insect-common.dtsi | 14 +++++++++++++-
3 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-lhgg-60ad.dts b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-lhgg-60ad.dts
index b3eb610b32..a5b55ff421 100644
--- a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-lhgg-60ad.dts
+++ b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-lhgg-60ad.dts
@@ -243,6 +243,18 @@
&mdio {
status = "okay";
+
+ ar8035: ethernet-phy at 0 {
+ reg = <0>;
+ };
+};
+
+&qca807x {
+ status = "disabled";
+};
+
+ðphy0 {
+ status = "disabled";
};
ðphy1 {
@@ -279,6 +291,6 @@
status = "okay";
label = "lan";
- phy-handle = <ðphy0>;
+ phy-handle = <&ar8035>;
phy-mode = "rgmii-id";
};
diff --git a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-aruba-glenmorangie.dtsi b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-aruba-glenmorangie.dtsi
index 8c56c7d2f1..7f8f9be795 100644
--- a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-aruba-glenmorangie.dtsi
+++ b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-aruba-glenmorangie.dtsi
@@ -232,6 +232,10 @@
phy-mode = "rgmii-id";
};
+&qca807x {
+ status = "disabled";
+};
+
ðphy0 {
status = "disabled";
};
diff --git a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-insect-common.dtsi b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-insect-common.dtsi
index da22d4a671..3637b96d24 100644
--- a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-insect-common.dtsi
+++ b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-insect-common.dtsi
@@ -401,6 +401,10 @@
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
+
+ ar8035: ethernet-phy at 1 {
+ reg = <1>;
+ };
};
&gmac {
@@ -419,14 +423,22 @@
status = "okay";
label = "lan";
- phy-handle = <ðphy1>;
+ phy-handle = <&ar8035>;
phy-mode = "rgmii-rxid";
};
+&qca807x {
+ status = "disabled";
+};
+
ðphy0 {
status = "disabled";
};
+ðphy1 {
+ status = "disabled";
+};
+
ðphy2 {
status = "disabled";
};
More information about the lede-commits
mailing list