]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
rockchip: rk3588s-rock-5c: Add support for ROCK 5C Lite variant
authorJonas Karlman <jonas@kwiboo.se>
Wed, 7 Jan 2026 23:07:41 +0000 (23:07 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 10 Mar 2026 16:06:58 +0000 (10:06 -0600)
Add Kconfig option OF_SYSTEM_SETUP=y to support booting ROCK 5C Lite
boards with a RK3582 SoC. CPU and GPU cores are failed based on ip-state
and policy.

Tested on a ROCK 5C Lite v1.1:

  cpu-code: 35 82
  ip-state: 00 80 00 (otp)
  ip-state: c0 9e 04 (policy)
  remove cpu-map cluster2
  fail gpu
  fail rkvdec1
  fail rkvenc1
  fail cpu cpu@600
  fail cpu cpu@700

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/rk3588/Kconfig
configs/rock-5c-rk3588s_defconfig
doc/board/rockchip/rockchip.rst

index 60c16d2f32d27977e5ddf8675b9dfe04da50253b..675f13ab66d7b403caeba147ab5f150b121c4ddc 100644 (file)
@@ -286,14 +286,15 @@ config TARGET_ROCK_5_ITX_RK3588
          Powered by either 12V, ATX power-supply or PoE
 
 config TARGET_ROCK_5C_RK3588S
-       bool "Radxa ROCK 5C RK3588S2 board"
+       bool "Radxa ROCK 5C/5C Lite"
        help
-         Radxa ROCK 5C is a Rockchip RK3588S2 based single board computer.
+         Radxa ROCK 5C/5C Lite is a Rockchip RK3588S2/RK3582 based SBC (Single
+         Board Computer) by Radxa.
 
          Specification:
 
-         Quad A76 and Quad A55 CPU
-         6 TOPS NPU
+         Quad/Dual A76 and Quad A55 CPU
+         6/5 TOPS NPU
          up to 32GB LPDDR4x RAM
          eMMC / SPI flash connector
          Micro SD Card slot
index 2748fb488c2dbc95e74d6b7988efe86e23313aed..f83d3f6d6c9242a094f5fa506ebe2aff2de75032 100644 (file)
@@ -18,6 +18,7 @@ CONFIG_FIT_VERBOSE=y
 CONFIG_SPL_FIT_SIGNATURE=y
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
+CONFIG_OF_SYSTEM_SETUP=y
 CONFIG_DEFAULT_FDT_FILE="rockchip/rk3588s-rock-5c.dtb"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL_MAX_SIZE=0x40000
index 886df1c39cbc12f99e9d6d730d6179a97fba847b..7a8532b49fc55375d34cf00dc3421917fe0b92ce 100644 (file)
@@ -163,7 +163,7 @@ List of mainline supported Rockchip boards:
      - Radxa ROCK 5 ITX (rock-5-itx-rk3588)
      - Radxa ROCK 5A (rock5a-rk3588s)
      - Radxa ROCK 5B/5B+/5T (rock5b-rk3588)
-     - Radxa ROCK 5C (rock-5c-rk3588s)
+     - Radxa ROCK 5C/5C Lite (rock-5c-rk3588s)
      - Rockchip Toybrick TB-RK3588X (toybrick-rk3588)
      - Theobroma Systems RK3588-SBC Jaguar (jaguar-rk3588)
      - Theobroma Systems SOM-RK3588-Q7 - Tiger (tiger-rk3588)