From: George Moussalem Date: Sat, 10 May 2025 11:33:12 +0000 (+0400) Subject: qualcommax: ipq50xx: prepare for UNIPHY reset fix X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=273bd3463c74cc281b54a3a5c20cbbd58b7a8ef7;p=thirdparty%2Fopenwrt.git qualcommax: ipq50xx: prepare for UNIPHY reset fix Ahead of the actual fix in both the GCC and QCA-SSDK, add the required AHB reset so it can be picked up by updated QCA-SSDK. This is needed as the SSDK needs to use different resets depending on the link architecture. If it's a fixed link, AHB needs to be reset. In a phy to phy link setup (such as QCA8081), SYS, RX, and TX need to be reset using one reset with a bitmask in the GCC (GCC_UNIPHY_SOFT_RESET). Signed-off-by: George Moussalem Link: https://github.com/openwrt/openwrt/pull/18774 Signed-off-by: Robert Marko --- diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ess.dtsi b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ess.dtsi index a42b7bbeaa3..384d7e36f53 100644 --- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ess.dtsi +++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ess.dtsi @@ -59,10 +59,12 @@ resets = <&gcc GCC_GMAC0_BCR>, <&gcc GCC_GMAC1_BCR>, <&gcc GCC_UNIPHY_BCR>, + <&gcc GCC_UNIPHY_AHB_ARES>, <&gcc GCC_UNIPHY_SOFT_RESET>; reset-names = "gmac0_bcr_rst", "gmac1_bcr_rst", "uniphy_bcr_rst", + "uniphy1_ahb_rst", "uniphy1_soft_rst"; status = "disabled";