]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-am62: Enable Mailbox nodes at the board level
authorBeleswar Padhi <b-padhi@ti.com>
Mon, 8 Sep 2025 14:28:02 +0000 (19:58 +0530)
committerNishanth Menon <nm@ti.com>
Fri, 12 Sep 2025 04:15:30 +0000 (09:45 +0530)
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>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Acked-by: Andrew Davis <afd@ti.com>
Link: https://patch.msgid.link/20250908142826.1828676-11-b-padhi@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am62-main.dtsi
arch/arm64/boot/dts/ti/k3-am62-pocketbeagle2.dts
arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi

index 029380dc1a35e2cb5a9716a9792eb8c2680c86b8..40fb3c9e674c0112292e7466b7e1c707f6dc3c38 100644 (file)
                #mbox-cells = <1>;
                ti,mbox-num-users = <4>;
                ti,mbox-num-fifos = <16>;
+               status = "disabled";
        };
 
        ecap0: pwm@23100000 {
index 2e4cf65ee3239f5acaa9cafb346c21cadab3805a..2eee5f638e0f2d555fd9b81e17644c8a94dd68e3 100644 (file)
 };
 
 &mailbox0_cluster0 {
+       status = "okay";
+
        mbox_m4_0: mbox-m4-0 {
                ti,mbox-rx = <0 0 0>;
                ti,mbox-tx = <1 0 0>;
index bc2289d74774575648ca74403b7164e03e6d146f..bbf2d630b30529a66ed62334cfc7fe94fde9f8f1 100644 (file)
 };
 
 &mailbox0_cluster0 {
+       status = "okay";
+
        mbox_m4_0: mbox-m4-0 {
                ti,mbox-rx = <0 0 0>;
                ti,mbox-tx = <1 0 0>;