xref: /openbmc/linux/arch/arm/mach-s3c/map-s3c.h (revision 0d297df0)
1c6ff132dSArnd Bergmann /* SPDX-License-Identifier: GPL-2.0 */
2c6ff132dSArnd Bergmann /*
3c6ff132dSArnd Bergmann  * Copyright (c) 2008 Simtec Electronics
4c6ff132dSArnd Bergmann  *	Ben Dooks <ben@simtec.co.uk>
5c6ff132dSArnd Bergmann  *
6c6ff132dSArnd Bergmann  * S3C24XX - Memory map definitions
7c6ff132dSArnd Bergmann  */
8c6ff132dSArnd Bergmann 
9c6ff132dSArnd Bergmann #ifndef __ASM_PLAT_MAP_S3C_H
10c6ff132dSArnd Bergmann #define __ASM_PLAT_MAP_S3C_H __FILE__
11c6ff132dSArnd Bergmann 
12c6ff132dSArnd Bergmann #include "map.h"
13c6ff132dSArnd Bergmann 
14c6ff132dSArnd Bergmann /*
15c6ff132dSArnd Bergmann  * GPIO ports
16c6ff132dSArnd Bergmann  *
17c6ff132dSArnd Bergmann  * the calculation for the VA of this must ensure that
18c6ff132dSArnd Bergmann  * it is the same distance apart from the UART in the
19c6ff132dSArnd Bergmann  * phsyical address space, as the initial mapping for the IO
20c6ff132dSArnd Bergmann  * is done as a 1:1 mapping. This puts it (currently) at
21c6ff132dSArnd Bergmann  * 0xFA800000, which is not in the way of any current mapping
22c6ff132dSArnd Bergmann  * by the base system.
23c6ff132dSArnd Bergmann */
24c6ff132dSArnd Bergmann #define S3C64XX_VA_GPIO		S3C_ADDR_CPU(0x00000000)
25c6ff132dSArnd Bergmann 
26c6ff132dSArnd Bergmann #define S3C64XX_VA_MODEM	S3C_ADDR_CPU(0x00100000)
27c6ff132dSArnd Bergmann #define S3C64XX_VA_USB_HSPHY	S3C_ADDR_CPU(0x00200000)
28c6ff132dSArnd Bergmann 
29c6ff132dSArnd Bergmann #define S3C_VA_USB_HSPHY	S3C64XX_VA_USB_HSPHY
30c6ff132dSArnd Bergmann 
31c6ff132dSArnd Bergmann #include "map-s5p.h"
32c6ff132dSArnd Bergmann 
33c6ff132dSArnd Bergmann #endif /* __ASM_PLAT_MAP_S3C_H */
34