blob: 44011b91fbd1fefa19674340eccbb04a46f2f24b [file] [log] [blame]
Kukjin Kim209fecd2010-01-14 15:29:17 +09001/* linux/arch/arm/mach-s5p6440/include/mach/map.h
2 *
3 * Copyright (c) 2009 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com/
5 *
6 * S5P6440 - Memory map definitions
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11*/
12
13#ifndef __ASM_ARCH_MAP_H
14#define __ASM_ARCH_MAP_H __FILE__
15
16#include <plat/map-base.h>
Kukjin Kim81317962010-01-27 16:57:07 +090017#include <plat/map-s5p.h>
Kukjin Kim209fecd2010-01-14 15:29:17 +090018
Kukjin Kimaf151942010-01-19 11:21:39 +090019#define S5P6440_PA_CHIPID (0xE0000000)
20#define S5P_PA_CHIPID S5P6440_PA_CHIPID
Kukjin Kimaf151942010-01-19 11:21:39 +090021
Kukjin Kim209fecd2010-01-14 15:29:17 +090022#define S5P6440_PA_SYSCON (0xE0100000)
Kukjin Kim209fecd2010-01-14 15:29:17 +090023#define S5P6440_PA_CLK (S5P6440_PA_SYSCON + 0x0)
Kukjin Kim81317962010-01-27 16:57:07 +090024#define S5P_PA_SYSCON S5P6440_PA_SYSCON
Kukjin Kim209fecd2010-01-14 15:29:17 +090025
Kukjin Kim209fecd2010-01-14 15:29:17 +090026#define S5P6440_PA_GPIO (0xE0308000)
27#define S5P_PA_GPIO S5P6440_PA_GPIO
Kukjin Kim209fecd2010-01-14 15:29:17 +090028
Kukjin Kim209fecd2010-01-14 15:29:17 +090029#define S5P6440_PA_VIC0 (0xE4000000)
30#define S5P_PA_VIC0 S5P6440_PA_VIC0
Kukjin Kim209fecd2010-01-14 15:29:17 +090031
Jassi Brard8b50652010-05-18 11:59:20 +090032#define S5P6440_PA_PDMA 0xE9000000
33
Kukjin Kim209fecd2010-01-14 15:29:17 +090034#define S5P6440_PA_VIC1 (0xE4100000)
35#define S5P_PA_VIC1 S5P6440_PA_VIC1
Kukjin Kim209fecd2010-01-14 15:29:17 +090036
Kukjin Kim209fecd2010-01-14 15:29:17 +090037#define S5P6440_PA_TIMER (0xEA000000)
38#define S5P_PA_TIMER S5P6440_PA_TIMER
Kukjin Kim209fecd2010-01-14 15:29:17 +090039
Kukjin Kim209fecd2010-01-14 15:29:17 +090040#define S5P6440_PA_RTC (0xEA100000)
41#define S5P_PA_RTC S5P6440_PA_RTC
Kukjin Kim209fecd2010-01-14 15:29:17 +090042
Kukjin Kim209fecd2010-01-14 15:29:17 +090043#define S5P6440_PA_WDT (0xEA200000)
44#define S5P_PA_WDT S5P6440_PA_WDT
Kukjin Kim209fecd2010-01-14 15:29:17 +090045
Kukjin Kim209fecd2010-01-14 15:29:17 +090046#define S5P6440_PA_UART (0xEC000000)
Kukjin Kim209fecd2010-01-14 15:29:17 +090047
Kukjin Kim81317962010-01-27 16:57:07 +090048#define S5P_PA_UART0 (S5P6440_PA_UART + 0x0)
49#define S5P_PA_UART1 (S5P6440_PA_UART + 0x400)
50#define S5P_PA_UART2 (S5P6440_PA_UART + 0x800)
51#define S5P_PA_UART3 (S5P6440_PA_UART + 0xC00)
52
53#define S5P_SZ_UART SZ_256
54
55#define S5P6440_PA_IIC0 (0xEC104000)
56
Jassi Braref2f07d2010-05-18 16:43:40 +090057#define S5P6440_PA_SPI0 0xEC400000
58#define S5P6440_PA_SPI1 0xEC500000
59
Ben Dooks0647aee2010-01-20 15:09:40 +090060#define S5P6440_PA_HSOTG (0xED100000)
61
Ben Dooks0647aee2010-01-20 15:09:40 +090062#define S5P6440_PA_HSMMC0 (0xED800000)
63#define S5P6440_PA_HSMMC1 (0xED900000)
64#define S5P6440_PA_HSMMC2 (0xEDA00000)
65
Kukjin Kim209fecd2010-01-14 15:29:17 +090066#define S5P6440_PA_SDRAM (0x20000000)
67#define S5P_PA_SDRAM S5P6440_PA_SDRAM
68
Jassi Brar08885d02010-05-18 16:03:02 +090069/* I2S */
70#define S5P6440_PA_I2S 0xF2000000
71
72/* PCM */
73#define S5P6440_PA_PCM 0xF2100000
74
Naveen Krishna Ch09cae8f2010-05-20 11:39:53 +090075#define S5P6440_PA_ADC (0xF3000000)
76
Kukjin Kim209fecd2010-01-14 15:29:17 +090077/* compatibiltiy defines. */
Kukjin Kim81317962010-01-27 16:57:07 +090078#define S3C_PA_UART S5P6440_PA_UART
79#define S3C_PA_IIC S5P6440_PA_IIC0
Banajit Goswamia0cce452010-05-20 16:21:31 +090080#define S3C_PA_WDT S5P6440_PA_WDT
Kukjin Kim209fecd2010-01-14 15:29:17 +090081
Naveen Krishna Ch09cae8f2010-05-20 11:39:53 +090082#define SAMSUNG_PA_ADC S5P6440_PA_ADC
Kukjin Kim209fecd2010-01-14 15:29:17 +090083
84#endif /* __ASM_ARCH_MAP_H */