board: ti: am62px: rm-cfg: Add support for HC BCDMA
The first 4 block copy channels and rings on AM62P support
High Capacity Block Copy. These channels have approximately
3x improvement over the normal Block copy channels when doing
DDR-to-DDR copy.
Currently, during allocation these channels do not have a
separate interface and are allocated with normal BCDMA channels.
Latest TIFS and DM firmware adds support for differentiating these
High Capcity resources. This update is for allocating these new
resource type to different hosts with below mentioned scheme.
--------------------- --------------- ------------- ----------------
Resource A53_2 MCU_R5 WKUP_R5
--------------------- --------------- ------------- ----------------
BCDMA HC CHAN [4] => 2 (Primary) 1 (Primary) 1 (Primary)
BCDMA HC CHAN RING [4] => 2 (Primary) 1 (Primary) 1 (Primary)
BCDMA CHAN [4] => 18 (Primary) 2 (Primary) 6 (Primary)
BCDMA CHAN RING[4] => 18 (Primary) 2 (Primary) 6 (Primary)
Signed-off-by: Sparsh Kumar <sparsh-kumar@ti.com>
Signed-off-by: Sebin Francis <sebin.francis@ti.com>
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
diff --git a/board/ti/am62px/rm-cfg.yaml b/board/ti/am62px/rm-cfg.yaml
index dc445a4..73da85e 100644
--- a/board/ti/am62px/rm-cfg.yaml
+++ b/board/ti/am62px/rm-cfg.yaml
@@ -244,7 +244,7 @@
subhdr:
magic: 0x7B25
size: 8
- resasg_entries_size: 1048
+ resasg_entries_size: 1112
reserved: 0
resasg_entries:
-
@@ -303,31 +303,55 @@
reserved: 0
-
start_resource: 0
+ num_resource: 2
+ type: 1676
+ host_id: 12
+ reserved: 0
+ -
+ start_resource: 2
+ num_resource: 1
+ type: 1676
+ host_id: 35
+ reserved: 0
+ -
+ start_resource: 2
+ num_resource: 1
+ type: 1676
+ host_id: 36
+ reserved: 0
+ -
+ start_resource: 3
+ num_resource: 1
+ type: 1676
+ host_id: 30
+ reserved: 0
+ -
+ start_resource: 4
num_resource: 18
type: 1677
host_id: 12
reserved: 0
-
- start_resource: 18
+ start_resource: 22
num_resource: 6
type: 1677
host_id: 35
reserved: 0
-
- start_resource: 18
+ start_resource: 22
num_resource: 6
type: 1677
host_id: 36
reserved: 0
-
- start_resource: 24
+ start_resource: 28
num_resource: 2
type: 1677
host_id: 30
reserved: 0
-
- start_resource: 26
- num_resource: 6
+ start_resource: 30
+ num_resource: 2
type: 1677
host_id: 128
reserved: 0
@@ -387,31 +411,55 @@
reserved: 0
-
start_resource: 0
+ num_resource: 2
+ type: 1695
+ host_id: 12
+ reserved: 0
+ -
+ start_resource: 2
+ num_resource: 1
+ type: 1695
+ host_id: 35
+ reserved: 0
+ -
+ start_resource: 2
+ num_resource: 1
+ type: 1695
+ host_id: 36
+ reserved: 0
+ -
+ start_resource: 3
+ num_resource: 1
+ type: 1695
+ host_id: 30
+ reserved: 0
+ -
+ start_resource: 4
num_resource: 18
type: 1696
host_id: 12
reserved: 0
-
- start_resource: 18
+ start_resource: 22
num_resource: 6
type: 1696
host_id: 35
reserved: 0
-
- start_resource: 18
+ start_resource: 22
num_resource: 6
type: 1696
host_id: 36
reserved: 0
-
- start_resource: 24
+ start_resource: 28
num_resource: 2
type: 1696
host_id: 30
reserved: 0
-
- start_resource: 26
- num_resource: 6
+ start_resource: 30
+ num_resource: 2
type: 1696
host_id: 128
reserved: 0