Devicetree
 help / color / mirror / Atom feed
From: Andrew Davis <afd@ti.com>
To: "Markus Schneider-Pargmann (TI)" <msp@baylibre.com>,
	Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
	Tero Kristo <kristo@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Nathan Chancellor <nathan@kernel.org>,
	Nick Desaulniers <nick.desaulniers+lkml@gmail.com>,
	"Bill Wendling" <morbo@google.com>,
	Justin Stitt <justinstitt@google.com>,
	"Judith Mendez" <jm@ti.com>, Daniel Schultz <d.schultz@phytec.de>,
	Siddharth Vadapalli <s-vadapalli@ti.com>,
	Paresh Bhagat <p-bhagat@ti.com>, Bryan Brattlof <bb@ti.com>,
	Jai Luthra <jai.luthra@ideasonboard.com>,
	Devarsh Thakkar <devarsht@ti.com>,
	Beleswar Padhi <b-padhi@ti.com>,
	Francesco Dolcini <francesco.dolcini@toradex.com>,
	Stefano Radaelli <stefano.radaelli21@gmail.com>
Cc: Vishal Mahaveer <vishalm@ti.com>,
	Kevin Hilman <khilman@baylibre.com>,
	Sebin Francis <sebin.francis@ti.com>,
	Kendall Willis <k-willis@ti.com>, Akashdeep Kaur <a-kaur@ti.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<llvm@lists.linux.dev>, Hari Nagalla <hnagalla@ti.com>
Subject: Re: [PATCH v7 07/11] arm64: dts: ti: k3-am62a-ti-ipc-firmware: Move wkup reserved memory
Date: Thu, 9 Jul 2026 14:33:24 -0500	[thread overview]
Message-ID: <f9a23a59-4346-4408-92c6-11b9162f0efa@ti.com> (raw)
In-Reply-To: <20260701-topic-am62a-ioddr-dt-v6-19-v7-7-e9db8b16821a@baylibre.com>

On 7/1/26 7:39 AM, Markus Schneider-Pargmann (TI) wrote:
> Move the reserved memory regions used for wkup_r5fss0_core0 to the
> k3-am62a-ti-ipc-firmware.dtsi. These are all the same for the other
> boards as well, so we can combine them here similar to what is already
> done for the mcu_r5fss0_core0 memory regions.

The reason we left this region here in the base DTSI is this region
is for the DM firmware and is required for the SoC to function.
The other firmware regions are all optional.

Andrew

