public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 00/10] rockchip: Add initial support for RK3506
@ 2026-01-09  0:49 Jonas Karlman
  2026-01-09  0:49 ` [PATCH 01/10] rockchip: mkimage: Add " Jonas Karlman
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Jonas Karlman @ 2026-01-09  0:49 UTC (permalink / raw)
  To: Kever Yang, Simon Glass, Philipp Tomsich, Tom Rini
  Cc: Aaron Griffith, u-boot, Jonas Karlman

This series add initial support for the Rockchip RK3506 SoC.

Clk and pinctrl drivers have been imported from vendor U-Boot with
some adjustments and fixes.

Upstream DT is currently not existing for RK3506, so this series does
not add support for any new boards, it only add initial arch support.

Please see my U-Boot rk3506 branch at [1] for a few more commits that
add DTs and defconfig for e.g. Luckfox Lyra variants and ArmSoM Forge1.

With this series, board DTs and defconfigs it should be possible to boot
into U-Boot proper (without OP-TEE) and still have support for MMC,
Ethernet, OTP, RNG, LEDs, buttons and USB gadget/host.

[1] https://source.denx.de/u-boot/contributors/kwiboo/u-boot/-/commits/rk3506

Finley Xiao (2):
  dt-bindings: clock: rockchip: Add RK3506 clock and reset unit
  clk: rockchip: Add support for RK3506

Jonas Karlman (6):
  ram: rockchip: Add basic support for RK3506
  pinctrl: rockchip: Use syscon_regmap_lookup_by_phandle()
  rockchip: otp: Add support for RK3506
  phy: rockchip-inno-usb2: Add support for RK3506
  net: dwc_eth_qos_rockchip: Add support for RK3506
  arch: arm: rockchip: Add initial support for RK3506

Xuhui Lin (1):
  rockchip: mkimage: Add support for RK3506

Ye Zhang (1):
  pinctrl: rockchip: Add support for RK3506

 arch/arm/include/asm/arch-rk3506/boot0.h      |    9 +
 arch/arm/include/asm/arch-rk3506/gpio.h       |    9 +
 arch/arm/include/asm/arch-rockchip/clock.h    |   10 +
 .../include/asm/arch-rockchip/cru_rk3506.h    |  220 +++
 arch/arm/mach-rockchip/Kconfig                |   43 +
 arch/arm/mach-rockchip/Makefile               |    1 +
 arch/arm/mach-rockchip/rk3506/Kconfig         |   15 +
 arch/arm/mach-rockchip/rk3506/Makefile        |    5 +
 arch/arm/mach-rockchip/rk3506/clk_rk3506.c    |   16 +
 arch/arm/mach-rockchip/rk3506/rk3506.c        |  130 ++
 arch/arm/mach-rockchip/rk3506/syscon_rk3506.c |   19 +
 drivers/clk/rockchip/Makefile                 |    1 +
 drivers/clk/rockchip/clk_rk3506.c             | 1212 +++++++++++++++++
 drivers/misc/rockchip-otp.c                   |    4 +
 drivers/net/dwc_eth_qos.c                     |    4 +
 drivers/net/dwc_eth_qos_rockchip.c            |   86 ++
 drivers/phy/rockchip/phy-rockchip-inno-usb2.c |   20 +
 drivers/pinctrl/rockchip/Makefile             |    1 +
 drivers/pinctrl/rockchip/pinctrl-rk3506.c     |  462 +++++++
 .../pinctrl/rockchip/pinctrl-rockchip-core.c  |   46 +-
 drivers/pinctrl/rockchip/pinctrl-rockchip.h   |    1 +
 drivers/ram/rockchip/Makefile                 |    1 +
 drivers/ram/rockchip/sdram_rk3506.c           |   33 +
 drivers/reset/Makefile                        |    2 +-
 drivers/reset/rst-rk3506.c                    |  222 +++
 drivers/usb/gadget/Kconfig                    |    1 +
 .../Bindings/clock/rockchip,rk3506-cru.yaml   |   55 +
 .../dt-bindings/clock/rockchip,rk3506-cru.h   |  285 ++++
 .../dt-bindings/reset/rockchip,rk3506-cru.h   |  211 +++
 include/configs/rk3506_common.h               |   38 +
 tools/rkcommon.c                              |    1 +
 31 files changed, 3136 insertions(+), 27 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-rk3506/boot0.h
 create mode 100644 arch/arm/include/asm/arch-rk3506/gpio.h
 create mode 100644 arch/arm/include/asm/arch-rockchip/cru_rk3506.h
 create mode 100644 arch/arm/mach-rockchip/rk3506/Kconfig
 create mode 100644 arch/arm/mach-rockchip/rk3506/Makefile
 create mode 100644 arch/arm/mach-rockchip/rk3506/clk_rk3506.c
 create mode 100644 arch/arm/mach-rockchip/rk3506/rk3506.c
 create mode 100644 arch/arm/mach-rockchip/rk3506/syscon_rk3506.c
 create mode 100644 drivers/clk/rockchip/clk_rk3506.c
 create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3506.c
 create mode 100644 drivers/ram/rockchip/sdram_rk3506.c
 create mode 100644 drivers/reset/rst-rk3506.c
 create mode 100644 dts/upstream/Bindings/clock/rockchip,rk3506-cru.yaml
 create mode 100644 dts/upstream/include/dt-bindings/clock/rockchip,rk3506-cru.h
 create mode 100644 dts/upstream/include/dt-bindings/reset/rockchip,rk3506-cru.h
 create mode 100644 include/configs/rk3506_common.h

-- 
2.52.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-01-12 20:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-09  0:49 [PATCH 00/10] rockchip: Add initial support for RK3506 Jonas Karlman
2026-01-09  0:49 ` [PATCH 01/10] rockchip: mkimage: Add " Jonas Karlman
2026-01-09  0:49 ` [PATCH 02/10] ram: rockchip: Add basic " Jonas Karlman
2026-01-09  0:49 ` [PATCH 03/10] dt-bindings: clock: rockchip: Add RK3506 clock and reset unit Jonas Karlman
2026-01-09  0:49 ` [PATCH 04/10] clk: rockchip: Add support for RK3506 Jonas Karlman
2026-01-09  0:49 ` [PATCH 05/10] pinctrl: rockchip: Use syscon_regmap_lookup_by_phandle() Jonas Karlman
2026-01-09  0:49 ` [PATCH 06/10] pinctrl: rockchip: Add support for RK3506 Jonas Karlman
2026-01-09  0:49 ` [PATCH 07/10] rockchip: otp: " Jonas Karlman
2026-01-09  0:49 ` [PATCH 08/10] phy: rockchip-inno-usb2: " Jonas Karlman
2026-01-09  0:49 ` [PATCH 09/10] net: dwc_eth_qos_rockchip: " Jonas Karlman
2026-01-09  0:49 ` [PATCH 10/10] arch: arm: rockchip: Add initial " Jonas Karlman
2026-01-09  9:37   ` Mattijs Korpershoek
2026-01-09 20:23 ` [PATCH 00/10] " Aaron Griffith
2026-01-12 20:16   ` Jonas Karlman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox