mips: octeon: nic23: Enable ethernet support
authorStefan Roese <sr@denx.de>
Thu, 7 Apr 2022 07:11:54 +0000 (09:11 +0200)
committerStefan Roese <sr@denx.de>
Wed, 4 May 2022 05:05:51 +0000 (07:05 +0200)
commit1770808199ce6155dd3ec9a3d32d0d8db99746be
tree71cbfcaf82e75b4347dd41512c8d555a4373a574
parent78c01757f07022543c8583112f999450eba579b5
mips: octeon: nic23: Enable ethernet support

This patch enables the Kconfig symbols needed for full ethernet support
on the NIC23. Additionally board specific setup is done, mostly GPIOs
related to SFP / GPIO configuration. With this, ethernet can be used on
this board. Here an example of a tftp load:

=> tftp ffffffff81000000 big
Using ethernet-mac-nexus@11800e2000000 device
TFTP from server 192.168.1.5; our IP address is 192.168.1.247
Filename 'big'.
Load address: 0xffffffff81000000
Loading: ##################################################  10 MiB
         9.7 MiB/s
done
Bytes transferred = 10485760 (a00000 hex)

Signed-off-by: Stefan Roese <sr@denx.de>
board/Marvell/octeon_nic23/board.c
configs/octeon_nic23_defconfig