1 
   2 
   3 
   4 
   5 
   6 
   7 
   8 
   9 #ifndef __ASM_PLAT_MAP_S3C_H
  10 #define __ASM_PLAT_MAP_S3C_H __FILE__
  11 
  12 #define S3C24XX_VA_IRQ          S3C_VA_IRQ
  13 #define S3C24XX_VA_MEMCTRL      S3C_VA_MEM
  14 #define S3C24XX_VA_UART         S3C_VA_UART
  15 
  16 #define S3C24XX_VA_TIMER        S3C_VA_TIMER
  17 #define S3C24XX_VA_CLKPWR       S3C_VA_SYS
  18 #define S3C24XX_VA_WATCHDOG     S3C_VA_WATCHDOG
  19 
  20 #define S3C2412_VA_SSMC         S3C_ADDR_CPU(0x00000000)
  21 #define S3C2412_VA_EBI          S3C_ADDR_CPU(0x00100000)
  22 
  23 #define S3C2410_PA_UART         (0x50000000)
  24 #define S3C24XX_PA_UART         S3C2410_PA_UART
  25 
  26 
  27 
  28 
  29 
  30 
  31 
  32 
  33 
  34 
  35 
  36 
  37 #define S3C2410_PA_GPIO         (0x56000000)
  38 #define S3C24XX_PA_GPIO         S3C2410_PA_GPIO
  39 
  40 #define S3C24XX_VA_GPIO         ((S3C24XX_PA_GPIO - S3C24XX_PA_UART) + S3C24XX_VA_UART)
  41 #define S3C64XX_VA_GPIO         S3C_ADDR_CPU(0x00000000)
  42 
  43 #define S3C64XX_VA_MODEM        S3C_ADDR_CPU(0x00100000)
  44 #define S3C64XX_VA_USB_HSPHY    S3C_ADDR_CPU(0x00200000)
  45 
  46 #define S3C_VA_USB_HSPHY        S3C64XX_VA_USB_HSPHY
  47 
  48 
  49 
  50 
  51 
  52 
  53 #define S3C2410_ADDR(x)         S3C_ADDR(x)
  54 
  55 #define S3C24XX_VA_ISA_WORD     S3C2410_ADDR(0x02000000)
  56 #define S3C24XX_VA_ISA_BYTE     S3C2410_ADDR(0x03000000)
  57 
  58 
  59 
  60 #if defined(CONFIG_CPU_S3C2412)
  61 #ifndef __ASSEMBLY__
  62 extern void __iomem *s3c24xx_va_gpio2;
  63 #endif
  64 #ifdef CONFIG_CPU_S3C2412_ONLY
  65 #define S3C24XX_VA_GPIO2        (S3C24XX_VA_GPIO + 0x10)
  66 #else
  67 #define S3C24XX_VA_GPIO2 s3c24xx_va_gpio2
  68 #endif
  69 #else
  70 #define s3c24xx_va_gpio2 S3C24XX_VA_GPIO
  71 #define S3C24XX_VA_GPIO2 S3C24XX_VA_GPIO
  72 #endif
  73 
  74 #include <plat/map-s5p.h>
  75 
  76 #endif