summaryrefslogtreecommitdiff
path: root/drivers/net/phy/Kconfig
diff options
context:
space:
mode:
authorLucien.Jheng <[email protected]>2025-04-06 21:02:44 +0800
committerTom Rini <[email protected]>2025-04-16 16:48:13 -0600
commitc9c8df2c377e512553f2e9ad5d19c4b85efbf07d (patch)
tree6dc7316f358fb1ea8ba37b5f7a63cb817d2a1a30 /drivers/net/phy/Kconfig
parentda4dd9ed7a97652c142f34662113535d1843031d (diff)
net: phy: Add the Airoha EN8811H PHY driver
Add the driver for the Airoha EN8811H 2.5 Gigabit PHY. The PHY supports 100/1000/2500 Mbps with auto negotiation only. The driver uses two firmware files, for which updated versions are added to linux-firmware already. Based on the Linux upstream 8811 driver code(air_en8811h.c), I have modified the relevant process to align with the U-Boot boot sequence. and have validated this on Banana Pi BPI-R3 Mini. The MD32 FW is currently stored in eMMC partition 1 on Banana Pi BPI-R3 Mini, and it is loaded from there. Signed-off-by: Lucien.Jheng <[email protected]>
Diffstat (limited to 'drivers/net/phy/Kconfig')
-rw-r--r--drivers/net/phy/Kconfig34
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 3132718e4f8..5b4cf30b0a3 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -79,6 +79,40 @@ config PHY_ADIN
help
Add support for configuring RGMII on Analog Devices ADIN PHYs.
+menuconfig PHY_AIROHA
+ bool "Airoha Ethernet PHYs support"
+
+config PHY_AIROHA_EN8811H
+ bool "Airoha Ethernet EN8811H support"
+ depends on PHY_AIROHA
+ help
+ AIROHA EN8811H supported.
+
+choice
+ prompt "Location of the Airoha PHY firmware"
+ default PHY_AIROHA_FW_IN_MMC
+ depends on PHY_AIROHA_EN8811H
+
+config PHY_AIROHA_FW_IN_MMC
+ bool "Airoha firmware in MMC boot1 partition"
+
+endchoice
+
+config AIROHA_FW_ADDR
+ hex "Airoha Firmware Address"
+ depends on PHY_AIROHA_EN8811H
+ default 0x0
+
+config AIROHA_MD32_DM_SIZE
+ hex "Airoha Firmware MD32 DM Size"
+ depends on PHY_AIROHA_EN8811H
+ default 0x4000
+
+config AIROHA_MD32_DSP_SIZE
+ hex "Airoha Firmware MD32 DSP Size"
+ depends on PHY_AIROHA_EN8811H
+ default 0x20000
+
menuconfig PHY_AQUANTIA
bool "Aquantia Ethernet PHYs support"
select PHY_GIGE