5 Commits

Author SHA1 Message Date
Damien George
d1e993f872 stm32/eth_phy: Add support for RTL8211 inititialization.
This gets the status indicator working on the RTL8211.

Signed-off-by: Damien George <damien@micropython.org>
2025-11-20 13:01:35 +11:00
Damien George
0acac07a16 stm32/eth_phy: Move PHY initialization to a dedicated function.
Signed-off-by: Damien George <damien@micropython.org>
2025-11-20 13:01:35 +11:00
Damien George
7713cdd8fe stm32/eth_phy: Add support for RTL8211 ETH PHY.
Signed-off-by: Damien George <damien@micropython.org>
2025-11-20 13:01:35 +11:00
Damien George
769f5cf1a9 stm32/eth_phy: Add support for 1000Mbit PHY.
Signed-off-by: Damien George <damien@micropython.org>
2025-11-20 13:01:35 +11:00
robert-hh
bf68bb95f9 stm32/network_lan: Add the phy_type=x keyword option to network.LAN().
With LAN8742, LAN8720, LAN83825 and DP83848 as possible options, and the
symbols PHY_LAN8720, PHY_LAN8742, PHY_DP83825 and PHY_DP8348.  The default
is PHY_LAN8742 which is the existing behaviour.

The eth_init() parameters for the Portenta H7 board are set to phy_addr=0
and phy_type=LAN8742, which matches the previous defaults and the
schematics.

Tested with LAN8720 and DP83848 breakout boards at 10M Duplex and 100M
Duplex modes.

Signed-off-by: robert-hh <robert@hammelrath.com>
2024-03-07 17:54:56 +11:00