Konstantin Porotchkin | 62a7646 | 2018-02-26 15:51:11 +0200 | [diff] [blame] | 1 | Marvell CCU address decoding bindings |
| 2 | ===================================== |
| 3 | |
| 4 | CCU configration driver (1st stage address translation) for Marvell Armada 8K and 8K+ SoCs. |
| 5 | |
| 6 | The CCU node includes a description of the address decoding configuration. |
| 7 | |
| 8 | Mandatory functions: |
| 9 | - marvell_get_ccu_memory_map |
| 10 | return the CCU windows configuration and the number of windows |
| 11 | of the specific AP. |
| 12 | |
| 13 | Mandatory structures: |
| 14 | ccu_memory_map - Array that includes the configuration of the windows |
| 15 | every window/entry is a struct which has 3 parameters: |
| 16 | - Base address of the window |
| 17 | - Size of the window |
| 18 | - Target-ID of the window |
| 19 | |
| 20 | Example: |
| 21 | struct addr_map_win ccu_memory_map[] = { |
| 22 | {0x00000000f2000000, 0x00000000e000000, IO_0_TID}, /* IO window */ |
| 23 | }; |