[PATCH 00/18] Add Rockchip RK3588 support
Sascha Hauer
s.hauer at pengutronix.de
Thu May 4 01:17:27 PDT 2023
This adds support for the Rockchip RK3588 along with the Radxa ROCK 5B
board.
As the ROCK 5B has ethernet connected via PCIe this series adds support
for that as well. The existing r8169 driver needed a major update to
support the RTL8125 found on the board.
Unfortunately I didn't manage to get eMMC and SD working, so for now
the board has ethernet, but no storage at all.
Sascha
Sascha Hauer (18):
firmware: make drivers/firmware/ obj-y
stddef: add sizeof_field()
pci: add pci_select_bars() helper
pci: set upper word for 64bit base addresses
ARM: SCMI: Use correct smc/hvc instructions on ARM64
clk: rockchip: Add rk3588 support
pinctrl: rockchip: Move struct definitions to separate header file
pinctrl/gpio: rockchip: separate gpio from pinctrl driver
pinctrl: Update pinctrl-rockchip from kernel
phy: rockchip: naneng-combphy: add rk3588 support
reset: Implement reset array support
pci: designware: add rockchip support
phy: realtek: Add RTL8125 internal phy support
net: Update Realtek r8169 driver
ARM: rockchip: Add rk3588 support
ARM: dts: Add rk3588 device trees
ARM: rockchip: rk3588: add memsize detection
ARM: rockchip: Add Radxa ROCK 5B support
arch/arm/Kconfig | 1 +
arch/arm/boards/Makefile | 1 +
arch/arm/boards/radxa-rock5/.gitignore | 1 +
arch/arm/boards/radxa-rock5/Makefile | 3 +
arch/arm/boards/radxa-rock5/board.c | 55 +
arch/arm/boards/radxa-rock5/lowlevel.c | 25 +
arch/arm/dts/Makefile | 1 +
arch/arm/dts/rk3588-rock-5b.dts | 110 +
arch/arm/dts/rk3588.dtsi | 152 +
arch/arm/dts/rk3588s.dtsi | 135 +
arch/arm/mach-rockchip/Kconfig | 12 +
arch/arm/mach-rockchip/Makefile | 1 +
arch/arm/mach-rockchip/atf.c | 35 +
arch/arm/mach-rockchip/dmc.c | 52 +-
arch/arm/mach-rockchip/rk3588.c | 20 +
arch/arm/mach-rockchip/rockchip.c | 5 +
common/Kconfig | 9 +
drivers/Makefile | 2 +-
drivers/clk/rockchip/Makefile | 1 +
drivers/clk/rockchip/clk-pll.c | 226 +-
drivers/clk/rockchip/clk-rk3588.c | 2529 +++++++++++++
drivers/clk/rockchip/clk.h | 145 +-
drivers/clk/rockchip/rst-rk3588.c | 855 +++++
drivers/clk/rockchip/softrst.c | 34 +-
drivers/gpio/Kconfig | 7 +
drivers/gpio/Makefile | 1 +
drivers/gpio/gpio-rockchip.c | 196 +
drivers/net/Kconfig | 1 +
drivers/net/Makefile | 2 +-
drivers/net/phy/realtek.c | 6 +
drivers/net/r8169.h | 79 +
drivers/net/r8169_firmware.c | 237 ++
drivers/net/r8169_firmware.h | 36 +
drivers/net/r8169_main.c | 3214 +++++++++++++++++
drivers/net/r8169_phy_config.c | 1156 ++++++
drivers/net/rtl8169.c | 562 ---
drivers/pci/Kconfig | 7 +
drivers/pci/Makefile | 1 +
drivers/pci/pci.c | 18 +-
drivers/pci/pcie-dw-rockchip.c | 299 ++
.../rockchip/phy-rockchip-naneng-combphy.c | 278 ++
drivers/pinctrl/pinctrl-rockchip.c | 3174 ++++++++++++----
drivers/pinctrl/pinctrl-rockchip.h | 452 +++
drivers/reset/core.c | 127 +
firmware/Makefile | 2 +
images/Makefile.rockchip | 7 +
include/linux/arm-smccc.h | 4 +-
include/linux/pci.h | 1 +
include/linux/reset.h | 7 +
include/linux/stddef.h | 8 +
include/mach/rockchip/atf.h | 6 +
include/mach/rockchip/debug_ll.h | 6 +
include/mach/rockchip/dmc.h | 1 +
include/mach/rockchip/rk3588-regs.h | 20 +
include/mach/rockchip/rockchip.h | 10 +
55 files changed, 12985 insertions(+), 1350 deletions(-)
create mode 100644 arch/arm/boards/radxa-rock5/.gitignore
create mode 100644 arch/arm/boards/radxa-rock5/Makefile
create mode 100644 arch/arm/boards/radxa-rock5/board.c
create mode 100644 arch/arm/boards/radxa-rock5/lowlevel.c
create mode 100644 arch/arm/dts/rk3588-rock-5b.dts
create mode 100644 arch/arm/dts/rk3588.dtsi
create mode 100644 arch/arm/dts/rk3588s.dtsi
create mode 100644 arch/arm/mach-rockchip/rk3588.c
create mode 100644 drivers/clk/rockchip/clk-rk3588.c
create mode 100644 drivers/clk/rockchip/rst-rk3588.c
create mode 100644 drivers/gpio/gpio-rockchip.c
create mode 100644 drivers/net/r8169.h
create mode 100644 drivers/net/r8169_firmware.c
create mode 100644 drivers/net/r8169_firmware.h
create mode 100644 drivers/net/r8169_main.c
create mode 100644 drivers/net/r8169_phy_config.c
delete mode 100644 drivers/net/rtl8169.c
create mode 100644 drivers/pci/pcie-dw-rockchip.c
create mode 100644 drivers/pinctrl/pinctrl-rockchip.h
create mode 100644 include/mach/rockchip/rk3588-regs.h
--
2.39.2
More information about the barebox
mailing list