Files
u-boot/arch/arm/dts/rk3576-u-boot.dtsi
Jonas Karlman bdcda6be27 arm: dts: rockchip: Include OTP in U-Boot pre-reloc phase for RK3576
Update rk3576-u-boot.dtsi to include OTP in U-Boot pre-reloc phase for
checkboard() to be able to read information about the running SoC model
and variant from OTP and print it during boot:

  U-Boot 2025.04 (Apr 22 2025 - 20:43:17 +0000)

  Model: Generic RK3576
  SoC:   RK3576
  DRAM:  8 GiB

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2025-08-30 23:01:28 +08:00

136 lines
1.4 KiB
Plaintext

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* (C) Copyright 2025 Rockchip Electronics Co., Ltd
*/
#include "rockchip-u-boot.dtsi"
/ {
chosen {
u-boot,spl-boot-order = "same-as-spl", &sdmmc, &sdhci;
};
dmc {
compatible = "rockchip,rk3576-dmc";
bootph-all;
};
};
&cru {
bootph-all;
};
&emmc_bus8 {
bootph-pre-ram;
bootph-some-ram;
};
&emmc_clk {
bootph-pre-ram;
bootph-some-ram;
};
&emmc_cmd {
bootph-pre-ram;
bootph-some-ram;
};
&emmc_rstnout {
bootph-pre-ram;
bootph-some-ram;
};
&emmc_strb {
bootph-pre-ram;
bootph-some-ram;
};
&ioc_grf {
bootph-all;
};
&otp {
bootph-some-ram;
};
&pcfg_pull_none {
bootph-all;
};
&pcfg_pull_up {
bootph-all;
};
&pcfg_pull_up_drv_level_2 {
bootph-pre-ram;
bootph-some-ram;
};
&pcfg_pull_up_drv_level_3 {
bootph-pre-ram;
bootph-some-ram;
};
&pinctrl {
bootph-all;
};
&pmu1_grf {
bootph-all;
};
&sdhci {
bootph-pre-ram;
bootph-some-ram;
u-boot,spl-fifo-mode;
};
&sdmmc {
bootph-pre-ram;
bootph-some-ram;
u-boot,spl-fifo-mode;
};
&sdmmc0_bus4 {
bootph-pre-ram;
bootph-some-ram;
};
&sdmmc0_clk {
bootph-pre-ram;
bootph-some-ram;
};
&sdmmc0_cmd {
bootph-pre-ram;
bootph-some-ram;
};
&sdmmc0_det {
bootph-pre-ram;
bootph-some-ram;
};
&sdmmc0_pwren {
bootph-pre-ram;
bootph-some-ram;
};
&sys_grf {
bootph-all;
};
&uart0 {
bootph-all;
clock-frequency = <24000000>;
};
&uart0m0_xfer {
bootph-pre-sram;
bootph-pre-ram;
};
&xin24m {
bootph-all;
};