[openwrt/openwrt] ipq40xx: remove non-existent ethernet PHY
LEDE Commits
lede-commits at lists.infradead.org
Wed Dec 30 17:41:09 EST 2020
blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f3e45c45cba1a541693da840642b08226653dff4
commit f3e45c45cba1a541693da840642b08226653dff4
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Sun Dec 27 22:56:49 2020 +0100
ipq40xx: remove non-existent ethernet PHY
Since updating the MDIO driver, the probe will fail hard on any
PHY not present on the bus, while this was not the case prior.
Fixes commit 26b1f72381fb ("ipq40xx: net: phy: ar40xx: remove PHY
handling")
Signed-off-by: David Bauer <mail at david-bauer.net>
---
.../files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts | 6 ++++++
.../files/arch/arm/boot/dts/qcom-ipq4029-aruba-glenmorangie.dtsi | 2 ++
2 files changed, 8 insertions(+)
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts
index 3d90fdc286..fd6c5d9aa0 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts
@@ -26,6 +26,12 @@
status = "okay";
pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default";
+
+ /delete-node/ ethernet-phy at 1;
+ /delete-node/ ethernet-phy at 2;
+ /delete-node/ ethernet-phy at 3;
+ /delete-node/ ethernet-phy at 4;
+ /delete-node/ psgmii-phy at 5;
};
tcsr at 1949000 {
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-aruba-glenmorangie.dtsi b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-aruba-glenmorangie.dtsi
index 54ebb0b4b0..9d0823f3ef 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-aruba-glenmorangie.dtsi
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-aruba-glenmorangie.dtsi
@@ -22,9 +22,11 @@
pinctrl-names = "default";
/delete-node/ ethernet-phy at 0;
+ /delete-node/ ethernet-phy at 1;
/delete-node/ ethernet-phy at 2;
/delete-node/ ethernet-phy at 3;
/delete-node/ ethernet-phy at 4;
+ /delete-node/ psgmii-phy at 5;
ethernet-phy at 5 {
reg = <0x5>;
More information about the lede-commits
mailing list