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
12 0x1 = STM (Serial Trace Macro-cell, a programmer's port into trace stream)
13 0x2 = SPI direct access
19 - marvell_get_io_win_memory_map
20 returns the IO windows configuration and the number of windows
24 io_win_memory_map - Array that include the configuration of the windows
25 every window/entry is a struct which has 3 parameters:
26 - Base address of the window
28 - Target-ID of the window
31 struct addr_map_win io_win_memory_map[] = {
32 {0x00000000fe000000, 0x000000001f00000, PCIE_PORT_TID}, /* PCIe window 31Mb for PCIe port*/
33 {0x00000000ffe00000, 0x000000000100000, PCIE_REGS_TID}, /* PCI-REG window 64Kb for PCIe-reg*/
34 {0x00000000f6000000, 0x000000000100000, MCIPHY_TID}, /* MCI window 1Mb for PHY-reg*/