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 <robert.marko@sartura.hr>
This commit is contained in:
Robert Marko 2021-12-08 14:44:05 +01:00 committed by David Bauer
parent 378d1a6569
commit ccd08ef912
5 changed files with 88 additions and 26 deletions

View File

@ -24,9 +24,6 @@
pinctrl-names = "default"; pinctrl-names = "default";
reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>; reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
reset-delay-us = <2000>; reset-delay-us = <2000>;
/delete-node/ ethernet-phy@0;
/delete-node/ ethernet-phy@1;
}; };
crypto@8e3a000 { crypto@8e3a000 {
@ -152,6 +149,14 @@
status = "okay"; status = "okay";
}; };
&ethphy0 {
status = "disabled";
};
&ethphy1 {
status = "disabled";
};
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
qcom,ath10k-calibration-variant = "devolo,magic-2-wifi-next"; qcom,ath10k-calibration-variant = "devolo,magic-2-wifi-next";

View File

@ -47,10 +47,6 @@
mdio@90000 { mdio@90000 {
status = "okay"; status = "okay";
/delete-node/ ethernet-phy@0;
/delete-node/ ethernet-phy@1;
/delete-node/ ethernet-phy@3;
}; };
tcsr@1949000 { tcsr@1949000 {
@ -256,6 +252,18 @@
status = "okay"; status = "okay";
}; };
&ethphy0 {
status = "disabled";
};
&ethphy1 {
status = "disabled";
};
&ethphy3 {
status = "disabled";
};
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
nvmem-cell-names = "pre-calibration"; nvmem-cell-names = "pre-calibration";

View File

@ -26,12 +26,6 @@
status = "okay"; status = "okay";
pinctrl-0 = <&mdio_pins>; pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default"; 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 { tcsr@1949000 {
@ -243,6 +237,30 @@
status = "okay"; status = "okay";
}; };
&ethphy0 {
status = "disabled";
};
&ethphy1 {
status = "disabled";
};
&ethphy2 {
status = "disabled";
};
&ethphy3 {
status = "disabled";
};
&ethphy4 {
status = "disabled";
};
&psgmiiphy {
status = "disabled";
};
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200"; qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";

View File

@ -47,12 +47,6 @@
mdio@90000 { mdio@90000 {
status = "okay"; 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 { counter@4a1000 {
@ -247,3 +241,23 @@
}; };
}; };
}; };
&ethphy1 {
status = "disabled";
};
&ethphy2 {
status = "disabled";
};
&ethphy3 {
status = "disabled";
};
&ethphy4 {
status = "disabled";
};
&psgmiiphy {
status = "disabled";
};

View File

@ -21,13 +21,6 @@
pinctrl-0 = <&mdio_pins>; pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default"; 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 { ethernet-phy@5 {
reg = <0x5>; reg = <0x5>;
}; };
@ -221,6 +214,30 @@
}; };
}; };
&ethphy0 {
status = "disabled";
};
&ethphy1 {
status = "disabled";
};
&ethphy2 {
status = "disabled";
};
&ethphy3 {
status = "disabled";
};
&ethphy4 {
status = "disabled";
};
&psgmiiphy {
status = "disabled";
};
&wifi0 { &wifi0 {
status = "okay"; status = "okay";
nvmem-cell-names = "pre-calibration", "mac-address"; nvmem-cell-names = "pre-calibration", "mac-address";