ipq40xx: remove non-existent ethernet PHY
authorDavid Bauer <mail@david-bauer.net>
Sun, 27 Dec 2020 21:56:49 +0000 (22:56 +0100)
committerDavid Bauer <mail@david-bauer.net>
Wed, 30 Dec 2020 22:41:03 +0000 (23:41 +0100)
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@david-bauer.net>
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-aruba-glenmorangie.dtsi

index 3d90fdc28651f72334d62c6561fd5e6fef7cc39f..fd6c5d9aa06f5df33501767681cc9bbdd651f755 100644 (file)
                        status = "okay";
                        pinctrl-0 = <&mdio_pins>;
                        pinctrl-names = "default";
+
+                       /delete-node/ ethernet-phy@1;
+                       /delete-node/ ethernet-phy@2;
+                       /delete-node/ ethernet-phy@3;
+                       /delete-node/ ethernet-phy@4;
+                       /delete-node/ psgmii-phy@5;
                };
 
                tcsr@1949000 {
index 54ebb0b4b0c72ff6e82b0930efdd1a6fdc6262c8..9d0823f3efa5b6f4c2f16e3271eec37d8e36952b 100644 (file)
                        pinctrl-names = "default";
 
                        /delete-node/ ethernet-phy@0;
+                       /delete-node/ ethernet-phy@1;
                        /delete-node/ ethernet-phy@2;
                        /delete-node/ ethernet-phy@3;
                        /delete-node/ ethernet-phy@4;
+                       /delete-node/ psgmii-phy@5;
 
                        ethernet-phy@5 {
                                reg = <0x5>;