18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __ASM_MACH_ADDR_MAP_H 38c2ecf20Sopenharmony_ci#define __ASM_MACH_ADDR_MAP_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* 68c2ecf20Sopenharmony_ci * Chip Selects 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci#define PXA_CS0_PHYS 0x00000000 98c2ecf20Sopenharmony_ci#define PXA_CS1_PHYS 0x04000000 108c2ecf20Sopenharmony_ci#define PXA_CS2_PHYS 0x08000000 118c2ecf20Sopenharmony_ci#define PXA_CS3_PHYS 0x0C000000 128c2ecf20Sopenharmony_ci#define PXA_CS4_PHYS 0x10000000 138c2ecf20Sopenharmony_ci#define PXA_CS5_PHYS 0x14000000 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#define PXA300_CS0_PHYS 0x00000000 /* PXA300/PXA310 _only_ */ 168c2ecf20Sopenharmony_ci#define PXA300_CS1_PHYS 0x30000000 /* PXA300/PXA310 _only_ */ 178c2ecf20Sopenharmony_ci#define PXA3xx_CS2_PHYS 0x10000000 188c2ecf20Sopenharmony_ci#define PXA3xx_CS3_PHYS 0x14000000 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci/* 218c2ecf20Sopenharmony_ci * Peripheral Bus 228c2ecf20Sopenharmony_ci */ 238c2ecf20Sopenharmony_ci#define PERIPH_PHYS 0x40000000 248c2ecf20Sopenharmony_ci#define PERIPH_VIRT IOMEM(0xf2000000) 258c2ecf20Sopenharmony_ci#define PERIPH_SIZE 0x02000000 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci/* 288c2ecf20Sopenharmony_ci * Static Memory Controller (w/ SDRAM controls on PXA25x/PXA27x) 298c2ecf20Sopenharmony_ci */ 308c2ecf20Sopenharmony_ci#define PXA2XX_SMEMC_PHYS 0x48000000 318c2ecf20Sopenharmony_ci#define PXA3XX_SMEMC_PHYS 0x4a000000 328c2ecf20Sopenharmony_ci#define SMEMC_VIRT IOMEM(0xf6000000) 338c2ecf20Sopenharmony_ci#define SMEMC_SIZE 0x00100000 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci/* 368c2ecf20Sopenharmony_ci * Dynamic Memory Controller (only on PXA3xx) 378c2ecf20Sopenharmony_ci */ 388c2ecf20Sopenharmony_ci#define DMEMC_PHYS 0x48100000 398c2ecf20Sopenharmony_ci#define DMEMC_VIRT IOMEM(0xf6100000) 408c2ecf20Sopenharmony_ci#define DMEMC_SIZE 0x00100000 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci/* 438c2ecf20Sopenharmony_ci * Reserved space for low level debug virtual addresses within 448c2ecf20Sopenharmony_ci * 0xf6200000..0xf6201000 458c2ecf20Sopenharmony_ci */ 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ci/* 488c2ecf20Sopenharmony_ci * DFI Bus for NAND, PXA3xx only 498c2ecf20Sopenharmony_ci */ 508c2ecf20Sopenharmony_ci#define NAND_PHYS 0x43100000 518c2ecf20Sopenharmony_ci#define NAND_VIRT IOMEM(0xf6300000) 528c2ecf20Sopenharmony_ci#define NAND_SIZE 0x00100000 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ci/* 558c2ecf20Sopenharmony_ci * Internal Memory Controller (PXA27x and later) 568c2ecf20Sopenharmony_ci */ 578c2ecf20Sopenharmony_ci#define IMEMC_PHYS 0x58000000 588c2ecf20Sopenharmony_ci#define IMEMC_VIRT IOMEM(0xfe000000) 598c2ecf20Sopenharmony_ci#define IMEMC_SIZE 0x00100000 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ci#endif /* __ASM_MACH_ADDR_MAP_H */ 62