[PATCH RFC 13/18] rockchip: rk356x: Add register spaces to DMC in u-boot.dtsi

Jonas Karlman jonas at kwiboo.se
Sun May 17 22:50:32 CEST 2026


Hi Pavel,

On 5/17/2026 9:24 PM, Pavel Golikov wrote:
> Add UTPCTL2 and DDRPHY register spaces, both needed for RK3568's SDRAM
> controller initialization.
> 
> Signed-off-by: Pavel Golikov <paullo612 at ya.ru>
> ---
>  arch/arm/dts/rk356x-u-boot.dtsi | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/rk356x-u-boot.dtsi b/arch/arm/dts/rk356x-u-boot.dtsi
> index 738b9673d35..b9f300a3274 100644
> --- a/arch/arm/dts/rk356x-u-boot.dtsi
> +++ b/arch/arm/dts/rk356x-u-boot.dtsi
> @@ -16,8 +16,11 @@
>  		u-boot,spl-boot-order = "same-as-spl", &sdmmc0, &sdhci;
>  	};
>  
> -	dmc: dmc {
> +	dmc: dmc at fe250000 {
>  		compatible = "rockchip,rk3568-dmc";
> +		reg = <0 0xfe250000 0 0x10000
> +		       0 0xfe800000 0 0x10000>;
> +

Please define these as constants in the driver, no need to waste space
or time adding these TPL only information unless we also have a proper
dt-bindings for the dram controller.

Regards,
Jonas

>  		bootph-all;
>  	};
>  
> 



More information about the U-Boot mailing list