aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-mx3/mach-kzm_arm11_01.c18
-rw-r--r--arch/arm/plat-mxc/include/mach/board-kzmarm11.h39
2 files changed, 17 insertions, 40 deletions
diff --git a/arch/arm/mach-mx3/mach-kzm_arm11_01.c b/arch/arm/mach-mx3/mach-kzm_arm11_01.c
index f085d5d1a6de..e60f5da1dee4 100644
--- a/arch/arm/mach-mx3/mach-kzm_arm11_01.c
+++ b/arch/arm/mach-mx3/mach-kzm_arm11_01.c
@@ -37,7 +37,6 @@
37#include <asm/mach/map.h> 37#include <asm/mach/map.h>
38#include <asm/mach/time.h> 38#include <asm/mach/time.h>
39 39
40#include <mach/board-kzmarm11.h>
41#include <mach/clock.h> 40#include <mach/clock.h>
42#include <mach/common.h> 41#include <mach/common.h>
43#include <mach/imx-uart.h> 42#include <mach/imx-uart.h>
@@ -51,6 +50,23 @@
51 IMX_IO_ADDRESS(x, MX31_CS5) ?: \ 50 IMX_IO_ADDRESS(x, MX31_CS5) ?: \
52 MX31_IO_ADDRESS(x)) 51 MX31_IO_ADDRESS(x))
53 52
53/*
54 * KZM-ARM11-01 Board Control Registers on FPGA
55 */
56#define KZM_ARM11_CTL1 (MX31_CS4_BASE_ADDR + 0x1000)
57#define KZM_ARM11_CTL2 (MX31_CS4_BASE_ADDR + 0x1001)
58#define KZM_ARM11_RSW1 (MX31_CS4_BASE_ADDR + 0x1002)
59#define KZM_ARM11_BACK_LIGHT (MX31_CS4_BASE_ADDR + 0x1004)
60#define KZM_ARM11_FPGA_REV (MX31_CS4_BASE_ADDR + 0x1008)
61#define KZM_ARM11_7SEG_LED (MX31_CS4_BASE_ADDR + 0x1010)
62#define KZM_ARM11_LEDS (MX31_CS4_BASE_ADDR + 0x1020)
63#define KZM_ARM11_DIPSW2 (MX31_CS4_BASE_ADDR + 0x1003)
64
65/*
66 * External UART for touch panel on FPGA
67 */
68#define KZM_ARM11_16550 (MX31_CS4_BASE_ADDR + 0x1050)
69
54#if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE) 70#if defined(CONFIG_SERIAL_8250) || defined(CONFIG_SERIAL_8250_MODULE)
55/* 71/*
56 * KZM-ARM11-01 has an external UART on FPGA 72 * KZM-ARM11-01 has an external UART on FPGA
diff --git a/arch/arm/plat-mxc/include/mach/board-kzmarm11.h b/arch/arm/plat-mxc/include/mach/board-kzmarm11.h
deleted file mode 100644
index 93cc66f104c7..000000000000
--- a/arch/arm/plat-mxc/include/mach/board-kzmarm11.h
+++ /dev/null
@@ -1,39 +0,0 @@
1/*
2 * Copyright (C) 2009 Yoichi Yuasa <yuasa@linux-mips.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18#ifndef __ARM_ARCH_BOARD_KZM_ARM11_H
19#define __ARM_ARCH_BOARD_KZM_ARM11_H
20
21/*
22 * KZM-ARM11-01 Board Control Registers on FPGA
23 */
24#define KZM_ARM11_CTL1 (MX31_CS4_BASE_ADDR + 0x1000)
25#define KZM_ARM11_CTL2 (MX31_CS4_BASE_ADDR + 0x1001)
26#define KZM_ARM11_RSW1 (MX31_CS4_BASE_ADDR + 0x1002)
27#define KZM_ARM11_BACK_LIGHT (MX31_CS4_BASE_ADDR + 0x1004)
28#define KZM_ARM11_FPGA_REV (MX31_CS4_BASE_ADDR + 0x1008)
29#define KZM_ARM11_7SEG_LED (MX31_CS4_BASE_ADDR + 0x1010)
30#define KZM_ARM11_LEDS (MX31_CS4_BASE_ADDR + 0x1020)
31#define KZM_ARM11_DIPSW2 (MX31_CS4_BASE_ADDR + 0x1003)
32
33/*
34 * External UART for touch panel on FPGA
35 */
36#define KZM_ARM11_16550 (MX31_CS4_BASE_ADDR + 0x1050)
37
38#endif /* __ARM_ARCH_BOARD_KZM_ARM11_H */
39