summaryrefslogtreecommitdiff
path: root/drivers/net/dwc_eth_qos_stm32.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-05-05 10:14:37 -0600
committerTom Rini <trini@konsulko.com>2025-05-05 10:14:37 -0600
commit9cf090e8874f958d637d779bd872cbc41ab30544 (patch)
tree8c8e58c18602349bb027c5dd6eea62f51d6857e9 /drivers/net/dwc_eth_qos_stm32.c
parent3f519d93c1e48883969e94bafceb960bfb73dfbe (diff)
parent9b74f86b683ef7ef86e19a0ab63d6a7346baf42a (diff)
Merge tag 'u-boot-stm32-20250505' of https://source.denx.de/u-boot/custodians/u-boot-stm
- CI: https://source.denx.de/u-boot/custodians/u-boot-stm/-/pipelines/26081 - STM32 MCUs: - Fix console cmdline - Add support NT35510 panel controller on stm32f769i-disco board - Fix dfu alt buffer clearing - Enable scan and start for AB schema on STM32MP15 DHSOM - Add stm32mp2 support for dwc_eth_qos
Diffstat (limited to 'drivers/net/dwc_eth_qos_stm32.c')
-rw-r--r--drivers/net/dwc_eth_qos_stm32.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/dwc_eth_qos_stm32.c b/drivers/net/dwc_eth_qos_stm32.c
index f3a973f3774..7a28f2a3e83 100644
--- a/drivers/net/dwc_eth_qos_stm32.c
+++ b/drivers/net/dwc_eth_qos_stm32.c
@@ -350,3 +350,14 @@ struct eqos_config __maybe_unused eqos_stm32mp15_config = {
.interface = dev_read_phy_mode,
.ops = &eqos_stm32_ops
};
+
+struct eqos_config __maybe_unused eqos_stm32mp25_config = {
+ .reg_access_always_ok = false,
+ .mdio_wait = 10000,
+ .swr_wait = 50,
+ .config_mac = EQOS_MAC_RXQ_CTRL0_RXQ0EN_ENABLED_DCB,
+ .config_mac_mdio = EQOS_MAC_MDIO_ADDRESS_CR_250_300,
+ .axi_bus_width = EQOS_AXI_WIDTH_64,
+ .interface = dev_read_phy_mode,
+ .ops = &eqos_stm32_ops
+};