map.h 3.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* linux/arch/arm/mach-s5pv210/include/mach/map.h
 *
 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com/
 *
 * S5PV210 - Memory map definitions
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
*/

#ifndef __ASM_ARCH_MAP_H
#define __ASM_ARCH_MAP_H __FILE__

#include <plat/map-base.h>
#include <plat/map-s5p.h>

19 20
#define S5PV210_PA_SROM_BANK5	(0xA8000000)

21
#define S5PC110_PA_ONENAND	(0xB0000000)
22 23
#define S5P_PA_ONENAND		S5PC110_PA_ONENAND

24
#define S5PC110_PA_ONENAND_DMA	(0xB0600000)
25
#define S5P_PA_ONENAND_DMA	S5PC110_PA_ONENAND_DMA
26

27 28 29 30 31 32 33 34
#define S5PV210_PA_CHIPID	(0xE0000000)
#define S5P_PA_CHIPID		S5PV210_PA_CHIPID

#define S5PV210_PA_SYSCON	(0xE0100000)
#define S5P_PA_SYSCON		S5PV210_PA_SYSCON

#define S5PV210_PA_GPIO		(0xE0200000)

35 36 37 38
/* SPI */
#define S5PV210_PA_SPI0		0xE1300000
#define S5PV210_PA_SPI1		0xE1400000

39 40
#define S5PV210_PA_KEYPAD	(0xE1600000)

41
#define S5PV210_PA_IIC0		(0xE1800000)
42 43
#define S5PV210_PA_IIC1		(0xFAB00000)
#define S5PV210_PA_IIC2		(0xE1A00000)
44 45 46 47 48 49

#define S5PV210_PA_TIMER	(0xE2500000)
#define S5P_PA_TIMER		S5PV210_PA_TIMER

#define S5PV210_PA_SYSTIMER	(0xE2600000)

50 51
#define S5PV210_PA_WATCHDOG	(0xE2700000)

52
#define S5PV210_PA_RTC		(0xE2800000)
53 54 55 56 57 58 59 60 61
#define S5PV210_PA_UART		(0xE2900000)

#define S5P_PA_UART0		(S5PV210_PA_UART + 0x0)
#define S5P_PA_UART1		(S5PV210_PA_UART + 0x400)
#define S5P_PA_UART2		(S5PV210_PA_UART + 0x800)
#define S5P_PA_UART3		(S5PV210_PA_UART + 0xC00)

#define S5P_SZ_UART		SZ_256

62 63
#define S3C_VA_UARTx(x)		(S3C_VA_UART + ((x) * S3C_UART_OFFSET))

64
#define S5PV210_PA_SROMC	(0xE8000000)
65
#define S5P_PA_SROMC		S5PV210_PA_SROMC
66

67 68
#define S5PV210_PA_CFCON	(0xE8200000)

69 70 71 72
#define S5PV210_PA_MDMA		0xFA200000
#define S5PV210_PA_PDMA0	0xE0900000
#define S5PV210_PA_PDMA1	0xE0A00000

73 74
#define S5PV210_PA_FB		(0xF8000000)

75 76 77 78
#define S5PV210_PA_FIMC0	(0xFB200000)
#define S5PV210_PA_FIMC1	(0xFB300000)
#define S5PV210_PA_FIMC2	(0xFB400000)

79 80
#define S5PV210_PA_HSMMC(x)	(0xEB000000 + ((x) * 0x100000))

81 82 83
#define S5PV210_PA_HSOTG	(0xEC000000)
#define S5PV210_PA_HSPHY	(0xEC100000)

84 85 86 87 88 89 90 91
#define S5PV210_PA_VIC0		(0xF2000000)
#define S5PV210_PA_VIC1		(0xF2100000)
#define S5PV210_PA_VIC2		(0xF2200000)
#define S5PV210_PA_VIC3		(0xF2300000)

#define S5PV210_PA_SDRAM	(0x20000000)
#define S5P_PA_SDRAM		S5PV210_PA_SDRAM

92 93 94
/* S/PDIF */
#define S5PV210_PA_SPDIF	0xE1100000

95 96 97 98 99 100 101 102 103 104 105 106 107
/* I2S */
#define S5PV210_PA_IIS0		0xEEE30000
#define S5PV210_PA_IIS1		0xE2100000
#define S5PV210_PA_IIS2		0xE2A00000

/* PCM */
#define S5PV210_PA_PCM0		0xE2300000
#define S5PV210_PA_PCM1		0xE1200000
#define S5PV210_PA_PCM2		0xE2B00000

/* AC97 */
#define S5PV210_PA_AC97		0xE2200000

108 109
#define S5PV210_PA_ADC		(0xE1700000)

110 111 112
#define S5PV210_PA_DMC0		(0xF0000000)
#define S5PV210_PA_DMC1		(0xF1400000)

113 114
#define S5PV210_PA_MIPI_CSIS	0xFA600000

115 116
/* compatibiltiy defines. */
#define S3C_PA_UART		S5PV210_PA_UART
117 118 119
#define S3C_PA_HSMMC0		S5PV210_PA_HSMMC(0)
#define S3C_PA_HSMMC1		S5PV210_PA_HSMMC(1)
#define S3C_PA_HSMMC2		S5PV210_PA_HSMMC(2)
120
#define S3C_PA_HSMMC3		S5PV210_PA_HSMMC(3)
121
#define S3C_PA_IIC		S5PV210_PA_IIC0
122 123
#define S3C_PA_IIC1		S5PV210_PA_IIC1
#define S3C_PA_IIC2		S5PV210_PA_IIC2
124
#define S3C_PA_FB		S5PV210_PA_FB
125
#define S3C_PA_RTC		S5PV210_PA_RTC
126
#define S3C_PA_WDT		S5PV210_PA_WATCHDOG
127
#define S3C_PA_USB_HSOTG	S5PV210_PA_HSOTG
128 129 130
#define S5P_PA_FIMC0		S5PV210_PA_FIMC0
#define S5P_PA_FIMC1		S5PV210_PA_FIMC1
#define S5P_PA_FIMC2		S5PV210_PA_FIMC2
131
#define S5P_PA_MIPI_CSIS0	S5PV210_PA_MIPI_CSIS
132

133
#define SAMSUNG_PA_ADC		S5PV210_PA_ADC
134
#define SAMSUNG_PA_CFCON	S5PV210_PA_CFCON
135
#define SAMSUNG_PA_KEYPAD	S5PV210_PA_KEYPAD
136 137

#endif /* __ASM_ARCH_MAP_H */