[PATCH v3 5/8] arm: dts: rockchip: Include OTP in U-Boot pre-reloc phase for RK3576

Kever Yang kever.yang at rock-chips.com
Sat Aug 30 16:56:46 CEST 2025


On 2025/8/2 04:32, Jonas Karlman wrote:
> 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 at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
> v3: No change
> ---
>   arch/arm/dts/rk3576-u-boot.dtsi | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/dts/rk3576-u-boot.dtsi b/arch/arm/dts/rk3576-u-boot.dtsi
> index be99a48a630f..fb5a107f47d9 100644
> --- a/arch/arm/dts/rk3576-u-boot.dtsi
> +++ b/arch/arm/dts/rk3576-u-boot.dtsi
> @@ -49,6 +49,10 @@
>   	bootph-all;
>   };
>   
> +&otp {
> +	bootph-some-ram;
> +};
> +
>   &pcfg_pull_none {
>   	bootph-all;
>   };


More information about the U-Boot mailing list