Skip to content

Commit

Permalink
[WIP] add support for ROCK 3 Compute Module Industrial / Radxa E25
Browse files Browse the repository at this point in the history
how to build:
 export BL31=path/to/rk3568_bl31_v1.28.elf # v1.29 and later don't work
 make CROSS_COMPILE=aarch64-linux-gnu- radxa-e25-rk3568_defconfig all
 ./tools/mkimage -n rk3568 -T rksd -d path/to/rk3568_ddr_1056MHz_vX.XX.bin:spl/u-boot-spl.bin idbloader.img

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
  • Loading branch information
RadxaNaoki committed Dec 31, 2022
1 parent 404d220 commit e5828f9
Show file tree
Hide file tree
Showing 4 changed files with 665 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ dtb-$(CONFIG_ROCKCHIP_RK3399) += \

dtb-$(CONFIG_ROCKCHIP_RK3568) += \
rk3566-radxa-cm3-sodimm-io.dtb \
rk3568-evb.dtb
rk3568-evb.dtb \
rk3568-radxa-e25.dtb

dtb-$(CONFIG_ROCKCHIP_RV1108) += \
rv1108-elgin-r1.dtb \
Expand Down
19 changes: 19 additions & 0 deletions arch/arm/dts/rk3568-radxa-e25-u-boot.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2022 Radxa Limited
*/

#include "rk356x-u-boot.dtsi"

/ {
chosen {
stdout-path = &uart2;
u-boot,spl-boot-order = "same-as-spl", &sdmmc0, &sdhci;
};
};

&uart2 {
clock-frequency = <24000000>;
u-boot,dm-spl;
status = "okay";
};

0 comments on commit e5828f9

Please sign in to comment.