1 Marvell IO WIN address decoding bindings
2 ========================================
4 IO Window configration driver (2nd stage address translation) for Marvell Armada 8K and 8K+ SoCs.
6 The IO WIN includes a description of the address decoding configuration.
8 Transactions that are decoded by CCU windows as IO peripheral, have an additional
9 layer of decoding. This additional address decoding layer defines one of the
13 - **0x1** = STM (Serial Trace Macro-cell, a programmer's port into trace stream)
14 - **0x2** = SPI direct access
15 - **0x3** = PCIe registers
22 - marvell_get_io_win_memory_map
23 Returns the IO windows configuration and the number of windows of the
30 Array that include the configuration of the windows. Every window/entry is
31 a struct which has 3 parameters:
33 - Base address of the window
35 - Target-ID of the window
42 struct addr_map_win io_win_memory_map[] = {
43 {0x00000000fe000000, 0x000000001f00000, PCIE_PORT_TID}, /* PCIe window 31Mb for PCIe port*/
44 {0x00000000ffe00000, 0x000000000100000, PCIE_REGS_TID}, /* PCI-REG window 64Kb for PCIe-reg*/
45 {0x00000000f6000000, 0x000000000100000, MCIPHY_TID}, /* MCI window 1Mb for PHY-reg*/