rockchip: Add initial support for RK3528
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest30 patches 30 repliesIn review
- v113 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- Pick device tree commits from devicetree-rebasing v6.15-rc1-dts
- Update clk and reset driver to work with mainline Linux dt-bindings
- Add RK3528 support in otp, saradc, inno-usb2 and dwc_eth_qos drivers
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/30 | dt-bindings: clock: Document clock and reset unit of RK3528dts/ dts/ dts/ | +758 | 1 reply | |
| 2/30 | arm64: dts: rockchip: Add clock generators for RK3528 SoCdts/ | +51 | 1 reply | |
| 3/30 | arm64: dts: rockchip: Add UART clocks for RK3528 SoCdts/ | +16 | 1 reply | |
| 4/30 | arm64: dts: rockchip: Add pinctrl and gpio nodes for RK3528dts/ dts/ | +1479 | 1 reply | |
| 5/30 | arm64: dts: rockchip: Add rk3528 QoS register nodedts/ | +160 | 1 reply | |
| 6/30 | arm64: dts: rockchip: enable SCMI clk for RK3528 SoCdts/ | +31 | 1 reply | |
| 7/30 | arm64: dts: rockchip: Add SARADC node for RK3528dts/ | +13 | 1 reply | |
| 8/30 | arm64: dts: rockchip: Add SDHCI controller for RK3528dts/ | +24 | 1 reply | |
| 9/30 | arm64: dts: rockchip: Add uart0 pinctrl to Radxa E20Cdts/ | +2 | 1 reply | |
| 10/30 | arm64: dts: rockchip: Add leds node to Radxa E20Cdts/ | +48 | 1 reply | |
| 11/30 | arm64: dts: rockchip: Add user button to Radxa E20Cdts/ | +20 | 1 reply | |
| 12/30 | arm64: dts: rockchip: Add maskrom button to Radxa E20Cdts/ | +48 | 1 reply | |
| 13/30 | arm64: dts: rockchip: Enable onboard eMMC on Radxa E20Cdts/ | +15 | 1 reply | |
| 14/30 | rockchip: mkimage: Add support for RK3528tools/ | +1 | 1 reply | |
| 15/30 | ram: rockchip: Add basic support for RK3528arch/ drivers/ drivers/ | +36 | 1 reply | |
| 16/30 | clk: rockchip: Add support for RK3528arch/ arch/ drivers/ +4 more | +2480 | 1 reply | |
| 17/30 | pinctrl: rockchip: Add support for RK3528drivers/ drivers/ | +274 | 1 reply | |
| 18/30 | arm: dts: rockchip: Add rk3528-u-boot.dtsiarch/ | +148 | 1 reply | |
| 19/30 | arch: arm: rockchip: Add initial support for RK3528arch/ arch/ arch/ +8 more | +301 | 1 reply | |
| 20/30 | mmc: rockchip_sdhci: Extend variant configurationdrivers/ | +12 | 1 reply | |
| 21/30 | mmc: rockchip_sdhci: Add initial support for RK3528drivers/ | +15 | 1 reply | |
| 22/30 | mmc: rockchip_sdhci: Gate clock for glitch free phase switchingdrivers/ | +9 | 1 reply | |
| 23/30 | rockchip: otp: Add support for RK3528drivers/ | +4 | 1 reply | |
| 24/30 | adc: rockchip-saradc: Add support for RK3528drivers/ | +10 | 1 reply | |
| 25/30 | rng: rockchip: Add support for rkrng variantdrivers/ | +73 | 1 reply | |
| 26/30 | phy: rockchip-inno-usb2: Add support for clkout_ctl_phydrivers/ | +33 | 1 reply | |
| 27/30 | phy: rockchip-inno-usb2: Add support for RK3528drivers/ | +20 | 1 reply | |
| 28/30 | net: dwc_eth_qos_rockchip: Add support for RK3528drivers/ drivers/ | +142 | 1 reply | |
| 29/30 | board: rockchip: Add minimal generic RK3528 boardarch/ arch/ arch/ +2 more | +100 | 1 reply | |
| 30/30 | board: rockchip: Add Radxa E20Carch/ arch/ configs/ +1 more | +75 | 1 reply |
Reviews trailers per patch
All 30 patches have a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski | Kever Yang |
|---|---|---|
| 1/30 | R-b | R-b |
| 2/30 | R-b | |
| 3/30 | R-b | |
| 4/30 | R-b | |
| 5/30 | R-b | |
| 6/30 | R-b | |
| 7/30 | R-b | |
| 8/30 | R-b | |
| 9/30 | R-b | |
| 10/30 | R-b | |
| 11/30 | R-b | |
| 12/30 | R-b | |
| 13/30 | R-b | |
| 14/30 | R-b | |
| 15/30 | R-b | |
| 16/30 | R-b | |
| 17/30 | R-b | |
| 18/30 | R-b | |
| 19/30 | R-b | |
| 20/30 | R-b | |
| 21/30 | R-b | |
| 22/30 | R-b | |
| 23/30 | R-b | |
| 24/30 | R-b | |
| 25/30 | R-b | |
| 26/30 | R-b | |
| 27/30 | R-b | |
| 28/30 | R-b | |
| 29/30 | R-b | |
| 30/30 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/30] rockchip: Add initial support for RK3528
This series add initial support for the Rockchip RK3528 SoC.
Clk, pinctrl and rng drivers have been imported from vendor U-Boot with minor adjustments and fixes.
Upstream DT for RK3528 is now more complete and this series only add a few missing nodes to -u-boot.dtsi files to have a bootable system.
Changes in v2:
- Pick device tree commits from devicetree-rebasing v6.15-rc1-dts
- Update clk and reset driver to work with mainline Linux dt-bindings
- Add RK3528 support in otp, saradc, inno-usb2 and dwc_eth_qos drivers
Features tested on a ArmSoM Sige1:
- SD-card boot
- eMMC boot
Features tested on a FriendlyElec NanoPi Zero2:
- SD-card boot
- eMMC boot
Features tested on a Radxa E20C v1.104:
- SD-card boot
- eMMC boot
Features tested on a Radxa ROCK 2A v1.202:
- SD-card boot
Boot log on a Radxa ROCK 2A:
DDR 44ec2e0a51 huan.he 24/07/12-14:38:48,fwver: v1.10 [...]
out
U-Boot SPL 2025.04-rc5 (Apr 07 2025 - 21:08:38 +0000) Trying to boot from MMC2
## Checking hash(es) for config config-1 ... OK ## Checking hash(es) for Image atf-1 ... sha256+ OK ## Checking hash(es) for Image u-boot ... sha256+ OK ## Checking hash(es) for Image fdt-1 ... sha256+ OK ## Checking hash(es) for Image atf-2 ... sha256+ OK ## Checking hash(es) for Image atf-3 ... sha256+ OK
INFO: Preloader serial: 0 NOTICE: BL31: v2.3():v2.3-857-g059b3c586:derrick.huang, fwver: v1.18 NOTICE: BL31: Built : 17:43:24, Nov 18 2024 INFO: rk_otp_init finish! INFO: ARM GICv2 driver initialized INFO: nonboot_cpus_off: clst_st=0xc0e, core_st=0xe1e0 boot_cpu=0 INFO: dfs DDR fsp_param[0].freq_mhz= 1056MHz INFO: dfs DDR fsp_param[1].freq_mhz= 324MHz INFO: dfs DDR fsp_param[2].freq_mhz= 528MHz INFO: dfs DDR fsp_param[3].freq_mhz= 780MHz INFO: idle_st=0x0, pd_st=0x0 INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 1 INFO: rk_otp_init finish! INFO: RK3528 SoC (0x101) INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x800000 INFO: SPSR = 0x3c9
U-Boot 2025.04-rc5 (Apr 07 2025 - 21:08:38 +0000)
Model: Generic RK3528
SoC: RK3528A DRAM: 4 GiB (effective 3.9 GiB) Core: 130 devices, 20 uclasses, devicetree: separate MMC: mmc@ffbf0000: 0, mmc@ffc30000: 1 Loading Environment from nowhere... OK In: serial@ff9f0000 Out: serial@ff9f0000 Err: serial@ff9f0000
Hit any key to stop autoboot: 0
=>
This series depends on the following series:
- rockchip: ROCKCHIP_COMMON_STACK_ADDR improvements
- rockchip: Update rng compatible for RK356x and RK3588
Chukun Pan (2):
arm64: dts: rockchip: Add rk3528 QoS register node
arm64: dts: rockchip: enable SCMI clk for RK3528 SoC
Jonas Karlman (21):
arm64: dts: rockchip: Add pinctrl and gpio nodes for RK3528
arm64: dts: rockchip: Add SARADC node for RK3528
arm64: dts: rockchip: Add SDHCI controller for RK3528
arm64: dts: rockchip: Add uart0 pinctrl to Radxa E20C
arm64: dts: rockchip: Add leds node to Radxa E20C
arm64: dts: rockchip: Add user button to Radxa E20C
arm64: dts: rockchip: Add maskrom button to Radxa E20C
arm64: dts: rockchip: Enable onboard eMMC on Radxa E20C
ram: rockchip: Add basic support for RK3528
arm: dts: rockchip: Add rk3528-u-boot.dtsi
arch: arm: rockchip: Add initial support for RK3528
mmc: rockchip_sdhci: Extend variant configuration
mmc: rockchip_sdhci: Add initial support for RK3528
mmc: rockchip_sdhci: Gate clock for glitch free phase switching
rockchip: otp: Add support for RK3528
adc: rockchip-saradc: Add support for RK3528
phy: rockchip-inno-usb2: Add support for clkout_ctl_phy
phy: rockchip-inno-usb2: Add support for RK3528
net: dwc_eth_qos_rockchip: Add support for RK3528
board: rockchip: Add minimal generic RK3528 board
board: rockchip: Add Radxa E20C
Joseph Chen (1):
clk: rockchip: Add support for RK3528
Lin Jinhan (1):
rng: rockchip: Add support for rkrng variant
Steven Liu (1):
pinctrl: rockchip: Add support for RK3528
Yao Zi (3):
dt-bindings: clock: Document clock and reset unit of RK3528
arm64: dts: rockchip: Add clock generators for RK3528 SoC
arm64: dts: rockchip: Add UART clocks for RK3528 SoC
Yifeng Zhao (1):
rockchip: mkimage: Add support for RK3528
arch/arm/dts/rk3528-generic-u-boot.dtsi | 12 + arch/arm/dts/rk3528-generic.dts | 31 + arch/arm/dts/rk3528-radxa-e20c-u-boot.dtsi | 12 + arch/arm/dts/rk3528-u-boot.dtsi | 148 ++ arch/arm/include/asm/arch-rk3528/boot0.h | 9 + arch/arm/include/asm/arch-rk3528/gpio.h | 9 + arch/arm/include/asm/arch-rockchip/clock.h | 17 + .../include/asm/arch-rockchip/cru_rk3528.h | 388 ++++ arch/arm/mach-rockchip/Kconfig | 51 + arch/arm/mach-rockchip/Makefile | 1 + arch/arm/mach-rockchip/rk3528/Kconfig | 15 + arch/arm/mach-rockchip/rk3528/MAINTAINERS | 11 + arch/arm/mach-rockchip/rk3528/Makefile | 5 + arch/arm/mach-rockchip/rk3528/clk_rk3528.c | 16 + arch/arm/mach-rockchip/rk3528/rk3528.c | 137 ++ arch/arm/mach-rockchip/rk3528/syscon_rk3528.c | 19 + arch/arm/mach-rockchip/sdram.c | 3 +- configs/generic-rk3528_defconfig | 40 + configs/radxa-e20c-rk3528_defconfig | 56 + doc/board/rockchip/rockchip.rst | 13 + drivers/adc/rockchip-saradc.c | 10 + drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk_pll.c | 23 +- drivers/clk/rockchip/clk_rk3528.c | 1754 +++++++++++++++++ drivers/misc/rockchip-otp.c | 4 + drivers/mmc/rockchip_sdhci.c | 39 +- drivers/net/dwc_eth_qos.c | 4 + drivers/net/dwc_eth_qos_rockchip.c | 138 ++ drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 63 +- drivers/pinctrl/rockchip/Makefile | 1 + drivers/pinctrl/rockchip/pinctrl-rk3528.c | 273 +++ drivers/ram/rockchip/Makefile | 1 + drivers/ram/rockchip/sdram_rk3528.c | 33 + drivers/reset/Makefile | 2 +- drivers/reset/rst-rk3528.c | 302 +++ drivers/rng/rockchip_rng.c | 73 + drivers/usb/gadget/Kconfig | 1 + .../Bindings/clock/rockchip,rk3528-cru.yaml | 64 + .../dt-bindings/clock/rockchip,rk3528-cru.h | 453 +++++ .../dt-bindings/reset/rockchip,rk3528-cru.h | 241 +++ .../src/arm64/rockchip/rk3528-pinctrl.dtsi | 1397 +++++++++++++ .../src/arm64/rockchip/rk3528-radxa-e20c.dts | 133 ++ dts/upstream/src/arm64/rockchip/rk3528.dtsi | 378 +++- include/configs/rk3528_common.h | 38 + tools/rkcommon.c | 1 + 45 files changed, 6398 insertions(+), 22 deletions(-) create mode 100644 arch/arm/dts/rk3528-generic-u-boot.dtsi create mode 100644 arch/arm/dts/rk3528-generic.dts create mode 100644 arch/arm/dts/rk3528-radxa-e20c-u-boot.dtsi create mode 100644 arch/arm/dts/rk3528-u-boot.dtsi create mode 100644 arch/arm/include/asm/arch-rk3528/boot0.h create mode 100644 arch/arm/include/asm/arch-rk3528/gpio.h create mode 100644 arch/arm/include/asm/arch-rockchip/cru_rk3528.h create mode 100644 arch/arm/mach-rockchip/rk3528/Kconfig create mode 100644 arch/arm/mach-rockchip/rk3528/MAINTAINERS create mode 100644 arch/arm/mach-rockchip/rk3528/Makefile create mode 100644 arch/arm/mach-rockchip/rk3528/clk_rk3528.c create mode 100644 arch/arm/mach-rockchip/rk3528/rk3528.c create mode 100644 arch/arm/mach-rockchip/rk3528/syscon_rk3528.c create mode 100644 configs/generic-rk3528_defconfig create mode 100644 configs/radxa-e20c-rk3528_defconfig create mode 100644 drivers/clk/rockchip/clk_rk3528.c create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3528.c create mode 100644 drivers/ram/rockchip/sdram_rk3528.c create mode 100644 drivers/reset/rst-rk3528.c create mode 100644 dts/upstream/Bindings/clock/rockchip,rk3528-cru.yaml create mode 100644 dts/upstream/include/dt-bindings/clock/rockchip,rk3528-cru.h create mode 100644 dts/upstream/include/dt-bindings/reset/rockchip,rk3528-cru.h create mode 100644 dts/upstream/src/arm64/rockchip/rk3528-pinctrl.dtsi create mode 100644 include/configs/rk3528_common.h
Signature · 1 line
2.49.0