summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHeiko Stuebner <[email protected]>2025-04-15 23:51:28 +0200
committerKever Yang <[email protected]>2025-04-23 22:12:06 +0800
commitf7c8a69df1243496c1de04a83718d50e48efaab5 (patch)
tree513e1ac13715293afc2c164455e9ef88dafe5609 /arch
parenta1d78866dd44cdcaaa4538a15dbd251a2b309b7d (diff)
rockchip: rk3576: Add support for ROC-RK3576-PC board
The ROC-RK3576-PC is a SBC made by Firefly, designed around the RK3576 SoC. This adds the needed board infrastructure and config for it. Signed-off-by: Heiko Stuebner <[email protected]> Reviewed-by: Jonas Karlman <[email protected]> Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/rk3576-roc-pc-u-boot.dtsi11
-rw-r--r--arch/arm/mach-rockchip/rk3576/Kconfig8
2 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/dts/rk3576-roc-pc-u-boot.dtsi b/arch/arm/dts/rk3576-roc-pc-u-boot.dtsi
new file mode 100644
index 00000000000..97240345ed4
--- /dev/null
+++ b/arch/arm/dts/rk3576-roc-pc-u-boot.dtsi
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2023 Joshua Riek <[email protected]>
+ *
+ */
+
+#include "rk3576-u-boot.dtsi"
+
+&sdhci {
+ cap-mmc-highspeed;
+};
diff --git a/arch/arm/mach-rockchip/rk3576/Kconfig b/arch/arm/mach-rockchip/rk3576/Kconfig
index a94dc6706f0..f347caf8904 100644
--- a/arch/arm/mach-rockchip/rk3576/Kconfig
+++ b/arch/arm/mach-rockchip/rk3576/Kconfig
@@ -1,5 +1,11 @@
if ROCKCHIP_RK3576
+config TARGET_ROC_PC_RK3576
+ bool "Firefly ROC-RK3576-PC"
+ help
+ ROC-RK3576-PC is a single board computer from Firefly
+ using the Rockchip RK3576.
+
config ROCKCHIP_BOOT_MODE_REG
default 0x26024040
@@ -9,6 +15,8 @@ config ROCKCHIP_STIMER_BASE
config SYS_SOC
default "rk3576"
+source board/firefly/roc-pc-rk3576/Kconfig
+
config SYS_CONFIG_NAME
default "rk3576_common"