[RFC PATCH 5/5] arm: dts: Introduce AM62D2-EVM dtbs

Andrew Davis afd at ti.com
Tue Sep 2 15:45:50 CEST 2025


On 9/2/25 1:07 AM, Paresh Bhagat wrote:
> Introduce the base dts files needed for u-boot or to augment the
> linux dtbs for use in the u-boot-spl and u-boot binaries.
> Support added for HS-SE and HS-FS boot binaries for AM62dx via
> binman.
> 
> Signed-off-by: Paresh Bhagat <p-bhagat at ti.com>
> ---
>   arch/arm/dts/Makefile                        |    2 +
>   arch/arm/dts/k3-am62d-ddr-1866mhz-32bit.dtsi | 2802 ++++++++++++++++++
>   arch/arm/dts/k3-am62d-evm-binman.dtsi        |  359 +++
>   arch/arm/dts/k3-am62d2-evm-u-boot.dtsi       |   14 +
>   arch/arm/dts/k3-am62d2-r5-evm.dts            |   82 +
>   5 files changed, 3259 insertions(+)
>   create mode 100644 arch/arm/dts/k3-am62d-ddr-1866mhz-32bit.dtsi
>   create mode 100644 arch/arm/dts/k3-am62d-evm-binman.dtsi
>   create mode 100644 arch/arm/dts/k3-am62d2-evm-u-boot.dtsi
>   create mode 100644 arch/arm/dts/k3-am62d2-r5-evm.dts
> 
> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> index ff8f1ed1ac0..99c37b9c02a 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -1109,6 +1109,8 @@ dtb-$(CONFIG_SOC_K3_AM62A7) += \
>   	k3-am62a7-r5-sk.dtb \
>   	k3-am62a7-r5-phycore-som-2gb.dtb
>   
> +dtb-$(CONFIG_SOC_K3_AM62D2) += k3-am62d2-r5-evm.dtb
> +
>   dtb-$(CONFIG_SOC_K3_AM62P5) += k3-am62p5-r5-sk.dtb \
>   			       k3-am62p5-verdin-r5.dtb \
>   			       k3-am62p5-verdin-wifi-dev.dtb

[...]

