Skip to content

Commit

Permalink
uboot-rockchip: add ArmSoM Sige7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Sep 18, 2024
1 parent 98e2f0b commit 2ad2021
Show file tree
Hide file tree
Showing 5 changed files with 812 additions and 1 deletion.
19 changes: 18 additions & 1 deletion package/boot/uboot-rockchip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,22 @@ define U-Boot/station-p2-rk3568
firefly_station-p2
endef

# RK3588 boards

define U-Boot/Default/rk3588
BUILD_SUBTARGET:=armv8
DEPENDS:=+PACKAGE_u-boot-$(1):rkbin-rk3588
ATF:=rk3588_bl31_v1.45.elf
TPL:=rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.16.bin
endef

define U-Boot/sige7-rk3588
$(U-Boot/Default/rk3588)
NAME:=Sige7
BUILD_DEVICES:= \
armsom_sige7
endef

UBOOT_TARGETS := \
panther-x2-rk3566 \
rock-3c-rk3566 \
Expand Down Expand Up @@ -312,7 +328,8 @@ UBOOT_TARGETS := \
nanopi-r2c-rk3328 \
nanopi-r2s-rk3328 \
orangepi-r1-plus-rk3328 \
orangepi-r1-plus-lts-rk3328
orangepi-r1-plus-lts-rk3328 \
sige7-rk3588

UBOOT_CONFIGURE_VARS += USE_PRIVATE_LIBGCC=yes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@
rk3568-mrkaio-m68s.dtb \
rk3568-nanopi-r5s.dtb \
rk3568-photonicat.dtb \
@@ -191,6 +191,7 @@
rk3568-rsb4810.dtb

dtb-$(CONFIG_ROCKCHIP_RK3588) += \
+ rk3588-armsom-sige7.dtb \
rk3588-edgeble-neu6a-io.dtb \
rk3588-evb1-v10.dtb \
rk3588-rock-5b.dtb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "rk3588-u-boot.dtsi"

/ {
chosen {
u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc;
};
};

&sdhci {
cap-mmc-highspeed;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
};
Loading

0 comments on commit 2ad2021

Please sign in to comment.