u-boot/arch/arm/include/asm/arch-ls102xa
Minghuan Lian 636ef95605 arm/ls102xa: create TLB to map PCIe region
LS1021A's PCIe1 region begins 0x40_00000000; PCIe2 begins
0x48_00000000. In order to access PCIe device, we must create
TLB to map the 40bit physical address to 32bit virtual address.
This patch will enable MMU after DDR is available and creates MMU
table in DRAM to map all 4G space; then, re-use the reserved space
to map PCIe region. The following the mapping layout.

VA mapping:
    -------  <---- 0GB
   |       |
   |       |
   |-------| <---- 0x24000000
   |///////|  ===> 192MB VA map for PCIe1 with offset 0x40_0000_0000
   |-------| <---- 0x300000000
   |       |
   |-------| <---- 0x34000000
   |///////|  ===> 192MB VA map for PCIe2 with offset 0x48_0000_0000
   |-------| <---- 0x40000000
   |       |
   |-------| <---- 0x80000000 DDR0 space start
   |\\\\\\\|
   |\\\\\\\|  ===> 2GB VA map for 2GB DDR0 Memory space
   |\\\\\\\|
   -------  <---- 4GB DDR0 space end

Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
2015-02-24 13:10:31 -08:00
..
clock.h arm: ls102xa: Add Freescale LS102xA SoC support 2014-09-08 10:30:32 -07:00
config.h arm/ls102xa: create TLB to map PCIe region 2015-02-24 13:10:31 -08:00
fsl_serdes.h arm: ls102xa: Add Freescale LS102xA SoC support 2014-09-08 10:30:32 -07:00
gpio.h arm: ls102xa: Add dummy gpio.h to enable CONFIG_OF_CONTROL 2015-01-23 22:29:14 -06:00
immap_ls102xa.h arm: ls102xa: Define default values for some CCSR macros 2015-02-24 13:10:26 -08:00
imx-regs.h arm: ls102xa: Add Freescale LS102xA SoC support 2014-09-08 10:30:32 -07:00
ls102xa_stream_id.h ARM: ls102xa: Setting device's stream id for SMMUs. 2014-12-11 09:42:22 -08:00
ns_access.h ARM: ls102xa: allow all the peripheral access permission as R/W. 2014-12-11 09:42:12 -08:00
spl.h arm: ls102xa: Add SD boot support for LS1021AQDS board 2014-12-11 09:39:22 -08:00