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