arm64: dts: ti: k3-j721e: Enable C6x DSP nodes at the board level
authorAndrew Davis <afd@ti.com>
Wed, 9 Aug 2023 18:01:45 +0000 (13:01 -0500)
committerNishanth Menon <nm@ti.com>
Thu, 10 Aug 2023 23:00:58 +0000 (18:00 -0500)
C6x 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 C6x 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-3-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 e4757285dd6f1c74920fc0502e91f199eae19439..2f954729f3533876e096735cf5a4f3afe617e2a5 100644 (file)
 };
 
 &c66_0 {
+       status = "okay";
        mboxes = <&mailbox0_cluster3>, <&mbox_c66_0>;
        memory-region = <&c66_0_dma_memory_region>,
                        <&c66_0_memory_region>;
 };
 
 &c66_1 {
+       status = "okay";
        mboxes = <&mailbox0_cluster3>, <&mbox_c66_1>;
        memory-region = <&c66_1_dma_memory_region>,
                        <&c66_1_memory_region>;
index f20ec447bff7c1c8ffa9868630c7252da29729ec..f6c7e1614521d16f8dd99fd721b7bc46bc3aba18 100644 (file)
                ti,sci-proc-ids = <0x03 0xff>;
                resets = <&k3_reset 142 1>;
                firmware-name = "j7-c66_0-fw";
+               status = "disabled";
        };
 
        c66_1: dsp@4d81800000 {
                ti,sci-proc-ids = <0x04 0xff>;
                resets = <&k3_reset 143 1>;
                firmware-name = "j7-c66_1-fw";
+               status = "disabled";
        };
 
        c71_0: dsp@64800000 {
index 764ed8f37046b9e734579d8df83e6a0ad5a9b385..42fe8eee9ec8c7e15a149725e49cbc04109c6770 100644 (file)
 };
 
 &c66_0 {
+       status = "okay";
        mboxes = <&mailbox0_cluster3>, <&mbox_c66_0>;
        memory-region = <&c66_0_dma_memory_region>,
                        <&c66_0_memory_region>;
 };
 
 &c66_1 {
+       status = "okay";
        mboxes = <&mailbox0_cluster3>, <&mbox_c66_1>;
        memory-region = <&c66_1_dma_memory_region>,
                        <&c66_1_memory_region>;
index 1bfd5a4eca5efbd9b343d9ece1611cdb5f9682d1..7f0686c2ce371db3ca5255fb230cb7cc9b8a3916 100644 (file)
 };
 
 &c66_0 {
+       status = "okay";
        mboxes = <&mailbox0_cluster3>, <&mbox_c66_0>;
        memory-region = <&c66_0_dma_memory_region>,
                        <&c66_0_memory_region>;
 };
 
 &c66_1 {
+       status = "okay";
        mboxes = <&mailbox0_cluster3>, <&mbox_c66_1>;
        memory-region = <&c66_1_dma_memory_region>,
                        <&c66_1_memory_region>;