diff options
author | Jonas Jensen <jonas.jensen@gmail.com> | 2013-12-18 07:58:45 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-12-22 14:57:38 -0500 |
commit | 17723fd357f9973d5dd2908e3cc6b4149d891429 (patch) | |
tree | 44df24f23282ea4c99d0b39e90b0796acccb9fa3 /arch/arm/mach-moxart | |
parent | 345bc449e78664060a2863dafc680a4d1910ecb6 (diff) |
ARM: moxart: add MOXA ART SoC platform files
The MOXA ART SoC is based on Faraday's FA526. This is a ARMv4 32-bit
192 MHz CPU with MMU and 16KB/8KB D/I-cache.
Add platform support for this SoC.
Also add UC-7112-LX as a machine.
Signed-off-by: Jonas Jensen <jonas.jensen@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-moxart')
-rw-r--r-- | arch/arm/mach-moxart/Kconfig | 31 | ||||
-rw-r--r-- | arch/arm/mach-moxart/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-moxart/moxart.c | 15 |
3 files changed, 49 insertions, 0 deletions
diff --git a/arch/arm/mach-moxart/Kconfig b/arch/arm/mach-moxart/Kconfig new file mode 100644 index 000000000000..ba470d64493b --- /dev/null +++ b/arch/arm/mach-moxart/Kconfig | |||
@@ -0,0 +1,31 @@ | |||
1 | config ARCH_MOXART | ||
2 | bool "MOXA ART SoC" if ARCH_MULTI_V4T | ||
3 | select CPU_FA526 | ||
4 | select ARM_DMA_MEM_BUFFERABLE | ||
5 | select DMA_OF | ||
6 | select USE_OF | ||
7 | select CLKSRC_OF | ||
8 | select CLKSRC_MMIO | ||
9 | select HAVE_CLK | ||
10 | select COMMON_CLK | ||
11 | select GENERIC_IRQ_CHIP | ||
12 | select ARCH_REQUIRE_GPIOLIB | ||
13 | select GENERIC_CLOCKEVENTS | ||
14 | select PHYLIB if NETDEVICES | ||
15 | help | ||
16 | Say Y here if you want to run your kernel on hardware with a | ||
17 | MOXA ART SoC. | ||
18 | The MOXA ART SoC is based on a Faraday FA526 ARMv4 32-bit | ||
19 | 192 MHz CPU with MMU and 16KB/8KB D/I-cache (UC-7112-LX). | ||
20 | Used on models UC-7101, UC-7112/UC-7110, IA240/IA241, IA3341. | ||
21 | |||
22 | if ARCH_MOXART | ||
23 | |||
24 | config MACH_UC7112LX | ||
25 | bool "MOXA UC-7112-LX" | ||
26 | depends on ARCH_MOXART | ||
27 | help | ||
28 | Say Y here if you intend to run this kernel on a MOXA | ||
29 | UC-7112-LX embedded computer. | ||
30 | |||
31 | endif | ||
diff --git a/arch/arm/mach-moxart/Makefile b/arch/arm/mach-moxart/Makefile new file mode 100644 index 000000000000..fa022eb10ca1 --- /dev/null +++ b/arch/arm/mach-moxart/Makefile | |||
@@ -0,0 +1,3 @@ | |||
1 | # Object file lists. | ||
2 | |||
3 | obj-$(CONFIG_MACH_UC7112LX) += moxart.o | ||
diff --git a/arch/arm/mach-moxart/moxart.c b/arch/arm/mach-moxart/moxart.c new file mode 100644 index 000000000000..86b6d9b57c54 --- /dev/null +++ b/arch/arm/mach-moxart/moxart.c | |||
@@ -0,0 +1,15 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-moxart/moxart.c | ||
3 | * | ||
4 | * (C) Copyright 2013, Jonas Jensen <jonas.jensen@gmail.com> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | */ | ||