| 1 |
// SPDX-License-Identifier: GPL-2.0-only OR MIT |
| 2 |
/** |
| 3 |
* Device Tree Source for enabling IPC using TI SDK firmware on AM62A SoCs |
| 4 |
* |
| 5 |
* Copyright (C) 2022-2025 Texas Instruments Incorporated - https://www.ti.com/ |
| 6 |
*/ |
| 7 |
|
| 8 |
&reserved_memory { |
| 9 |
c7x_0_dma_memory_region: memory@99800000 { |
| 10 |
compatible = "shared-dma-pool"; |
| 11 |
reg = <0x00 0x99800000 0x00 0x100000>; |
| 12 |
no-map; |
| 13 |
}; |
| 14 |
|
| 15 |
c7x_0_memory_region: memory@99900000 { |
| 16 |
compatible = "shared-dma-pool"; |
| 17 |
reg = <0x00 0x99900000 0x00 0xf00000>; |
| 18 |
no-map; |
| 19 |
}; |
| 20 |
|
| 21 |
mcu_r5fss0_core0_dma_memory_region: memory@9b800000 { |
| 22 |
compatible = "shared-dma-pool"; |
| 23 |
reg = <0x00 0x9b800000 0x00 0x100000>; |
| 24 |
no-map; |
| 25 |
}; |
| 26 |
|
| 27 |
mcu_r5fss0_core0_memory_region: memory@9b900000 { |
| 28 |
compatible = "shared-dma-pool"; |
| 29 |
reg = <0x00 0x9b900000 0x00 0xf00000>; |
| 30 |
no-map; |
| 31 |
}; |
| 32 |
}; |
| 33 |
|
| 34 |
&mailbox0_cluster0 { |
| 35 |
status = "okay"; |
| 36 |
|
| 37 |
mbox_r5_0: mbox-r5-0 { |
| 38 |
ti,mbox-rx = <0 0 0>; |
| 39 |
ti,mbox-tx = <1 0 0>; |
| 40 |
}; |
| 41 |
}; |
| 42 |
|
| 43 |
&mailbox0_cluster1 { |
| 44 |
status = "okay"; |
| 45 |
|
| 46 |
mbox_c7x_0: mbox-c7x-0 { |
| 47 |
ti,mbox-rx = <0 0 0>; |
| 48 |
ti,mbox-tx = <1 0 0>; |
| 49 |
}; |
| 50 |
}; |
| 51 |
|
| 52 |
&mailbox0_cluster2 { |
| 53 |
status = "okay"; |
| 54 |
|
| 55 |
mbox_mcu_r5_0: mbox-mcu-r5-0 { |
| 56 |
ti,mbox-rx = <0 0 0>; |
| 57 |
ti,mbox-tx = <1 0 0>; |
| 58 |
}; |
| 59 |
}; |
| 60 |
|
| 61 |
&wkup_r5fss0 { |
| 62 |
status = "okay"; |
| 63 |
}; |
| 64 |
|
| 65 |
&wkup_r5fss0_core0 { |
| 66 |
mboxes = <&mailbox0_cluster0>, <&mbox_r5_0>; |
| 67 |
memory-region = <&wkup_r5fss0_core0_dma_memory_region>, |
| 68 |
<&wkup_r5fss0_core0_memory_region>; |
| 69 |
status = "okay"; |
| 70 |
}; |
| 71 |
|
| 72 |
&mcu_r5fss0 { |
| 73 |
status = "okay"; |
| 74 |
}; |
| 75 |
|
| 76 |
&mcu_r5fss0_core0 { |
| 77 |
mboxes = <&mailbox0_cluster2>, <&mbox_mcu_r5_0>; |
| 78 |
memory-region = <&mcu_r5fss0_core0_dma_memory_region>, |
| 79 |
<&mcu_r5fss0_core0_memory_region>; |
| 80 |
status = "okay"; |
| 81 |
}; |
| 82 |
|
| 83 |
&c7x_0 { |
| 84 |
mboxes = <&mailbox0_cluster1>, <&mbox_c7x_0>; |
| 85 |
memory-region = <&c7x_0_dma_memory_region>, |
| 86 |
<&c7x_0_memory_region>; |
| 87 |
status = "okay"; |
| 88 |
}; |
| 89 |
|
| 90 |
/* main_rti4 is used by C7x DSP */ |
| 91 |
&main_rti4 { |
| 92 |
status = "reserved"; |
| 93 |
}; |
| 94 |
|
| 95 |
/* main_timer2 is used by C7x DSP */ |
| 96 |
&main_timer2 { |
| 97 |
status = "reserved"; |
| 98 |
}; |