Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 1 | /* 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 Kim | 8131796 | 2010-01-27 16:57:07 +0900 | [diff] [blame] | 17 | #include <plat/map-s5p.h> |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 18 | |
Kukjin Kim | af15194 | 2010-01-19 11:21:39 +0900 | [diff] [blame] | 19 | #define S5P6440_PA_CHIPID (0xE0000000) |
| 20 | #define S5P_PA_CHIPID S5P6440_PA_CHIPID |
Kukjin Kim | af15194 | 2010-01-19 11:21:39 +0900 | [diff] [blame] | 21 | |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 22 | #define S5P6440_PA_SYSCON (0xE0100000) |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 23 | #define S5P6440_PA_CLK (S5P6440_PA_SYSCON + 0x0) |
Kukjin Kim | 8131796 | 2010-01-27 16:57:07 +0900 | [diff] [blame] | 24 | #define S5P_PA_SYSCON S5P6440_PA_SYSCON |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 25 | |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 26 | #define S5P6440_PA_GPIO (0xE0308000) |
| 27 | #define S5P_PA_GPIO S5P6440_PA_GPIO |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 28 | |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 29 | #define S5P6440_PA_VIC0 (0xE4000000) |
| 30 | #define S5P_PA_VIC0 S5P6440_PA_VIC0 |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 31 | |
Jassi Brar | d8b5065 | 2010-05-18 11:59:20 +0900 | [diff] [blame] | 32 | #define S5P6440_PA_PDMA 0xE9000000 |
| 33 | |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 34 | #define S5P6440_PA_VIC1 (0xE4100000) |
| 35 | #define S5P_PA_VIC1 S5P6440_PA_VIC1 |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 36 | |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 37 | #define S5P6440_PA_TIMER (0xEA000000) |
| 38 | #define S5P_PA_TIMER S5P6440_PA_TIMER |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 39 | |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 40 | #define S5P6440_PA_RTC (0xEA100000) |
| 41 | #define S5P_PA_RTC S5P6440_PA_RTC |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 42 | |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 43 | #define S5P6440_PA_WDT (0xEA200000) |
| 44 | #define S5P_PA_WDT S5P6440_PA_WDT |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 45 | |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 46 | #define S5P6440_PA_UART (0xEC000000) |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 47 | |
Kukjin Kim | 8131796 | 2010-01-27 16:57:07 +0900 | [diff] [blame] | 48 | #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 Brar | ef2f07d | 2010-05-18 16:43:40 +0900 | [diff] [blame] | 57 | #define S5P6440_PA_SPI0 0xEC400000 |
| 58 | #define S5P6440_PA_SPI1 0xEC500000 |
| 59 | |
Ben Dooks | 0647aee | 2010-01-20 15:09:40 +0900 | [diff] [blame] | 60 | #define S5P6440_PA_HSOTG (0xED100000) |
| 61 | |
Ben Dooks | 0647aee | 2010-01-20 15:09:40 +0900 | [diff] [blame] | 62 | #define S5P6440_PA_HSMMC0 (0xED800000) |
| 63 | #define S5P6440_PA_HSMMC1 (0xED900000) |
| 64 | #define S5P6440_PA_HSMMC2 (0xEDA00000) |
| 65 | |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 66 | #define S5P6440_PA_SDRAM (0x20000000) |
| 67 | #define S5P_PA_SDRAM S5P6440_PA_SDRAM |
| 68 | |
Jassi Brar | 08885d0 | 2010-05-18 16:03:02 +0900 | [diff] [blame] | 69 | /* I2S */ |
| 70 | #define S5P6440_PA_I2S 0xF2000000 |
| 71 | |
| 72 | /* PCM */ |
| 73 | #define S5P6440_PA_PCM 0xF2100000 |
| 74 | |
Naveen Krishna Ch | 09cae8f | 2010-05-20 11:39:53 +0900 | [diff] [blame] | 75 | #define S5P6440_PA_ADC (0xF3000000) |
| 76 | |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 77 | /* compatibiltiy defines. */ |
Kukjin Kim | 8131796 | 2010-01-27 16:57:07 +0900 | [diff] [blame] | 78 | #define S3C_PA_UART S5P6440_PA_UART |
| 79 | #define S3C_PA_IIC S5P6440_PA_IIC0 |
Banajit Goswami | a0cce45 | 2010-05-20 16:21:31 +0900 | [diff] [blame] | 80 | #define S3C_PA_WDT S5P6440_PA_WDT |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 81 | |
Naveen Krishna Ch | 09cae8f | 2010-05-20 11:39:53 +0900 | [diff] [blame] | 82 | #define SAMSUNG_PA_ADC S5P6440_PA_ADC |
Kukjin Kim | 209fecd | 2010-01-14 15:29:17 +0900 | [diff] [blame] | 83 | |
| 84 | #endif /* __ASM_ARCH_MAP_H */ |