[PATCH 4/4] arm: dts: k3-j722s*: Add overrides specific to OSPI

Kumar, Udit u-kumar1 at ti.com
Tue Dec 10 16:38:31 CET 2024


On 12/10/2024 7:27 PM, Prasanth Babu Mantena wrote:
> From: Vaishnav Achath <vaishnav.a at ti.com>
>
> OSPI Booot requires overrides specific to R5 and also

Booot to Boot please


> to use DMA in R5 SPL stage the DM_TIFS needs to be enabled.

Sorry but, you are not enabling DM_TIFS, rather using it,

Please update commit message accordingly


> Add the corresponding overrides for R5 SPL stage.
>
> Signed-off-by: Vaishnav Achath <vaishnav.a at ti.com>
> Signed-off-by: Prasanth Babu Mantena <p-mantena at ti.com>
> ---
>   arch/arm/dts/k3-j722s-evm-u-boot.dtsi |  4 ++++
>   arch/arm/dts/k3-j722s-r5-evm.dts      | 13 +++++++++++++
>   2 files changed, 17 insertions(+)
>
> diff --git a/arch/arm/dts/k3-j722s-evm-u-boot.dtsi b/arch/arm/dts/k3-j722s-evm-u-boot.dtsi
> index 88c4a72db61..6ae76beea3e 100644
> --- a/arch/arm/dts/k3-j722s-evm-u-boot.dtsi
> +++ b/arch/arm/dts/k3-j722s-evm-u-boot.dtsi
> @@ -16,3 +16,7 @@
>   &dmsc {
>   	bootph-pre-ram;
>   };
> +
> +&main_bcdma {
> +	bootph-pre-ram;
> +};
> diff --git a/arch/arm/dts/k3-j722s-r5-evm.dts b/arch/arm/dts/k3-j722s-r5-evm.dts
> index 1bec997c93c..d797e954f97 100644
> --- a/arch/arm/dts/k3-j722s-r5-evm.dts
> +++ b/arch/arm/dts/k3-j722s-r5-evm.dts
> @@ -81,3 +81,16 @@
>   &wkup_uart0 {
>   	status = "okay";
>   };
> +
> +&ospi0 {
> +	reg = <0x00 0x0fc40000 0x00 0x100>,
> +	      <0x00 0x60000000 0x00 0x08000000>;
> +};
> +
> +&main_bcdma {
> +	ti,sci = <&dm_tifs>;
> +};
> +
> +&main_pktdma {
> +	ti,sci = <&dm_tifs>;
> +};


More information about the U-Boot mailing list