]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
rockchip: rock5b-rk3588: Add support for Radxa ROCK 5T
authorFUKAUMI Naoki <naoki@radxa.com>
Fri, 7 Nov 2025 06:47:16 +0000 (06:47 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 13 Dec 2025 16:02:10 +0000 (00:02 +0800)
Include the FDT for Radxa ROCK 5T in the FIT, in addition to those for
5B and 5B+, and add board selection code to load the 5T FDT when the
DRAM type is LPDDR5 and ADC channel 5 value is close to 1016.

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3588-rock-5t-u-boot.dtsi [new file with mode: 0644]
board/radxa/rock5b-rk3588/rock5b-rk3588.c
configs/rock5b-rk3588_defconfig
doc/board/rockchip/rockchip.rst

diff --git a/arch/arm/dts/rk3588-rock-5t-u-boot.dtsi b/arch/arm/dts/rk3588-rock-5t-u-boot.dtsi
new file mode 100644 (file)
index 0000000..c07696c
--- /dev/null
@@ -0,0 +1,3 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+#include "rk3588-rock-5b-u-boot.dtsi"
index 6bf4497ce3aed0f48a538ad51d487e7c52c1ef09..2c172d04499e73e6875629883ec296ce47812162 100644 (file)
@@ -23,6 +23,7 @@ struct board_model {
 };
 
 static const struct board_model board_models[] = {
+       { LPDDR5,  926, 1106, "rockchip/rk3588-rock-5t.dtb" },
        { LPDDR5, 4005, 4185, "rockchip/rk3588-rock-5b-plus.dtb" },
 };
 
index 967cebc2054f6b68efa6c7f26f5f3e83d5d9c72d..567f649ea69734bd0fa1a7ebb975011243324c3e 100644 (file)
@@ -47,7 +47,7 @@ CONFIG_CMD_REGULATOR=y
 # CONFIG_SPL_DOS_PARTITION is not set
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_LIVE=y
-CONFIG_OF_LIST="rockchip/rk3588-rock-5b rockchip/rk3588-rock-5b-plus"
+CONFIG_OF_LIST="rockchip/rk3588-rock-5b rockchip/rk3588-rock-5b-plus rockchip/rk3588-rock-5t"
 CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
 CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_SPL_REGMAP=y
index 9af701feb5d9fc34a11a9bb5f873d1608d042b36..6ae4d4371ff6e2e501edfc35ec558149260bc49a 100644 (file)
@@ -162,7 +162,7 @@ List of mainline supported Rockchip boards:
      - Pine64 QuartzPro64 (quartzpro64-rk3588)
      - Radxa ROCK 5 ITX (rock-5-itx-rk3588)
      - Radxa ROCK 5A (rock5a-rk3588s)
-     - Radxa ROCK 5B/5B+ (rock5b-rk3588)
+     - Radxa ROCK 5B/5B+/5T (rock5b-rk3588)
      - Radxa ROCK 5C (rock-5c-rk3588s)
      - Rockchip Toybrick TB-RK3588X (toybrick-rk3588)
      - Theobroma Systems RK3588-SBC Jaguar (jaguar-rk3588)