Fix Ethernet interface support for microchip-icicle-kit
Status from this message: Applied to riscv-to-apply.next
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | hw/net/cadence_gem: Support two Ethernet interfaces connected to single MDIO bushw/ include/ | +21 | 1 reply | |
| 2/4 | hw/riscv: microchip_pfsoc: Connect Ethernet PHY channelshw/ | +4 | 1 reply | |
| 3/4 | hw/net/cadence_gem: Add pcs-enabled propertyhw/ include/ | +7 | 1 reply | |
| 4/4 | microchip icicle: Enable PCS on Cadence Ethernethw/ | +2 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Alistair Francis |
|---|---|
| 1/4 | A-b |
| 2/4 | A-b |
| 3/4 | A-b |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Fix Ethernet interface support for microchip-icicle-kit
The Microchip PolarFire SoC Icicle Kit supports two Ethernet interfaces. The PHY on each may be connected to separate MDIO busses, or both may be connected on the same MDIO bus using different PHY addresses. Add support for it to the Cadence GEM emulation.
The Linux kernel checks the PCS disabled bit in the R_DESCONF register to determine if SGMII is supported. If the bit is set, SGMII support is disabled. Since the Microchip Icicle devicetree file configures SGMII interface mode, enabling the Ethernet interfaces fails when booting the Linux kernel. Add support for clearing the PCS disabled bit.
----------------------------------------------------------------
Guenter Roeck (4):
hw/net/cadence_gem: Support two Ethernet interfaces connected to single MDIO bus hw/riscv: microchip_pfsoc: Connect Ethernet PHY channels hw/net/cadence_gem: Add pcs-enabled property
microchip icicle: Enable PCS on Cadence Ethernet
hw/net/cadence_gem.c | 31 ++++++++++++++++++++++++------- hw/riscv/microchip_pfsoc.c | 6 ++++++ include/hw/net/cadence_gem.h | 4 ++++ 3 files changed, 34 insertions(+), 7 deletions(-)