diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-11-08 06:40:16 -0500 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2012-11-16 15:56:51 -0500 |
commit | 3b52634f0b7adaaf2b29569025287b938b7c71a6 (patch) | |
tree | 1388d7153ffbe0848496ee9dd21859c39b4b47b9 /arch/arm/mach-sunxi/sunxi.h | |
parent | afd24e146826cec0f46929263a0c874406a19cd8 (diff) |
ARM: sunxi: Add basic support for Allwinner A1x SoCs
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/mach-sunxi/sunxi.h')
-rw-r--r-- | arch/arm/mach-sunxi/sunxi.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/sunxi.h b/arch/arm/mach-sunxi/sunxi.h new file mode 100644 index 000000000000..33b58712adea --- /dev/null +++ b/arch/arm/mach-sunxi/sunxi.h | |||
@@ -0,0 +1,20 @@ | |||
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 */ | ||