arm64: dts: ti: k3-j721e: Enable C7x DSP nodes at the board level
authorAndrew Davis <afd@ti.com>
Wed, 9 Aug 2023 18:01:43 +0000 (13:01 -0500)
committerNishanth Menon <nm@ti.com>
Thu, 10 Aug 2023 23:00:10 +0000 (18:00 -0500)
C7x DSP nodes defined in the top-level J721e SoC dtsi files are incomplete
and will not be functional unless they are extended with both mboxes and
memory-region information.

As theses only known about at the board integration level, these nodes
should only be enabled when provided with this information.

Disable the C7x DSP nodes in the dtsi files and only enable the ones that
are given the required mboxes and memory-region on a given board.

Signed-off-by: Andrew Davis <afd@ti.com>
Acked-by: Hari Nagalla <hnagalla@ti.com>
Tested-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20230809180145.53158-1-afd@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
arch/arm64/boot/dts/ti/k3-j721e-sk.dts
arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi

index 9f3a809..e475728 100644 (file)
 };
 
 &c71_0 {
+       status = "okay";
        mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>;
        memory-region = <&c71_0_dma_memory_region>,
                        <&c71_0_memory_region>;
index e9eb3ba..f20ec44 100644 (file)
                ti,sci-proc-ids = <0x30 0xff>;
                resets = <&k3_reset 15 1>;
                firmware-name = "j7-c71_0-fw";
+               status = "disabled";
        };
 
        icssg0: icssg@b000000 {
index 4032601..764ed8f 100644 (file)
 };
 
 &c71_0 {
+       status = "okay";
        mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>;
        memory-region = <&c71_0_dma_memory_region>,
                        <&c71_0_memory_region>;
index 928d3a8..1bfd5a4 100644 (file)
 };
 
 &c71_0 {
+       status = "okay";
        mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>;
        memory-region = <&c71_0_dma_memory_region>,
                        <&c71_0_memory_region>;