zephyr/drivers/ethernet
Marek Vedral 86842dbab5 drivers: ethernet: xlnx_gem: fix PHY_MRVL_MODE_CONFIG_MASK
According to the datasheet for Marvell PHY [1], the mode field of the
General Control Register 1 Page 18 occupies bits [2:0]. However, the macro
PHY_MRVL_MODE_CONFIG_MASK specifies the mask as 0x3, which would
correspond only to [1:0]. The code in phy_xlnx_gem_marvell_alaska_cfg()
uses the mask to set the mode field to 0 to set "RGMII (System mode) to
Copper" mode. Unfortunately, different chips have different reset values
(111 or 000) and in first case, the code would set the field to 100,
instead of 000.

Without this change, ethernet on Avnet MicroZed (Marvel Alaska 88E1512 PHY)
does not work.

Signed-off-by: Marek Vedral <vedrama5@fel.cvut.cz>

[1]: https://www.marvell.com/content/dam/marvell/en/public-collateral/phys-transceivers/marvell-ethernet-phys-alaska-88e151x-datasheet.pdf
2023-04-28 14:48:52 +02:00
..
phy drivers: phy_mii: Remove the unneeded header file 2023-04-11 11:27:05 +02:00
CMakeLists.txt drivers: eth_smsc91x: Add driver for SMSC91C111 aka LAN91C111 chip 2023-04-11 11:27:05 +02:00
dsa_ksz8xxx.c drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
dsa_ksz8794.h
dsa_ksz8863.h
eth_cyclonev_priv.h drivers: ethernet: bugfix for Cyclone V Ethernet 2023-01-24 17:46:17 -06:00
eth_cyclonev.c driver: ethernet: cvsx remove ugly whitespace 2023-01-24 17:46:17 -06:00
eth_dwmac_mmu.c cache: Fix libraries and drivers 2022-12-01 13:40:56 -05:00
eth_dwmac_priv.h
eth_dwmac_stm32h7x.c treewide: Update clock control API usage 2023-04-05 10:55:46 +02:00
eth_dwmac.c cache: Fix libraries and drivers 2022-12-01 13:40:56 -05:00
eth_e1000_priv.h drivers: eth_e1000: Allow several instances 2022-11-28 13:19:51 +01:00
eth_e1000.c all: Fix "#if IS_ENABLED(CONFIG_FOO)" occurrences 2022-12-21 10:09:23 +01:00
eth_enc28j60_priv.h drivers: ethernet: enc28j60: Added carrier status update functionality 2022-10-31 17:03:18 +01:00
eth_enc28j60.c drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
eth_enc424j600_priv.h
eth_enc424j600.c drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
eth_esp32.c net: ethernet: Align Ethernet drivers/L2 with iface state upgrade 2022-10-20 10:00:31 +02:00
eth_gecko_priv.h
eth_gecko.c drivers: eth: gecko: fix GPIO configuration 2022-12-21 23:32:57 +09:00
eth_liteeth.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
eth_mcux.c nxp: hal: code update to reflect changes in SDK 2.13 2023-04-20 08:11:19 -05:00
eth_native_posix_adapt.c
eth_native_posix_priv.h
eth_native_posix.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
eth_nxp_s32_netc_priv.h drivers: ethernet: add support for NXP S32 NETC 2023-01-24 14:37:20 +01:00
eth_nxp_s32_netc_psi.c drivers: ethernet: add support for NXP S32 NETC 2023-01-24 14:37:20 +01:00
eth_nxp_s32_netc_vsi.c drivers: ethernet: add support for NXP S32 NETC 2023-01-24 14:37:20 +01:00
eth_nxp_s32_netc.c drivers: ethernet: add support for NXP S32 NETC 2023-01-24 14:37:20 +01:00
eth_sam0_gmac.h
eth_sam_gmac_priv.h drivers: ethernet: sam0: Increase RX buffer count by one 2023-04-27 09:50:39 +02:00
eth_sam_gmac.c drivers: ethernet: sam0: Fix receive buffer initialization 2023-04-25 12:19:52 +02:00
eth_slip_tap.c drivers: net: initialize logging for the slip module 2023-02-20 16:44:23 +01:00
eth_smsc91x_priv.h drivers: eth_smsc91x: Add driver for SMSC91C111 aka LAN91C111 chip 2023-04-11 11:27:05 +02:00
eth_smsc91x.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
eth_smsc911x_priv.h
eth_smsc911x.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
eth_stellaris_priv.h
eth_stellaris.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
eth_stm32_hal_priv.h drivers: ethernet: stm32: Enabling stats for the driver. 2023-01-27 00:56:06 +09:00
eth_stm32_hal.c drivers: ethernet: stm32: avoid unnecessary casts, silence warnings 2023-04-07 13:21:07 +02:00
eth_w5500_priv.h
eth_w5500.c drivers: ethernet: w5500: MAC change support 2023-03-24 12:55:49 +01:00
eth_xlnx_gem_priv.h include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
eth_xlnx_gem.c net: ethernet: Align Ethernet drivers/L2 with iface state upgrade 2022-10-20 10:00:31 +02:00
eth.h
Kconfig drivers: ethernet: add dependency to CONFIG_ETH_INIT_PRIORITY 2023-04-17 16:31:47 +02:00
Kconfig.cyclonev drivers: ethernet: adding support for Cyclone V SoC DK ethernet 2022-10-06 20:19:43 -07:00
Kconfig.dsa
Kconfig.dwmac
Kconfig.e1000
Kconfig.enc28j60
Kconfig.enc424j600
Kconfig.esp32
Kconfig.gecko
Kconfig.liteeth
Kconfig.mcux
Kconfig.native_posix
Kconfig.nxp_s32 drivers: ethernet: add support for NXP S32 NETC 2023-01-24 14:37:20 +01:00
Kconfig.sam_gmac net: pkt: Introduce minimum length requirement to net_pkt_get_frag() 2022-11-19 07:39:32 -05:00
Kconfig.smsc91x drivers: eth_smsc91x: Add driver for SMSC91C111 aka LAN91C111 chip 2023-04-11 11:27:05 +02:00
Kconfig.smsc911x
Kconfig.stellaris
Kconfig.stm32_hal drivers: ethernet: stm32: Set API V2 as default 2023-04-25 12:20:30 +02:00
Kconfig.w5500
Kconfig.xlnx_gem
phy_cyclonev.c drivers: ethernet: cvsx change bit label 2023-01-24 17:46:17 -06:00
phy_gecko.c
phy_gecko.h
phy_xlnx_gem.c
phy_xlnx_gem.h drivers: ethernet: xlnx_gem: fix PHY_MRVL_MODE_CONFIG_MASK 2023-04-28 14:48:52 +02:00