From: Robert Marko Date: Fri, 10 May 2024 13:25:18 +0000 (+0200) Subject: ipq40xx: fixup remaining devices that dont use QCA807x PHY X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dc9220f748d7ed62af5b849bb66e42130e4f14b0;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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@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@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"; };