firmware: ti_sci_static_data: add static DMA chan data
authorVignesh Raghavendra <vigneshr@ti.com>
Wed, 25 May 2022 08:08:45 +0000 (13:38 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 10 Jun 2022 17:37:32 +0000 (13:37 -0400)
Add range of DMA channels available for R5 SPL usage before DM firmware
is loaded.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/firmware/ti_sci_static_data.h

index e6a3b66..8529ef2 100644 (file)
@@ -118,6 +118,19 @@ static struct ti_sci_resource_static_data rm_static_data[] = {
 };
 #endif /* CONFIG_TARGET_J721S2_R5_EVM */
 
+#if IS_ENABLED(CONFIG_SOC_K3_AM625)
+static struct ti_sci_resource_static_data rm_static_data[] = {
+       /* BC channels */
+       {
+               .dev_id = 26,
+               .subtype = 32,
+               .range_start = 18,
+               .range_num = 2,
+       },
+       { },
+};
+#endif /* CONFIG_SOC_K3_AM625 */
+
 #else
 static struct ti_sci_resource_static_data rm_static_data[] = {
        { },