[openwrt/openwrt] qualcommax: ipq50xx: prepare for UNIPHY reset fix
LEDE Commits
lede-commits at lists.infradead.org
Mon Jun 2 13:59:20 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/273bd3463c74cc281b54a3a5c20cbbd58b7a8ef7
commit 273bd3463c74cc281b54a3a5c20cbbd58b7a8ef7
Author: George Moussalem <george.moussalem at outlook.com>
AuthorDate: Sat May 10 15:33:12 2025 +0400
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 at outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18774
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-ess.dtsi | 2 ++
1 file changed, 2 insertions(+)
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";
More information about the lede-commits
mailing list