summaryrefslogtreecommitdiffstats
path: root/docs/plat/marvell/armada/misc/mvebu-ccu.rst
blob: 12118e9d99e496cf266843d9a5df176724b6c131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Marvell CCU address decoding bindings
=====================================

CCU configuration driver (1st stage address translation) for Marvell Armada 8K and 8K+ SoCs.

The CCU node includes a description of the address decoding configuration.

Mandatory functions
-------------------

- marvell_get_ccu_memory_map
    Return the CCU windows configuration and the number of windows of the
    specific AP.

Mandatory structures
--------------------

- ccu_memory_map
    Array that includes the configuration of the windows. Every window/entry is
    a struct which has 3 parameters:

      - Base address of the window
      - Size of the window
      - Target-ID of the window

Example
-------

.. code:: c

	struct addr_map_win ccu_memory_map[] = {
		{0x00000000f2000000,     0x00000000e000000,      IO_0_TID}, /* IO window */
	};