]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - drivers/remoteproc/ti_k3_dsp_rproc.c
remoteproc: k3-dsp: Extend support for C71x DSPs on J721S2 SoCs
[thirdparty/u-boot.git] / drivers / remoteproc / ti_k3_dsp_rproc.c
index 1c6515f9ab7442e59a72b5452f18c645f16c9e9e..e790406324a9cf1831cc166560236990cc52b864 100644 (file)
@@ -338,7 +338,8 @@ static int k3_dsp_of_get_memories(struct udevice *dev)
 
        for (i = 0; i < dsp->num_mems; i++) {
                /* C71 cores only have a L1P Cache, there are no L1P SRAMs */
-               if (device_is_compatible(dev, "ti,j721e-c71-dsp") &&
+               if (((device_is_compatible(dev, "ti,j721e-c71-dsp")) ||
+                    (device_is_compatible(dev, "ti,j721s2-c71-dsp"))) &&
                    !strcmp(mem_names[i], "l1pram")) {
                        dsp->mem[i].bus_addr = FDT_ADDR_T_NONE;
                        dsp->mem[i].dev_addr = FDT_ADDR_T_NONE;
@@ -457,6 +458,7 @@ static const struct k3_dsp_boot_data c71_data = {
 static const struct udevice_id k3_dsp_ids[] = {
        { .compatible = "ti,j721e-c66-dsp", .data = (ulong)&c66_data, },
        { .compatible = "ti,j721e-c71-dsp", .data = (ulong)&c71_data, },
+       { .compatible = "ti,j721s2-c71-dsp", .data = (ulong)&c71_data, },
        {}
 };