[PATCH 5/7] ARM: dts: k3: Add cfg register space for ringacc and udmap

Lokesh Vutla lokeshvutla at ti.com
Tue May 11 06:51:16 CEST 2021



On 10/05/21 10:54 pm, Vignesh Raghavendra wrote:
> R5 SPL needs access to cfg space of Rings and UDMAP, therefore add RING
> CFG, TCHAN CFG and RCHAN CFG address ranges.
> 
> Signed-off-by: Vignesh Raghavendra <vigneshr at ti.com>
> ---
>  arch/arm/dts/k3-am654-base-board-u-boot.dtsi  | 14 ++++++++++
>  .../k3-j7200-common-proc-board-u-boot.dtsi    | 26 +++++++++++++++++++
>  .../k3-j721e-common-proc-board-u-boot.dtsi    | 14 ++++++++++

If these are specific to R5, then it should be moved to R5 dts no? -u-boot.dtsi
will be applied to A53 dts as well.

Thanks and regards,
Lokesh

>  3 files changed, 54 insertions(+)
> 
> diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
> index b0602d1dad..2840258518 100644
> --- a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
> +++ b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
> @@ -35,11 +35,25 @@
>  		u-boot,dm-spl;
>  
>  		ringacc at 2b800000 {
> +			reg =	<0x0 0x2b800000 0x0 0x400000>,
> +				<0x0 0x2b000000 0x0 0x400000>,
> +				<0x0 0x28590000 0x0 0x100>,
> +				<0x0 0x2a500000 0x0 0x40000>,
> +				<0x0 0x28440000 0x0 0x40000>;
> +			reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target", "cfg";
>  			u-boot,dm-spl;
>  			ti,dma-ring-reset-quirk;
>  		};
>  
>  		dma-controller at 285c0000 {
> +			reg =	<0x0 0x285c0000 0x0 0x100>,
> +				<0x0 0x284c0000 0x0 0x4000>,
> +				<0x0 0x2a800000 0x0 0x40000>,
> +				<0x0 0x284a0000 0x0 0x4000>,
> +				<0x0 0x2aa00000 0x0 0x40000>,
> +				<0x0 0x28400000 0x0 0x2000>;
> +			reg-names = "gcfg", "rchan", "rchanrt", "tchan",
> +					    "tchanrt", "rflow";
>  			u-boot,dm-spl;
>  		};
>  	};
> diff --git a/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
> index c3aae65b39..41ce9fcb59 100644
> --- a/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
> +++ b/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
> @@ -40,6 +40,32 @@
>  	chipid at 43000014 {
>  		u-boot,dm-spl;
>  	};
> +
> +	mcu-navss{
> +		u-boot,dm-spl;
> +
> +		ringacc at 2b800000 {
> +			reg =	<0x0 0x2b800000 0x0 0x400000>,
> +				<0x0 0x2b000000 0x0 0x400000>,
> +				<0x0 0x28590000 0x0 0x100>,
> +				<0x0 0x2a500000 0x0 0x40000>,
> +				<0x0 0x28440000 0x0 0x40000>;
> +			reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target", "cfg";
> +			u-boot,dm-spl;
> +		};
> +
> +		dma-controller at 285c0000 {
> +			reg =	<0x0 0x285c0000 0x0 0x100>,
> +				<0x0 0x284c0000 0x0 0x4000>,
> +				<0x0 0x2a800000 0x0 0x40000>,
> +				<0x0 0x284a0000 0x0 0x4000>,
> +				<0x0 0x2aa00000 0x0 0x40000>,
> +				<0x0 0x28400000 0x0 0x2000>;
> +			reg-names = "gcfg", "rchan", "rchanrt", "tchan",
> +					    "tchanrt", "rflow";
> +			u-boot,dm-spl;
> +		};
> +	};
>  };
>  
>  &secure_proxy_main {
> diff --git a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi
> index 1135de5a92..ed64f2720d 100644
> --- a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi
> +++ b/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi
> @@ -54,10 +54,24 @@
>  		u-boot,dm-spl;
>  
>  		ringacc at 2b800000 {
> +			reg =	<0x0 0x2b800000 0x0 0x400000>,
> +				<0x0 0x2b000000 0x0 0x400000>,
> +				<0x0 0x28590000 0x0 0x100>,
> +				<0x0 0x2a500000 0x0 0x40000>,
> +				<0x0 0x28440000 0x0 0x40000>;
> +			reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target", "cfg";
>  			u-boot,dm-spl;
>  		};
>  
>  		dma-controller at 285c0000 {
> +			reg =	<0x0 0x285c0000 0x0 0x100>,
> +				<0x0 0x284c0000 0x0 0x4000>,
> +				<0x0 0x2a800000 0x0 0x40000>,
> +				<0x0 0x284a0000 0x0 0x4000>,
> +				<0x0 0x2aa00000 0x0 0x40000>,
> +				<0x0 0x28400000 0x0 0x2000>;
> +			reg-names = "gcfg", "rchan", "rchanrt", "tchan",
> +					    "tchanrt", "rflow";
>  			u-boot,dm-spl;
>  		};
>  	};
> 


More information about the U-Boot mailing list