> +&binman {
> +	ti-spl_unsigned {

Why do we need these unsigned versions of tispl.bin and u-boot.img if we only support HS?

Andrew

> +		insert-template = <&ti_spl_unsigned_template>;
> +
> +		fit {
> +			images {
> +				tifsstub-hs {
> +					description = "tifsstub";
> +					type = "firmware";
> +					arch = "arm32";
> +					compression = "none";
> +					os = "tifsstub-hs";
> +					load = <0x9ca00000>;
> +					entry = <0x9ca00000>;
> +					blob-ext {
> +						filename = "tifsstub.bin_hs";
> +					};
> +				};
> +
> +				tifsstub-fs {
> +					description = "tifsstub";
> +					type = "firmware";
> +					arch = "arm32";
> +					compression = "none";
> +					os = "tifsstub-fs";
> +					load = <0x9ca00000>;
> +					entry = <0x9ca00000>;
> +					blob-ext {
> +						filename = "tifsstub.bin_fs";
> +					};
> +				};
> +
> +				dm {
> +					ti-dm {
> +						filename = AM62A7_SK_DM;
> +					};
> +				};
> +
> +				fdt-0 {
> +					description = "k3-am62d2-evm";
> +					type = "flat_dt";
> +					arch = "arm";
> +					compression = "none";
> +					blob {
> +						filename = "spl/dts/ti/k3-am62d2-evm.dtb";
> +					};
> +				};
> +			};
> +
> +			configurations {
> +				default = "conf-0";
> +
> +				conf-0 {
> +					description = "k3-am62d2-evm";
> +					firmware = "atf";
> +					loadables = "tee", "dm", "spl",
> +					"tifsstub-hs", "tifsstub-fs";
> +					fdt = "fdt-0";
> +				};
> +			};
> +		};
> +	};
> +};
> +
> +&binman {
> +	u-boot_unsigned {
> +		insert-template = <&u_boot_unsigned_template>;
> +
> +		fit {
> +			images {
> +				uboot {
> +					description = "U-Boot for AM62Dx Board";
> +				};
> +
> +				fdt-0 {
> +					description = "k3-am62d2-evm";
> +					type = "flat_dt";
> +					arch = "arm";
> +					compression = "none";
> +					blob {
> +						filename = "u-boot.dtb";
> +					};
> +					hash {
> +						algo = "crc32";
> +					};
> +				};
> +			};
> +
> +			configurations {
> +				default = "conf-0";
> +
> +				conf-0 {
> +					description = "k3-am62d2-evm";
> +					firmware = "uboot";
> +					loadables = "uboot";
> +					fdt = "fdt-0";
> +				};
> +			};
> +		};
> +	};
> +};
> +#endif
> diff --git a/arch/arm/dts/k3-am62d2-evm-u-boot.dtsi b/arch/arm/dts/k3-am62d2-evm-u-boot.dtsi
> new file mode 100644
> index 00000000000..d1b17e8f83f
> --- /dev/null
> +++ b/arch/arm/dts/k3-am62d2-evm-u-boot.dtsi
> @@ -0,0 +1,14 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * Common AM62D EVM dts file for SPLs
> + * Copyright (C) 2025 Texas Instruments Incorporated - https://www.ti.com/
> + */
> +
> +#include "k3-am62d-evm-binman.dtsi"
> +
> +/ {
> +	chosen {
> +		stdout-path = "serial2:115200n8";
> +		tick-timer = &main_timer0;
> +	};
> +};
> diff --git a/arch/arm/dts/k3-am62d2-r5-evm.dts b/arch/arm/dts/k3-am62d2-r5-evm.dts
> new file mode 100644
> index 00000000000..a3213d00145
> --- /dev/null
> +++ b/arch/arm/dts/k3-am62d2-r5-evm.dts
> @@ -0,0 +1,82 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * AM62D2 EVM dts file for R5 SPL
> + * Copyright (C) 2025 Texas Instruments Incorporated - https://www.ti.com/
> + */
> +
> +#include "k3-am62d2-evm.dts"
> +#include "k3-am62d-ddr-1866mhz-32bit.dtsi"
> +#include "k3-am62a-ddr.dtsi"
> +
> +#include "k3-am62d2-evm-u-boot.dtsi"
> +
> +/ {
> +	aliases {
> +		tick-timer = &main_timer0;
> +		remoteproc0 = &sysctrler;
> +		remoteproc1 = &a53_0;
> +	};
> +
> +	a53_0: a53 at 0 {
> +		compatible = "ti,am654-rproc";
> +		reg = <0x00 0x00a90000 0x00 0x10>;
> +		power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
> +				<&k3_pds 135 TI_SCI_PD_EXCLUSIVE>,
> +				<&k3_pds 166 TI_SCI_PD_EXCLUSIVE>;
> +		resets = <&k3_reset 135 0>;
> +		clocks = <&k3_clks 61 0>, <&k3_clks 135 0>;
> +		clock-names = "gtc", "core";
> +		assigned-clocks = <&k3_clks 61 0>, <&k3_clks 135 0>;
> +		assigned-clock-parents = <&k3_clks 61 2>;
> +		assigned-clock-rates = <200000000>, <1200000000>;
> +		ti,sci = <&dmsc>;
> +		ti,sci-proc-id = <32>;
> +		ti,sci-host-id = <10>;
> +		bootph-pre-ram;
> +	};
> +
> +	dm_tifs: dm-tifs {
> +		compatible = "ti,j721e-dm-sci";
> +		ti,host-id = <36>;
> +		ti,secure-host;
> +		mbox-names = "rx", "tx";
> +		mboxes= <&secure_proxy_main 22>,
> +			<&secure_proxy_main 23>;
> +		bootph-pre-ram;
> +	};
> +};
> +
> +&dmsc {
> +	mboxes= <&secure_proxy_main 0>,
> +		<&secure_proxy_main 1>,
> +		<&secure_proxy_main 0>;
> +	mbox-names = "rx", "tx", "notify";
> +	ti,host-id = <35>;
> +	ti,secure-host;
> +};
> +
> +&secure_proxy_sa3 {
> +	/* Needed for initial handshake with ROM */
> +	status = "okay";
> +	bootph-pre-ram;
> +};
> +
> +&cbass_main {
> +	sysctrler: sysctrler {
> +		compatible = "ti,am654-tisci-rproc-r5";
> +		mboxes= <&secure_proxy_main 1>,
> +			<&secure_proxy_main 0>,
> +			<&secure_proxy_sa3 0>;
> +		mbox-names = "tx", "rx", "boot_notify";
> +		bootph-pre-ram;
> +	};
> +};
> +
> +&main_timer0 {
> +	/delete-property/ clocks;
> +	/delete-property/ clocks-names;
> +	/delete-property/ assigned-clocks;
> +	/delete-property/ assigned-clock-parents;
> +	clock-frequency = <25000000>;
> +	bootph-pre-ram;
> +};



More information about the U-Boot mailing list