[PATCH 0/7] rockchip: Add GMAC support for RK3568 and RK3588
Jonas Karlman
jonas at kwiboo.se
Mon Aug 7 02:08:19 CEST 2023
This series adds a glue driver, dwc_eth_qos_rockchip, to support GMAC
on RK356x and RK3588.
rk_gmac_ops used in this series has been ported from mainline linux.
Patch 1-3 does some minor cleanup in dwc_eth_qos driver.
Patch 4 add glue driver with RK3568 support.
Patch 5 add support for RK3588 to glue driver.
Patch 6-7 update defconfigs to enable use of the new driver.
Dependencies:
- "pinctrl: rockchip: Fix drive and input schmitt on RK3568" [1]
- "clk: rockchip: rk3568: Add dummy support for GMAC speed clocks" [2]
- "net: phy: motorcomm: Add support for YT8511 PHY" [3]
- "rockchip: Port IO-domain driver for RK3568 from linux" [4]
dhcp and ping commands has been tested on the followin devices:
- RK3566: Quartz64 Model A and SOQuartz on Blade
- RK3568: ROCK 3 Model A
- RK3588: ROCK 5 Model A
This series can also be found at [5].
[1] https://patchwork.ozlabs.org/patch/1816600/
[2] https://patchwork.ozlabs.org/patch/1816856/
[3] https://patchwork.ozlabs.org/patch/1817295/
[4] https://patchwork.ozlabs.org/cover/1817469/
[5] https://github.com/Kwiboo/u-boot-rockchip/commits/rk35xx-gmac-v1
Jonas Karlman (7):
net: dwc_eth_qos: Drop unused rx_pkt from eqos_priv
net: dwc_eth_qos: Return error code when start fails
net: dwc_eth_qos: Stop spam of RX packet not available message
net: dwc_eth_qos: Add glue driver for GMAC on Rockchip RK3568
net: dwc_eth_qos_rockchip: Add support for RK3588
configs: rockchip: Enable ethernet driver on RK356x boards
configs: rockchip: Enable ethernet driver on RK3588 boards
configs/evb-rk3568_defconfig | 5 +-
configs/evb-rk3588_defconfig | 5 +-
configs/nanopi-r5s-rk3568_defconfig | 3 +
configs/neu6a-io-rk3588_defconfig | 2 -
configs/neu6b-io-rk3588_defconfig | 2 -
configs/odroid-m1-rk3568_defconfig | 3 +
configs/quartz64-a-rk3566_defconfig | 3 +
configs/quartz64-b-rk3566_defconfig | 3 +
configs/radxa-cm3-io-rk3566_defconfig | 6 +-
configs/rock-3a-rk3568_defconfig | 5 +-
configs/rock5a-rk3588s_defconfig | 6 +-
configs/soquartz-blade-rk3566_defconfig | 3 +
configs/soquartz-cm4-rk3566_defconfig | 3 +
configs/soquartz-model-a-rk3566_defconfig | 3 +
drivers/net/Kconfig | 8 +
drivers/net/Makefile | 1 +
drivers/net/dwc_eth_qos.c | 33 +-
drivers/net/dwc_eth_qos.h | 3 +-
drivers/net/dwc_eth_qos_rockchip.c | 522 ++++++++++++++++++++++
19 files changed, 585 insertions(+), 34 deletions(-)
create mode 100644 drivers/net/dwc_eth_qos_rockchip.c
--
2.41.0
More information about the U-Boot
mailing list