Paul Beesley | 9774302 | 2019-07-12 11:37:07 +0100 | [diff] [blame] | 1 | Marvell CCU address decoding bindings |
| 2 | ===================================== |
| 3 | |
David Horstmann | b2cc35f | 2021-01-21 12:29:59 +0000 | [diff] [blame] | 4 | CCU configuration driver (1st stage address translation) for Marvell Armada 8K and 8K+ SoCs. |
Paul Beesley | 9774302 | 2019-07-12 11:37:07 +0100 | [diff] [blame] | 5 | |
| 6 | The CCU node includes a description of the address decoding configuration. |
| 7 | |
| 8 | Mandatory functions |
| 9 | ------------------- |
| 10 | |
| 11 | - marvell_get_ccu_memory_map |
| 12 | Return the CCU windows configuration and the number of windows of the |
| 13 | specific AP. |
| 14 | |
| 15 | Mandatory structures |
| 16 | -------------------- |
| 17 | |
| 18 | - ccu_memory_map |
| 19 | Array that includes the configuration of the windows. Every window/entry is |
| 20 | a struct which has 3 parameters: |
| 21 | |
| 22 | - Base address of the window |
| 23 | - Size of the window |
| 24 | - Target-ID of the window |
| 25 | |
| 26 | Example |
| 27 | ------- |
| 28 | |
| 29 | .. code:: c |
| 30 | |
| 31 | struct addr_map_win ccu_memory_map[] = { |
| 32 | {0x00000000f2000000, 0x00000000e000000, IO_0_TID}, /* IO window */ |
| 33 | }; |