addr-map.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_MACH_ADDR_MAP_H
  3. #define __ASM_MACH_ADDR_MAP_H
  4. /*
  5. * Chip Selects
  6. */
  7. #define PXA_CS0_PHYS 0x00000000
  8. #define PXA_CS1_PHYS 0x04000000
  9. #define PXA_CS2_PHYS 0x08000000
  10. #define PXA_CS3_PHYS 0x0C000000
  11. #define PXA_CS4_PHYS 0x10000000
  12. #define PXA_CS5_PHYS 0x14000000
  13. #define PXA300_CS0_PHYS 0x00000000 /* PXA300/PXA310 _only_ */
  14. #define PXA300_CS1_PHYS 0x30000000 /* PXA300/PXA310 _only_ */
  15. #define PXA3xx_CS2_PHYS 0x10000000
  16. #define PXA3xx_CS3_PHYS 0x14000000
  17. /*
  18. * Peripheral Bus
  19. */
  20. #define PERIPH_PHYS 0x40000000
  21. #define PERIPH_VIRT IOMEM(0xf2000000)
  22. #define PERIPH_SIZE 0x02000000
  23. /*
  24. * Static Memory Controller (w/ SDRAM controls on PXA25x/PXA27x)
  25. */
  26. #define PXA2XX_SMEMC_PHYS 0x48000000
  27. #define PXA3XX_SMEMC_PHYS 0x4a000000
  28. #define SMEMC_VIRT IOMEM(0xf6000000)
  29. #define SMEMC_SIZE 0x00100000
  30. /*
  31. * Dynamic Memory Controller (only on PXA3xx)
  32. */
  33. #define DMEMC_PHYS 0x48100000
  34. #define DMEMC_VIRT IOMEM(0xf6100000)
  35. #define DMEMC_SIZE 0x00100000
  36. /*
  37. * Reserved space for low level debug virtual addresses within
  38. * 0xf6200000..0xf6201000
  39. */
  40. /*
  41. * DFI Bus for NAND, PXA3xx only
  42. */
  43. #define NAND_PHYS 0x43100000
  44. #define NAND_VIRT IOMEM(0xf6300000)
  45. #define NAND_SIZE 0x00100000
  46. /*
  47. * Internal Memory Controller (PXA27x and later)
  48. */
  49. #define IMEMC_PHYS 0x58000000
  50. #define IMEMC_VIRT IOMEM(0xfe000000)
  51. #define IMEMC_SIZE 0x00100000
  52. #endif /* __ASM_MACH_ADDR_MAP_H */