Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A7137D0D16D for ; Wed, 7 Jan 2026 23:08:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9FB13840A9; Thu, 8 Jan 2026 00:08:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; secure) header.d=kwiboo.se header.i=@kwiboo.se header.b="fdh5ZNQJ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6B3A5840C1; Thu, 8 Jan 2026 00:08:15 +0100 (CET) Received: from smtp.forwardemail.net (smtp.forwardemail.net [121.127.44.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1AD79840A9 for ; Thu, 8 Jan 2026 00:08:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=SRS0=cfa6=7N=kwiboo.se=jonas@fe-bounces.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-e1b5cab7be; t=1767827290; bh=+SICpjMqeHWkH657CJRccX48zana6ISjje3Jqag7NFE=; b=fdh5ZNQJE2rP0799nwLw4PCKW1SR5QHytdpd/4g9bqeNlIrBO9EZGoiP0sAkqH0eP3jD78DeF us1SmB9XdjxiH82KUh9zh+Y1hALIqAxIByGw/bHBEL6k6/aL4oa9Z7GNWf7LzOMauD/N2JtirNa Zc7okVbvsKlI8JmbBcxpcjmitb3JNR+hTJeOEIhBGtJ7teGALg3MDdO+TJIS2lavYaNNUutr3kk +645Pc58oQ8tjjg+mT+vkroPcK+1TRAg6631oGw0hEGKyJECYYD8aXTpnYaEes+aBbjMV9Y+guD wb68zbSil6QuBpFm2BcaG1cydDStNQEZuZsio3G525+A== X-Forward-Email-ID: 695ee7570fa88ce243537b46 X-Forward-Email-Sender: rfc822; jonas@kwiboo.se, smtp.forwardemail.net, 121.127.44.73 X-Forward-Email-Version: 2.2.2 X-Forward-Email-Website: https://forwardemail.net X-Complaints-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Report-Abuse-To: abuse@forwardemail.net From: Jonas Karlman To: Kever Yang , Simon Glass , Philipp Tomsich , Tom Rini , FUKAUMI Naoki Cc: Quentin Schulz , u-boot@lists.denx.de, Jonas Karlman Subject: [PATCH v4 3/3] rockchip: rk3588s-rock-5c: Add support for ROCK 5C Lite variant Date: Wed, 7 Jan 2026 23:07:41 +0000 Message-ID: <20260107230747.3552391-4-jonas@kwiboo.se> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260107230747.3552391-1-jonas@kwiboo.se> References: <20260107230747.3552391-1-jonas@kwiboo.se> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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 --- v4: Update commit message to reflect updated policy v3: Update commit message to reflect updated policy v2: New patch --- arch/arm/mach-rockchip/rk3588/Kconfig | 9 +++++---- configs/rock-5c-rk3588s_defconfig | 1 + doc/board/rockchip/rockchip.rst | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-rockchip/rk3588/Kconfig b/arch/arm/mach-rockchip/rk3588/Kconfig index 60c16d2f32d2..675f13ab66d7 100644 --- a/arch/arm/mach-rockchip/rk3588/Kconfig +++ b/arch/arm/mach-rockchip/rk3588/Kconfig @@ -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 diff --git a/configs/rock-5c-rk3588s_defconfig b/configs/rock-5c-rk3588s_defconfig index 2748fb488c2d..f83d3f6d6c92 100644 --- a/configs/rock-5c-rk3588s_defconfig +++ b/configs/rock-5c-rk3588s_defconfig @@ -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 diff --git a/doc/board/rockchip/rockchip.rst b/doc/board/rockchip/rockchip.rst index 886df1c39cbc..7a8532b49fc5 100644 --- a/doc/board/rockchip/rockchip.rst +++ b/doc/board/rockchip/rockchip.rst @@ -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) -- 2.52.0