uboot-rockchip: update rk3528 support

Fixes: #13380
This commit is contained in:
coolsnowwolf 2025-01-11 23:40:36 +08:00
parent c65c2ad5b0
commit fe71259e68
2 changed files with 26 additions and 8 deletions

View File

@ -30,14 +30,7 @@ define U-Boot/evb-rk3528
BUILD_SUBTARGET:=armv8
NAME:=RK3528 Evaluation
BUILD_DEVICES:= \
armsom_sige1 \
hinlink_opc-h28k \
hinlink_opc-h29k \
hinlink_opc-ht2 \
radxa_e20c \
widora_mangopi-m28c \
widora_mangopi-m28k \
widora_mangopi-m28k-pro
armsom_sige1
DEPENDS:=+PACKAGE_u-boot-evb-rk3528:rkbin-rk3528
ATF:=rk3528_bl31_v1.17.elf
DDR:=rk3528_ddr_1056MHz_v1.10.bin

View File

@ -197,3 +197,28 @@ Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
* rk3566
- Anbernic RGxx3 (anbernic-rgxx3-rk3566)
--- /dev/null
+++ b/dts/upstream/src/arm64/rockchip/rk3528-radxa-e20c.dts
@@ -0,0 +1,22 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (c) 2020 Rockchip Electronics Co., Ltd
+ * Copyright (c) 2024 Radxa Limited
+ * Copyright (c) 2024 Yao Zi <ziyao@disroot.org>
+ */
+
+/dts-v1/;
+#include "rk3528.dtsi"
+
+/ {
+ model = "Radxa E20C";
+ compatible = "radxa,e20c", "rockchip,rk3528";
+
+ chosen {
+ stdout-path = "serial0:1500000n8";
+ };
+};
+
+&uart0 {
+ status = "okay";
+};