[PATCH v2 3/3] ARM: dts: stm32: add rcc node for STM32MP13

Patrice CHOTARD patrice.chotard at foss.st.com
Fri May 20 08:28:42 CEST 2022


Hi Patrick

On 5/19/22 17:56, Patrick Delaunay wrote:
> Add the RCC node, not yet in Linux kernel device tree
> to handle the U-Boot RCC drivers with the needed U-Boot
> property "u-boot,dm-pre-reloc" property as the clock and reset drivers
> are required during pre-location.
> 
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---
> 
> (no changes since v1)
> 
>  arch/arm/dts/stm32mp13-u-boot.dtsi | 4 ++++
>  arch/arm/dts/stm32mp131.dtsi       | 7 +++++++
>  2 files changed, 11 insertions(+)
> 
> diff --git a/arch/arm/dts/stm32mp13-u-boot.dtsi b/arch/arm/dts/stm32mp13-u-boot.dtsi
> index 1b5b358690..126f282816 100644
> --- a/arch/arm/dts/stm32mp13-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp13-u-boot.dtsi
> @@ -86,6 +86,10 @@
>  	u-boot,dm-pre-reloc;
>  };
>  
> +&rcc {
> +	u-boot,dm-pre-reloc;
> +};
> +
>  &syscfg {
>  	u-boot,dm-pre-reloc;
>  };
> diff --git a/arch/arm/dts/stm32mp131.dtsi b/arch/arm/dts/stm32mp131.dtsi
> index 950e172e45..fcb0af09b5 100644
> --- a/arch/arm/dts/stm32mp131.dtsi
> +++ b/arch/arm/dts/stm32mp131.dtsi
> @@ -159,6 +159,13 @@
>  			dma-channels = <16>;
>  		};
>  
> +		rcc: rcc at 50000000 {
> +			compatible = "st,stm32mp13-rcc", "syscon";
> +			reg = <0x50000000 0x1000>;
> +			#clock-cells = <1>;
> +			#reset-cells = <1>;
> +		};
> +
>  		exti: interrupt-controller at 5000d000 {
>  			compatible = "st,stm32mp13-exti", "syscon";
>  			interrupt-controller;
Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>

Thanks
Patrice


More information about the U-Boot mailing list