Maxime Ripard | 3b52634 | 2012-11-08 12:40:16 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Generic definitions for Allwinner SunXi SoCs |
| 3 | * |
| 4 | * Copyright (C) 2012 Maxime Ripard |
| 5 | * |
| 6 | * Maxime Ripard <maxime.ripard@free-electrons.com> |
| 7 | * |
| 8 | * This file is licensed under the terms of the GNU General Public |
| 9 | * License version 2. This program is licensed "as is" without any |
| 10 | * warranty of any kind, whether express or implied. |
| 11 | */ |
| 12 | |
| 13 | #ifndef __MACH_SUNXI_H |
| 14 | #define __MACH_SUNXI_H |
| 15 | |
| 16 | #define SUNXI_REGS_PHYS_BASE 0x01c00000 |
| 17 | #define SUNXI_REGS_VIRT_BASE IOMEM(0xf1c00000) |
| 18 | #define SUNXI_REGS_SIZE (SZ_2M + SZ_1M) |
| 19 | |
| 20 | #endif /* __MACH_SUNXI_H */ |