summaryrefslogtreecommitdiffstats
path: root/target/linux/imx21/files/arch/arm/plat-mxc/include
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-19 12:32:18 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-19 12:32:18 +0000
commit66268489c43a03f2804e9d12b36df0ee489c3b04 (patch)
treea233ad5f2d6d2523bd28081fd153d1a9bef3a006 /target/linux/imx21/files/arch/arm/plat-mxc/include
parentc844d7d20785c91a71043504e294355086a09993 (diff)
rename the mx2 target to imx21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22294 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/imx21/files/arch/arm/plat-mxc/include')
-rw-r--r--target/linux/imx21/files/arch/arm/plat-mxc/include/mach/board-vp6500.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/imx21/files/arch/arm/plat-mxc/include/mach/board-vp6500.h b/target/linux/imx21/files/arch/arm/plat-mxc/include/mach/board-vp6500.h
new file mode 100644
index 000000000..c11d053a5
--- /dev/null
+++ b/target/linux/imx21/files/arch/arm/plat-mxc/include/mach/board-vp6500.h
@@ -0,0 +1,17 @@
+
+#ifndef __BOARD_VP6500__
+#define __BOARD_VP6500__
+
+#define VP6500_GPIO_POWER_KEY GPIO_PORTB | 5
+#define VP6500_GPIO_CAMERA_DIRECTION GPIO_PORTB | 13
+#define VP6500_GPIO_LED_KEYPAD GPIO_PORTC | 18
+#define VP6500_GPIO_AMP_ENABLE GPIO_PORTC | 25
+#define VP6500_GPIO_LED_RED GPIO_PORTC | 27
+#define VP6500_GPIO_LED_GREEN GPIO_PORTC | 28
+#define VP6500_GPIO_LED_CAMERA GPIO_PORTC | 29
+#define VP6500_GPIO_BACKLIGHT_EN GPIO_PORTE | 10
+
+#define VP6500_GPIO_TLV_RESET GPIO_PORTB | 27
+#define VP6500_GPIO_TLV_ENABLE GPIO_PORTC | 25
+
+#endif