Re: [PATCH v3 10/33] arm64: dts: ti: k3-am62: Enable Mailbox nodes at the board level

Dhruva Gole
2025-09-06T00:12:46Z

On Sep 05, 2025 at 10:48:23 +0530, Beleswar Padhi wrote:
> Mailbox nodes defined in the top-level AM62x SoC dtsi files are
> incomplete and may not be functional unless they are extended with a
> chosen interrupt and connection to a remote processor.
>
> As the remote processors depend on memory nodes which are only known at
> the board integration level, these nodes should only be enabled when
> provided with the above information.
>
> Disable the Mailbox nodes in the dtsi files and only enable the ones
> that are actually used on a given board.
>
> Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
> Acked-by: Andrew Davis <afd@ti.com>
> ---
> v3: Changelog:
> 1. Carried A/B tag.
>
> Link to v2:
> https://lore.kernel.org/all/20250823160901.2177841-11-b-padhi@ti.com/
>
> v2: Changelog:
> 1. Re-ordered patch from [PATCH 20/33] to [PATCH v2 10/33].
> 2. Added new-line before sub-nodes in mailboxes.
>
> Link to v1:
> https://lore.kernel.org/all/20250814223839.3256046-21-b-padhi@ti.com/
>
> arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 +
> arch/arm64/boot/dts/ti/k3-am62-pocketbeagle2.dts | 2 ++
> arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi | 2 ++
> 3 files changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> index 029380dc1a35..40fb3c9e674c 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi
> @@ -808,6 +808,7 @@ mailbox0_cluster0: mailbox@29000000 {
> #mbox-cells = <1>;
> ti,mbox-num-users = <4>;
> ti,mbox-num-fifos = <16>;
> + status = "disabled";
> };
>
> ecap0: pwm@23100000 {
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-pocketbeagle2.dts b/arch/arm64/boot/dts/ti/k3-am62-pocketbeagle2.dts
> index 2e4cf65ee323..2eee5f638e0f 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-pocketbeagle2.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am62-pocketbeagle2.dts
> @@ -293,6 +293,8 @@ &epwm2 {
> };
>
> &mailbox0_cluster0 {
> + status = "okay";
> +
> mbox_m4_0: mbox-m4-0 {
> ti,mbox-rx = <0 0 0>;
> ti,mbox-tx = <1 0 0>;
> diff --git a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi b/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
> index bc2289d74774..bbf2d630b305 100644
> --- a/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
> @@ -1317,6 +1317,8 @@ &main_i2c3 {
> };
>
> &mailbox0_cluster0 {
> + status = "okay";
> +

Reviewed-by: Dhruva Gole <d-gole@ti.com>

--
Best regards,
Dhruva Gole
Texas Instruments Incorporated