arm64: dts: ti: k3-am62p: Enable Mailbox nodes at the board level
authorAndrew Davis <afd@ti.com>
Tue, 3 Dec 2024 17:41:13 +0000 (11:41 -0600)
committerNishanth Menon <nm@ti.com>
Thu, 2 Jan 2025 15:53:16 +0000 (09:53 -0600)
Mailbox nodes defined in the top-level J722s/AM62p SoC dtsi files are
incomplete and may not be functional unless they are extended with a
chosen interrupt and connection to a remote processor.

Disable the Mailbox nodes in the dtsi files and only enable the ones
that are actually used on a given board.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20241203174114.94751-1-afd@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi
arch/arm64/boot/dts/ti/k3-am62p5-sk.dts

index 41e1c24b1144141e5725f1fe5c56b18b7d49ec25..39f5c2d12fadbf8de9e5d91517c6b7995afebaa9 100644 (file)
                #mbox-cells = <1>;
                ti,mbox-num-users = <4>;
                ti,mbox-num-fifos = <16>;
+               status = "disabled";
        };
 
        mailbox0_cluster1: mailbox@29010000 {
                #mbox-cells = <1>;
                ti,mbox-num-users = <4>;
                ti,mbox-num-fifos = <16>;
+               status = "disabled";
        };
 
        mailbox0_cluster2: mailbox@29020000 {
                #mbox-cells = <1>;
                ti,mbox-num-users = <4>;
                ti,mbox-num-fifos = <16>;
+               status = "disabled";
        };
 
        mailbox0_cluster3: mailbox@29030000 {
                #mbox-cells = <1>;
                ti,mbox-num-users = <4>;
                ti,mbox-num-fifos = <16>;
+               status = "disabled";
        };
 
        ecap0: pwm@23100000 {
index 7f3dc39e12bc9ca4a746ff092f946b84a36404b3..ad71d2f27f538d68644491bc6c1831acdd9263cb 100644 (file)
 };
 
 &mailbox0_cluster0 {
+       status = "okay";
+
        mbox_r5_0: mbox-r5-0 {
                ti,mbox-rx = <0 0 0>;
                ti,mbox-tx = <1 0 0>;
 };
 
 &mailbox0_cluster1 {
+       status = "okay";
+
        mbox_mcu_r5_0: mbox-mcu-r5-0 {
                ti,mbox-rx = <0 0 0>;
                ti,mbox-tx = <1 0 0>;