blob: 2a7a41ec95c778d1ade1025f0133c378de66554a [file] [log] [blame]
Konstantin Porotchkin62a76462018-02-26 15:51:11 +02001AMB - AXI MBUS address decoding
2-------------------------------
3
4AXI to M-bridge decoding unit driver for Marvell Armada 8K and 8K+ SoCs.
5
6- The Runit offers a second level of address windows lookup. It is used to map transaction towards
7the CD BootROM, SPI0, SPI1 and Device bus (NOR).
8- The Runit contains eight configurable windows. Each window defines a contiguous,
9address space and the properties associated with that address space.
10
11Unit Bank ATTR
12Device-Bus DEV_BOOT_CS 0x2F
13 DEV_CS0 0x3E
14 DEV_CS1 0x3D
15 DEV_CS2 0x3B
16 DEV_CS3 0x37
17SPI-0 SPI_A_CS0 0x1E
18 SPI_A_CS1 0x5E
19 SPI_A_CS2 0x9E
20 SPI_A_CS3 0xDE
21 SPI_A_CS4 0x1F
22 SPI_A_CS5 0x5F
23 SPI_A_CS6 0x9F
24 SPI_A_CS7 0xDF
25SPI1 SPI_B_CS0 0x1A
26 SPI_B_CS1 0x5A
27 SPI_B_CS2 0x9A
28 SPI_B_CS3 0xDA
29BOOT_ROM BOOT_ROM 0x1D
30UART UART 0x01
31
32Mandatory functions:
33 - marvell_get_amb_memory_map
34 returns the AMB windows configuration and the number of windows
35
36Mandatory structures:
37 amb_memory_map - Array that include the configuration of the windows
38 every window/entry is a struct which has 2 parameters:
39 - base address of the window
40 - Attribute of the window
41
42Examples:
43 struct addr_map_win amb_memory_map[] = {
44 {0xf900, AMB_DEV_CS0_ID},
45 };