[openwrt/openwrt] qca-ssdk: enable AQR for ipq60xx targets
LEDE Commits
lede-commits at lists.infradead.org
Fri Mar 28 04:38:38 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/499ec1d1505590c63614ce60697c96067449cc02
commit 499ec1d1505590c63614ce60697c96067449cc02
Author: Weikai Kong <priv at pppig236.com>
AuthorDate: Mon Dec 30 01:09:07 2024 -0500
qca-ssdk: enable AQR for ipq60xx targets
MR7500 features IPQ6018 which is CPPE, however, it also utilizes AQR114CB0 as WAN.
Previously, without this patch, aquantia_phy_api_ops was never called.
Therefore, enable `IN_AQUATIA_PHY` so that AQR PHY gets initialized properly on boot.
[ 3.973942] Aquantia AQR114C 90000.mdio-1:08: loading firmware version 'v5.6.5 Cybertan Divo 090221 14:43:44' from 'NVMEM'
[ 16.059953] aquantia_phy_api_ops_init[1485]:INFO:qca probe aquantia phy driver succeeded!
[ 17.930149] Aquantia AQR114C 90000.mdio-1:08: attached PHY driver (mii_bus:phy_addr=90000.mdio-1:08, irq=POLL)
Signed-off-by: Weikai Kong <priv at pppig236.com>
Link: https://github.com/openwrt/openwrt/pull/18185
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
package/kernel/qca-ssdk/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/kernel/qca-ssdk/Makefile b/package/kernel/qca-ssdk/Makefile
index 032f0de331..bc22b8bd3e 100644
--- a/package/kernel/qca-ssdk/Makefile
+++ b/package/kernel/qca-ssdk/Makefile
@@ -57,7 +57,8 @@ ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq807x")
endif
ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq60xx")
- MAKE_FLAGS+= CHIP_TYPE=CPPE
+ MAKE_FLAGS+= CHIP_TYPE=CPPE \
+ IN_AQUANTIA_PHY=TRUE
endif
ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq50xx")
More information about the lede-commits
mailing list