summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Moussalem2025-05-10 11:33:12 +0000
committerRobert Marko2025-06-02 20:59:05 +0000
commit273bd3463c74cc281b54a3a5c20cbbd58b7a8ef7 (patch)
tree36dc660b6e659ae7427e7bcc429d8f590e97be79
parente53592d0f6e337a068eaef5ea592e677f50ba89b (diff)
downloadopenwrt-273bd3463c74cc281b54a3a5c20cbbd58b7a8ef7.tar.gz
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 <george.moussalem@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18774 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ess.dtsi2
1 files changed, 2 insertions, 0 deletions
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 a42b7bbeaa..384d7e36f5 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";