From: Weikai Kong Date: Mon, 30 Dec 2024 06:09:07 +0000 (-0500) Subject: qca-ssdk: enable AQR for ipq60xx targets X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=499ec1d1505590c63614ce60697c96067449cc02;p=openwrt%2Fstaging%2Fneocturne.git 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 Link: https://github.com/openwrt/openwrt/pull/18185 Signed-off-by: Robert Marko --- 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")