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 9f3a809ddf90b5c75476442ed3877eccf4c6e01b..e4757285dd6f1c74920fc0502e91f199eae19439 100644 (file)
 };
 
 &c71_0 {
+       status = "okay";
        mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>;
        memory-region = <&c71_0_dma_memory_region>,
                        <&c71_0_memory_region>;
index e9eb3bac0632d85ff915beefadf8afcef8e78d9e..f20ec447bff7c1c8ffa9868630c7252da29729ec 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 4032601fd53fa20c1a8aa6f30dfe3c903ba61e9e..764ed8f37046b9e734579d8df83e6a0ad5a9b385 100644 (file)
 };
 
 &c71_0 {
+       status = "okay";
        mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>;
        memory-region = <&c71_0_dma_memory_region>,
                        <&c71_0_memory_region>;
index 928d3a8ad2d09f051b19bc755eccd3a540431e41..1bfd5a4eca5efbd9b343d9ece1611cdb5f9682d1 100644 (file)
 };
 
 &c71_0 {
+       status = "okay";
        mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>;
        memory-region = <&c71_0_dma_memory_region>,
                        <&c71_0_memory_region>;