[PATCH 2/2] arm: dts: k3-am642-evm/sk: Enable OSPI support in SPL

Tom Rini trini at konsulko.com
Fri Feb 23 17:41:20 CET 2024


On Thu, Feb 22, 2024 at 11:24:38PM -0600, Jonathan Humphreys wrote:
> Add bootph DT tags to enable OSPI in SPL.
> Set OSPI regs for R5 SPL to address OSPI's boot region.
> 
> Signed-off-by: Jonathan Humphreys <j-humphreys at ti.com>
> ---
>  arch/arm/dts/k3-am642-evm-u-boot.dtsi | 24 ++++++++++++++++++++++++
>  arch/arm/dts/k3-am642-r5-evm.dts      |  5 +++++
>  arch/arm/dts/k3-am642-r5-sk.dts       |  5 +++++
>  arch/arm/dts/k3-am642-sk-u-boot.dtsi  | 24 ++++++++++++++++++++++++
>  4 files changed, 58 insertions(+)
> 
> diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi
> index b843078243..f7ab9f9a30 100644
> --- a/arch/arm/dts/k3-am642-evm-u-boot.dtsi
> +++ b/arch/arm/dts/k3-am642-evm-u-boot.dtsi
> @@ -182,3 +182,27 @@
>  &cpsw_port2 {
>  	status = "disabled";
>  };
> +
> +&ospi0_pins_default {
> +	bootph-all;
> +};
> +
> +&fss {
> +	bootph-all;
> +};
> +
> +&ospi0 {
> +	bootph-all;
> +
> +	flash at 0 {
> +		bootph-all;
> +
> +		partitions {
> +			bootph-all;
> +
> +			partition at 3fc0000 {
> +				bootph-all;
> +			};
> +		};
> +	};
> +};

Do we really need these tags on the partition table? And if so, do we
need them in main U-Boot, or just SPL?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240223/3bb3f00e/attachment.sig>


More information about the U-Boot mailing list