]> git.baikalelectronics.ru Git - uboot.git/commit
arm: kirkwood: nsa310s: Use Marvell uclass mvgbe and PHY driver for DM Ethernet
authorTony Dinh <mibodhi@gmail.com>
Sun, 17 Apr 2022 20:42:42 +0000 (13:42 -0700)
committerStefan Roese <sr@denx.de>
Mon, 2 May 2022 05:47:26 +0000 (07:47 +0200)
commit683038552582dd312ef3a02a62ac882dd49863f7
tree4102c807ae14b072ce663615380f095a79f23a56
parent4c86a6b1065400544caab4ba18b3f3818dc88d21
arm: kirkwood: nsa310s: Use Marvell uclass mvgbe and PHY driver for DM Ethernet

The Zyxel NSA310s board has the network chip Marvell Alaska 88E1318S.
Use uclass mvgbe and the compatible driver M88E1310 driver to bring
up Ethernet.

- Use uclass mvgbe to bring up the network. And remove ad-hoc code.
- Remove CONFIG_RESET_PHY_R.
- Enable CONFIG_PHY_MARVELL to properly configure the network.
- Add phy mode RGMII to kirkwood-nsa310s.dts
- Miscellaneous changes: Move constants to .c file and remove header file
board/zyxel/nsa310s/nsa310s.h, add support for large USB and SATA HDDs,
use BIT macro, add/cleanup comments, and cosmetic changes.

Note that this patch is depended on the following patch:
https://patchwork.ozlabs.org/project/uboot/patch/20220412201820.10291-1-mibodhi@gmail.com/

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
arch/arm/dts/kirkwood-nsa310s.dts
board/zyxel/nsa310s/nsa310s.c
board/zyxel/nsa310s/nsa310s.h [deleted file]
configs/nsa310s_defconfig
include/configs/nsa310s.h