From: Robert Marko Date: Wed, 8 Dec 2021 13:44:05 +0000 (+0100) Subject: ipq40xx: disable nodes instead of deleting them X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ccd08ef9128342b66fe4801b74c56e8e275f7f0a;p=openwrt%2Fstaging%2Fwigyori.git ipq40xx: disable nodes instead of deleting them There is no reason to delete the DT PHY nodes as you can just disable them. Signed-off-by: Robert Marko --- diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-magic-2-wifi-next.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-magic-2-wifi-next.dts index f1bd88f942..29d51aa9e1 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-magic-2-wifi-next.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-magic-2-wifi-next.dts @@ -24,9 +24,6 @@ pinctrl-names = "default"; reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>; reset-delay-us = <2000>; - - /delete-node/ ethernet-phy@0; - /delete-node/ ethernet-phy@1; }; crypto@8e3a000 { @@ -152,6 +149,14 @@ status = "okay"; }; +ðphy0 { + status = "disabled"; +}; + +ðphy1 { + status = "disabled"; +}; + &wifi0 { status = "okay"; qcom,ath10k-calibration-variant = "devolo,magic-2-wifi-next"; diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts index ed9996f097..2407698fe1 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wrtq-329acn.dts @@ -47,10 +47,6 @@ mdio@90000 { status = "okay"; - - /delete-node/ ethernet-phy@0; - /delete-node/ ethernet-phy@1; - /delete-node/ ethernet-phy@3; }; tcsr@1949000 { @@ -256,6 +252,18 @@ status = "okay"; }; +ðphy0 { + status = "disabled"; +}; + +ðphy1 { + status = "disabled"; +}; + +ðphy3 { + status = "disabled"; +}; + &wifi0 { status = "okay"; nvmem-cell-names = "pre-calibration"; 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 459f4a3384..20b981a372 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,12 +26,6 @@ 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 { @@ -243,6 +237,30 @@ status = "okay"; }; +ðphy0 { + status = "disabled"; +}; + +ðphy1 { + status = "disabled"; +}; + +ðphy2 { + status = "disabled"; +}; + +ðphy3 { + status = "disabled"; +}; + +ðphy4 { + status = "disabled"; +}; + +&psgmiiphy { + status = "disabled"; +}; + &wifi0 { status = "okay"; qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200"; diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-lhgg-60ad.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-lhgg-60ad.dts index a91a7fae17..c208bf33ee 100644 --- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-lhgg-60ad.dts +++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-lhgg-60ad.dts @@ -47,12 +47,6 @@ mdio@90000 { status = "okay"; - - /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; }; counter@4a1000 { @@ -247,3 +241,23 @@ }; }; }; + +ðphy1 { + status = "disabled"; +}; + +ðphy2 { + status = "disabled"; +}; + +ðphy3 { + status = "disabled"; +}; + +ðphy4 { + status = "disabled"; +}; + +&psgmiiphy { + status = "disabled"; +}; 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 da2067454c..0925561ed0 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 @@ -21,13 +21,6 @@ pinctrl-0 = <&mdio_pins>; 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>; }; @@ -221,6 +214,30 @@ }; }; +ðphy0 { + status = "disabled"; +}; + +ðphy1 { + status = "disabled"; +}; + +ðphy2 { + status = "disabled"; +}; + +ðphy3 { + status = "disabled"; +}; + +ðphy4 { + status = "disabled"; +}; + +&psgmiiphy { + status = "disabled"; +}; + &wifi0 { status = "okay"; nvmem-cell-names = "pre-calibration", "mac-address";