> 
> It also moves the bootph-pre-ram flags from k3-am62d2-evm.dts into the
> firmware dtsi so that all boards inherit them.
> 
> Signed-off-by: Markus Schneider-Pargmann (TI) <msp@baylibre.com>
> ---
>   arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi     | 12 ------------
>   arch/arm64/boot/dts/ti/k3-am62a-ti-ipc-firmware.dtsi | 14 ++++++++++++++
>   arch/arm64/boot/dts/ti/k3-am62a7-sk.dts              | 12 ------------
>   arch/arm64/boot/dts/ti/k3-am62d2-evm.dts             | 17 -----------------
>   4 files changed, 14 insertions(+), 41 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi
> index e13da7c95a30459e7649f284689039b89a95f651..228ffa4be4be7b32e43a06d807d3fee073d203dc 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi
> @@ -59,18 +59,6 @@ linux,cma {
>   			linux,cma-default;
>   		};
>   
> -		wkup_r5fss0_core0_dma_memory_region: memory@9c800000 {
> -			compatible = "shared-dma-pool";
> -			reg = <0x00 0x9c800000 0x00 0x100000>;
> -			no-map;
> -		};
> -
> -		wkup_r5fss0_core0_memory_region: memory@9c900000 {
> -			compatible = "shared-dma-pool";
> -			reg = <0x00 0x9c900000 0x00 0x01d00000>;
> -			no-map;
> -		};
> -
>   		secure_tfa_ddr: tfa@9e780000 {
>   			reg = <0x00 0x9e780000 0x00 0x80000>;
>   			alignment = <0x1000>;
> diff --git a/arch/arm64/boot/dts/ti/k3-am62a-ti-ipc-firmware.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-ti-ipc-firmware.dtsi
> index 06d4e815b1670beafb8852b76a3f6a79295ce8ca..682b1c9f3071ddf23044c1fde1e88f2b901ec64c 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62a-ti-ipc-firmware.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62a-ti-ipc-firmware.dtsi
> @@ -29,6 +29,19 @@ mcu_r5fss0_core0_memory_region: memory@9b900000 {
>   		reg = <0x00 0x9b900000 0x00 0xf00000>;
>   		no-map;
>   	};
> +
> +	wkup_r5fss0_core0_dma_memory_region: memory@9c800000 {
> +		compatible = "shared-dma-pool";
> +		reg = <0x00 0x9c800000 0x00 0x100000>;
> +		no-map;
> +	};
> +
> +	wkup_r5fss0_core0_memory_region: memory@9c900000 {
> +		compatible = "shared-dma-pool";
> +		reg = <0x00 0x9c900000 0x00 0x01d00000>;
> +		no-map;
> +		bootph-pre-ram;
> +	};
>   };
>   
>   &mailbox0_cluster0 {
> @@ -67,6 +80,7 @@ &wkup_r5fss0_core0 {
>   	memory-region = <&wkup_r5fss0_core0_dma_memory_region>,
>   			<&wkup_r5fss0_core0_memory_region>;
>   	memory-region-names = "dma", "firmware";
> +	bootph-pre-ram;
>   	status = "okay";
>   };
>   
> diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
> index 08c73cae26c73993a613372110bfd5611c403846..27801c22a550330b52c4424f919d80f10dc76403 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
> @@ -53,18 +53,6 @@ linux,cma {
>   			linux,cma-default;
>   		};
>   
> -		wkup_r5fss0_core0_dma_memory_region: memory@9c800000 {
> -			compatible = "shared-dma-pool";
> -			reg = <0x00 0x9c800000 0x00 0x100000>;
> -			no-map;
> -		};
> -
> -		wkup_r5fss0_core0_memory_region: memory@9c900000 {
> -			compatible = "shared-dma-pool";
> -			reg = <0x00 0x9c900000 0x00 0x01d00000>;
> -			no-map;
> -		};
> -
>   		secure_tfa_ddr: tfa@9e780000 {
>   			reg = <0x00 0x9e780000 0x00 0x80000>;
>   			alignment = <0x1000>;
> diff --git a/arch/arm64/boot/dts/ti/k3-am62d2-evm.dts b/arch/arm64/boot/dts/ti/k3-am62d2-evm.dts
> index 463a3f6130b8f2927a032137e87c01df446cffda..dd6937789a9c6b7c92ef5ad1fcc3ae94a90e2353 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62d2-evm.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am62d2-evm.dts
> @@ -59,19 +59,6 @@ secure_tfa_ddr: tfa@80000000 {
>   			no-map;
>   		};
>   
> -		wkup_r5fss0_core0_dma_memory_region: memory@9c800000 {
> -			compatible = "shared-dma-pool";
> -			reg = <0x00 0x9c800000 0x00 0x100000>;
> -			no-map;
> -		};
> -
> -		wkup_r5fss0_core0_memory_region: memory@9c900000 {
> -			compatible = "shared-dma-pool";
> -			reg = <0x00 0x9c900000 0x00 0x01d00000>;
> -			no-map;
> -			bootph-pre-ram;
> -		};
> -
>   		secure_ddr: optee@9e800000 {
>   			reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
>   			no-map;
> @@ -776,10 +763,6 @@ partition@3fc0000 {
>   	};
>   };
>   
> -&wkup_r5fss0_core0 {
> -	bootph-pre-ram;
> -};
> -
>   &mcu_r5fss0_core0 {
>   	firmware-name = "am62d-mcu-r5f0_0-fw";
>   };
> 


  reply	other threads:[~2026-07-09 19:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-01 12:39 [PATCH v7 00/11] arm64: dts: ti: k3-am62a7-sk: Split r5f memory region Markus Schneider-Pargmann (TI)
2026-07-01 12:39 ` [PATCH v7 01/11] arm64: dts: ti: k3-am62a-phycore-som: Fix wkup R5F memory region size Markus Schneider-Pargmann (TI)
2026-07-01 12:39 ` [PATCH v7 02/11] arm64: dts: ti: k3-am62d2-evm: " Markus Schneider-Pargmann (TI)
2026-07-01 12:39 ` [PATCH v7 03/11] arm64: dts: ti: k3-am62a7-sk: " Markus Schneider-Pargmann (TI)
2026-07-01 12:39 ` [PATCH v7 04/11] arm64: dts: ti: k3-am62p-verdin: " Markus Schneider-Pargmann (TI)
2026-07-01 12:39 ` [PATCH v7 05/11] arm64: dts: ti: k3-am62p5-sk: " Markus Schneider-Pargmann (TI)
2026-07-01 12:39 ` [PATCH v7 06/11] arm64: dts: ti: var-som-am62p: " Markus Schneider-Pargmann (TI)
2026-07-01 12:39 ` [PATCH v7 07/11] arm64: dts: ti: k3-am62a-ti-ipc-firmware: Move wkup reserved memory Markus Schneider-Pargmann (TI)
2026-07-09 19:33   ` Andrew Davis [this message]
2026-08-25 12:43     ` Markus Schneider-Pargmann
2026-08-26 21:59       ` Andrew Davis
2026-07-01 12:39 ` [PATCH v7 08/11] arm64: dts: ti: k3-am62p-ti-ipc-firmware: " Markus Schneider-Pargmann (TI)
2026-07-01 12:39 ` [PATCH v7 09/11] arm64: dts: ti: k3-am62a-ti-ipc-firmware: Split r5f memory region Markus Schneider-Pargmann (TI)
2026-07-01 13:18   ` sashiko-bot
2026-07-01 12:39 ` [PATCH v7 10/11] arm64: dts: ti: k3-am62p-ti-ipc-firmware: " Markus Schneider-Pargmann (TI)
2026-07-01 13:30   ` sashiko-bot
2026-07-01 12:39 ` [PATCH v7 11/11] arm64: dts: ti: k3-am62p-ti-ipc-firmware: Add r5f nodes to pre-ram bootphase Markus Schneider-Pargmann (TI)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f9a23a59-4346-4408-92c6-11b9162f0efa@ti.com \
    --to=afd@ti.com \
    --cc=a-kaur@ti.com \
    --cc=b-padhi@ti.com \
    --cc=bb@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=d.schultz@phytec.de \
    --cc=devarsht@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=francesco.dolcini@toradex.com \
    --cc=hnagalla@ti.com \
    --cc=jai.luthra@ideasonboard.com \
    --cc=jm@ti.com \
    --cc=justinstitt@google.com \
    --cc=k-willis@ti.com \
    --cc=khilman@baylibre.com \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=morbo@google.com \
    --cc=msp@baylibre.com \
    --cc=nathan@kernel.org \
    --cc=nick.desaulniers+lkml@gmail.com \
    --cc=nm@ti.com \
    --cc=p-bhagat@ti.com \
    --cc=robh@kernel.org \
    --cc=s-vadapalli@ti.com \
    --cc=sebin.francis@ti.com \
    --cc=stefano.radaelli21@gmail.com \
    --cc=vigneshr@ti.com \
    --cc=vishalm@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox