summaryrefslogtreecommitdiff
path: root/drivers/firmware
diff options
context:
space:
mode:
authorApurva Nandan <[email protected]>2024-02-24 01:51:45 +0530
committerTom Rini <[email protected]>2024-03-04 13:41:03 -0500
commit691dfbed07fae3ce41559bb12c112f65bb15a70b (patch)
tree45635bc4c608f950954b1af22fe6f97bad4f1ab1 /drivers/firmware
parent952099944dd5285eeddc6e75f6070dce8335cd4d (diff)
drivers: dma: Add support for J784S4 SoC
Add support for DMA in J784S4 SoC. Signed-off-by: Jayesh Choudhary <[email protected]> Signed-off-by: Hari Nagalla <[email protected]> Signed-off-by: Apurva Nandan <[email protected]> Reviewed-by: Nishanth Menon <[email protected]> Reviewed-by: Roger Quadros <[email protected]> Tested-by: Marcel Ziswiler <[email protected]> # AM69-SK
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/ti_sci_static_data.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/firmware/ti_sci_static_data.h b/drivers/firmware/ti_sci_static_data.h
index 567ce8911a7..789f0c6b2d9 100644
--- a/drivers/firmware/ti_sci_static_data.h
+++ b/drivers/firmware/ti_sci_static_data.h
@@ -97,6 +97,40 @@ static struct ti_sci_resource_static_data rm_static_data[] = {
};
#endif /* CONFIG_SOC_K3_AM625 || CONFIG_SOC_K3_AM62A7 */
+#if IS_ENABLED(CONFIG_SOC_K3_J784S4)
+static struct ti_sci_resource_static_data rm_static_data[] = {
+ /* Free rings */
+ {
+ .dev_id = 328,
+ .subtype = 1,
+ .range_start = 208,
+ .range_num = 32,
+ },
+ /* TX channels */
+ {
+ .dev_id = 329,
+ .subtype = 13,
+ .range_start = 40,
+ .range_num = 3,
+ },
+ /* RX channels */
+ {
+ .dev_id = 329,
+ .subtype = 10,
+ .range_start = 40,
+ .range_num = 3,
+ },
+ /* RX Free flows */
+ {
+ .dev_id = 329,
+ .subtype = 0,
+ .range_start = 84,
+ .range_num = 8,
+ },
+ { },
+};
+#endif /* CONFIG_SOC_K3_J784S4 */
+
#else
static struct ti_sci_resource_static_data rm_static_data[] = {
{ },