79c9601c2e
* 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (272 commits) Fix soc_common PCMCIA configuration ARM: 5827/1: SA1100: h3100/h3600: emit messages on failed gpio_request ARM: 5826/1: SA1100: h3100/h3600: always build htc-egpio driver ARM: 5825/1: SA1100: h3600: update defconfig ARM: 5824/1: SA1100: reuse h3600 PCMCIA driver on h3100 ARM: 5823/1: SA1100: h3100/h3600: add support for gpio-keys ARM: 5822/1: SA1100: h3100/h3600: clean up #includes ARM: 5821/1: SA1100: h3100/h3600: revise copyright boilerplates ARM: 5820/1: SA1100: h3100/h3600: split h3600.c ARM: 5819/1: SA1100: h3100/h3600: merge h3600.h and h3600_gpio.h into h3xxx.h ARM: 5818/1: SA1100: h3100/h3600: drop old GPIO definitions ARM: 5817/1: SA1100: h3100/h3600: configure all unused gpios as inputs ARM: 5816/1: SA1100: h3600: remove IRQ_GPIO_* definitions ARM: 5815/1: SA1100: h3100/h3600: remove now unused assign_h3600_egpio handlers ARM: 5814/1: SA1100: h3100/h3600: convert all users of assign_h3600_egpio to gpiolib ARM: 5813/1: SA1100: h3100/h3600: add htc-egpio driver ARM: 5812/1: SA1100: h3100/h3600: separate machine-specific LCD helpers ARM: 5811/2: pcmcia: convert sa1100_h3600 driver to gpiolib ARM: 5799/1: SA1100: h3600: stop setting direction for LCD pins ARM: 5798/1: SA1100: h3600: remove unused cruft from h3600.h ...
90 lines
2.8 KiB
C
90 lines
2.8 KiB
C
/* linux/arch/arm/mach-s3c6400/include/mach/map.h
|
|
*
|
|
* Copyright 2008 Openmoko, Inc.
|
|
* Copyright 2008 Simtec Electronics
|
|
* http://armlinux.simtec.co.uk/
|
|
* Ben Dooks <ben@simtec.co.uk>
|
|
*
|
|
* S3C64XX - 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>
|
|
|
|
/* HSMMC units */
|
|
#define S3C64XX_PA_HSMMC(x) (0x7C200000 + ((x) * 0x100000))
|
|
#define S3C64XX_PA_HSMMC0 S3C64XX_PA_HSMMC(0)
|
|
#define S3C64XX_PA_HSMMC1 S3C64XX_PA_HSMMC(1)
|
|
#define S3C64XX_PA_HSMMC2 S3C64XX_PA_HSMMC(2)
|
|
|
|
#define S3C_PA_UART (0x7F005000)
|
|
#define S3C_PA_UART0 (S3C_PA_UART + 0x00)
|
|
#define S3C_PA_UART1 (S3C_PA_UART + 0x400)
|
|
#define S3C_PA_UART2 (S3C_PA_UART + 0x800)
|
|
#define S3C_PA_UART3 (S3C_PA_UART + 0xC00)
|
|
#define S3C_UART_OFFSET (0x400)
|
|
|
|
/* See notes on UART VA mapping in debug-macro.S */
|
|
#define S3C_VA_UARTx(x) (S3C_VA_UART + (S3C_PA_UART & 0xfffff) + ((x) * S3C_UART_OFFSET))
|
|
|
|
#define S3C_VA_UART0 S3C_VA_UARTx(0)
|
|
#define S3C_VA_UART1 S3C_VA_UARTx(1)
|
|
#define S3C_VA_UART2 S3C_VA_UARTx(2)
|
|
#define S3C_VA_UART3 S3C_VA_UARTx(3)
|
|
|
|
#define S3C64XX_PA_NAND (0x70200000)
|
|
#define S3C64XX_PA_FB (0x77100000)
|
|
#define S3C64XX_PA_USB_HSOTG (0x7C000000)
|
|
#define S3C64XX_PA_WATCHDOG (0x7E004000)
|
|
#define S3C64XX_PA_SYSCON (0x7E00F000)
|
|
#define S3C64XX_PA_AC97 (0x7F001000)
|
|
#define S3C64XX_PA_IIS0 (0x7F002000)
|
|
#define S3C64XX_PA_IIS1 (0x7F003000)
|
|
#define S3C64XX_PA_TIMER (0x7F006000)
|
|
#define S3C64XX_PA_IIC0 (0x7F004000)
|
|
#define S3C64XX_PA_PCM0 (0x7F009000)
|
|
#define S3C64XX_PA_PCM1 (0x7F00A000)
|
|
#define S3C64XX_PA_IISV4 (0x7F00D000)
|
|
#define S3C64XX_PA_IIC1 (0x7F00F000)
|
|
|
|
#define S3C64XX_PA_GPIO (0x7F008000)
|
|
#define S3C64XX_VA_GPIO S3C_ADDR_CPU(0x00000000)
|
|
#define S3C64XX_SZ_GPIO SZ_4K
|
|
|
|
#define S3C64XX_PA_SDRAM (0x50000000)
|
|
#define S3C64XX_PA_VIC0 (0x71200000)
|
|
#define S3C64XX_PA_VIC1 (0x71300000)
|
|
|
|
#define S3C64XX_PA_MODEM (0x74108000)
|
|
#define S3C64XX_VA_MODEM S3C_ADDR_CPU(0x00100000)
|
|
|
|
#define S3C64XX_PA_USBHOST (0x74300000)
|
|
|
|
#define S3C64XX_PA_USB_HSPHY (0x7C100000)
|
|
#define S3C64XX_VA_USB_HSPHY S3C_ADDR_CPU(0x00200000)
|
|
|
|
/* place VICs close together */
|
|
#define S3C_VA_VIC0 (S3C_VA_IRQ + 0x00)
|
|
#define S3C_VA_VIC1 (S3C_VA_IRQ + 0x10000)
|
|
|
|
/* compatibiltiy defines. */
|
|
#define S3C_PA_TIMER S3C64XX_PA_TIMER
|
|
#define S3C_PA_HSMMC0 S3C64XX_PA_HSMMC0
|
|
#define S3C_PA_HSMMC1 S3C64XX_PA_HSMMC1
|
|
#define S3C_PA_HSMMC2 S3C64XX_PA_HSMMC2
|
|
#define S3C_PA_IIC S3C64XX_PA_IIC0
|
|
#define S3C_PA_IIC1 S3C64XX_PA_IIC1
|
|
#define S3C_PA_NAND S3C64XX_PA_NAND
|
|
#define S3C_PA_FB S3C64XX_PA_FB
|
|
#define S3C_PA_USBHOST S3C64XX_PA_USBHOST
|
|
#define S3C_PA_USB_HSOTG S3C64XX_PA_USB_HSOTG
|
|
#define S3C_VA_USB_HSPHY S3C64XX_VA_USB_HSPHY
|
|
|
|
#endif /* __ASM_ARCH_6400_MAP_H */
|