rename the mx2 target to imx21
[openwrt/svn-archive/archive.git] / target / linux / imx21 / files / arch / arm / plat-mxc / include / mach / board-vp6500.h
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 (file)
index 0000000..c11d053
--- /dev/null
@@ -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