162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci#ifndef __ASM_MACH_ADDR_MAP_H 362306a36Sopenharmony_ci#define __ASM_MACH_ADDR_MAP_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci/* 662306a36Sopenharmony_ci * Chip Selects 762306a36Sopenharmony_ci */ 862306a36Sopenharmony_ci#define PXA_CS0_PHYS 0x00000000 962306a36Sopenharmony_ci#define PXA_CS1_PHYS 0x04000000 1062306a36Sopenharmony_ci#define PXA_CS2_PHYS 0x08000000 1162306a36Sopenharmony_ci#define PXA_CS3_PHYS 0x0C000000 1262306a36Sopenharmony_ci#define PXA_CS4_PHYS 0x10000000 1362306a36Sopenharmony_ci#define PXA_CS5_PHYS 0x14000000 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci#define PXA300_CS0_PHYS 0x00000000 /* PXA300/PXA310 _only_ */ 1662306a36Sopenharmony_ci#define PXA300_CS1_PHYS 0x30000000 /* PXA300/PXA310 _only_ */ 1762306a36Sopenharmony_ci#define PXA3xx_CS2_PHYS 0x10000000 1862306a36Sopenharmony_ci#define PXA3xx_CS3_PHYS 0x14000000 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci/* 2162306a36Sopenharmony_ci * Peripheral Bus 2262306a36Sopenharmony_ci */ 2362306a36Sopenharmony_ci#define PERIPH_PHYS 0x40000000 2462306a36Sopenharmony_ci#define PERIPH_VIRT IOMEM(0xf2000000) 2562306a36Sopenharmony_ci#define PERIPH_SIZE 0x02000000 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ci/* 2862306a36Sopenharmony_ci * Static Memory Controller (w/ SDRAM controls on PXA25x/PXA27x) 2962306a36Sopenharmony_ci */ 3062306a36Sopenharmony_ci#define PXA2XX_SMEMC_PHYS 0x48000000 3162306a36Sopenharmony_ci#define PXA3XX_SMEMC_PHYS 0x4a000000 3262306a36Sopenharmony_ci#define SMEMC_VIRT IOMEM(0xf6000000) 3362306a36Sopenharmony_ci#define SMEMC_SIZE 0x00100000 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_ci/* 3662306a36Sopenharmony_ci * Dynamic Memory Controller (only on PXA3xx) 3762306a36Sopenharmony_ci */ 3862306a36Sopenharmony_ci#define DMEMC_PHYS 0x48100000 3962306a36Sopenharmony_ci#define DMEMC_VIRT IOMEM(0xf6100000) 4062306a36Sopenharmony_ci#define DMEMC_SIZE 0x00100000 4162306a36Sopenharmony_ci 4262306a36Sopenharmony_ci/* 4362306a36Sopenharmony_ci * Reserved space for low level debug virtual addresses within 4462306a36Sopenharmony_ci * 0xf6200000..0xf6201000 4562306a36Sopenharmony_ci */ 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci/* 4862306a36Sopenharmony_ci * DFI Bus for NAND, PXA3xx only 4962306a36Sopenharmony_ci */ 5062306a36Sopenharmony_ci#define NAND_PHYS 0x43100000 5162306a36Sopenharmony_ci#define NAND_VIRT IOMEM(0xf6300000) 5262306a36Sopenharmony_ci#define NAND_SIZE 0x00100000 5362306a36Sopenharmony_ci 5462306a36Sopenharmony_ci/* 5562306a36Sopenharmony_ci * Internal Memory Controller (PXA27x and later) 5662306a36Sopenharmony_ci */ 5762306a36Sopenharmony_ci#define IMEMC_PHYS 0x58000000 5862306a36Sopenharmony_ci#define IMEMC_VIRT IOMEM(0xfe000000) 5962306a36Sopenharmony_ci#define IMEMC_SIZE 0x00100000 6062306a36Sopenharmony_ci 6162306a36Sopenharmony_ci#endif /* __ASM_MACH_ADDR_MAP_H */ 62