qualcommax: dts: add reset delay to qca8081 phy
authorChukun Pan <amadeus@jmu.edu.cn>
Sun, 28 Jan 2024 15:10:36 +0000 (23:10 +0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 30 Jan 2024 13:34:28 +0000 (14:34 +0100)
The qca8081 phy needs to set the reset delay time,
otherwise it will not be detected by the mdio bus.

Fixes: 75ad5c2 ("qualcommax: switch to qca8081 upstream PHY driver")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8071-eap102.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8071-mf269.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-aw1000.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-ax880.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-ax9000.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-dl-wrx36.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-nbg7815.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-wax630.dts

index d40b3f0d241789fdeccd20ea00fe43b4ad3a3386..9503f4b92aec761ccc88b4576a11a06fb5dd4608 100644 (file)
        qca8081_24: ethernet-phy@24 {
                compatible = "ethernet-phy-id004d.d101";
                reg = <24>;
+               reset-deassert-us = <10000>;
                reset-gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
        };
 
        qca8081_28: ethernet-phy@28 {
                compatible = "ethernet-phy-id004d.d101";
                reg = <28>;
+               reset-deassert-us = <10000>;
                reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
        };
 };
index 8b055800e11c7efe43dc16b344f2c308ddac1d6f..51bb533d1e85ea0b9125ef798e04ece576dbe105 100644 (file)
        qca8081_24: ethernet-phy@24 {
                compatible = "ethernet-phy-id004d.d101";
                reg = <24>;
+               reset-deassert-us = <10000>;
                reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
        };
 
        qca8081_28: ethernet-phy@28 {
                compatible = "ethernet-phy-id004d.d101";
                reg = <28>;
+               reset-deassert-us = <10000>;
                reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
        };
 };
index 495ebad17a31c128c2349b93d3d95df92788ebba..877a487b978f7f4437e9c756add03007ce64f587 100644 (file)
        qca8081: ethernet-phy@28 {
                compatible = "ethernet-phy-id004d.d101";
                reg = <28>;
+               reset-deassert-us = <10000>;
                reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
        };
 };
index bb4634d054b3d8141948dcfd392bade2aa2def4c..7133969d35fc5309bf3b5c2ede5fbb90bc9049e0 100644 (file)
 
        pinctrl-0 = <&mdio_pins>;
        pinctrl-names = "default";
-   
+
        qca8081_24: ethernet-phy@24 {
                compatible = "ethernet-phy-id004d.d101";
                reg = <24>;
+               reset-deassert-us = <10000>;
                reset-gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
 
                leds {
        qca8081_28: ethernet-phy@28 {
                compatible = "ethernet-phy-id004d.d101";
                reg = <28>;
+               reset-deassert-us = <10000>;
                reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
 
                leds {
index 0408c6ed859363e9151799225ff5540a708fce69..0ebdeb81940c78ed8269001e9e1c8a5cad6a05b5 100644 (file)
        qca8081: ethernet-phy@24 {
                compatible = "ethernet-phy-id004d.d101";
                reg = <24>;
+               reset-deassert-us = <10000>;
                reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
 
                leds {
index 4519a7a6bf49acd53a916bde9c7f33f98647dc30..3dec53f156af3ce0cda254bfdd38df6374b1ff21 100644 (file)
        qca8081: ethernet-phy@28 {
                compatible = "ethernet-phy-id004d.d101";
                reg = <28>;
+               reset-deassert-us = <10000>;
                reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
 
                leds {
index 1e8e50875f77e88829c929621a2f2c4806f31a46..be6953f9423a2bd8510b73bc82421e7ce3311979 100644 (file)
        qca8081: ethernet-phy@4{
                compatible = "ethernet-phy-id004d.d101";
                reg = <28>;
+               reset-deassert-us = <10000>;
                reset-gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
        };
 
index 685e4243ddbf9411e428f8a79736237af691209f..48b1fee1ea543be2d19e5060ddb94b9aa14dffb2 100644 (file)
        qca8081: ethernet-phy@28 {
                compatible = "ethernet-phy-id004d.d101";
                reg = <28>;
+               reset-deassert-us = <10000>;
                reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
        };
 };