diff options
author | Stefan Eichenberger <eichest@gmail.com> | 2023-12-12 15:12:00 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-12-14 16:01:27 +0100 |
commit | 1b666016d0ad4a879dcd3d9188635ad68c4b16ce (patch) | |
tree | 87fdf0e733aeecc56d08d7bd1ee07674723d87a9 /arch/riscv/kernel/traps_misaligned.c | |
parent | 00b1b2296b581067a4da78111f9e6f0984f7a284 (diff) |
net: mvpp2: add support for mii
Currently, mvpp2 only supports RGMII. This commit adds support for MII.
The description in Marvell's functional specification seems to be wrong.
To enable MII, we need to set GENCONF_CTRL0_PORT3_RGMII, while for RGMII
we need to clear it. This is also how U-Boot handles it.
Signed-off-by: Stefan Eichenberger <eichest@gmail.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20231212141200.62579-1-eichest@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'arch/riscv/kernel/traps_misaligned.c')
0 files changed, 0 insertions, 0 deletions