summaryrefslogtreecommitdiff
path: root/target/linux/mx2/files/arch/arm/plat-mxc
diff options
context:
space:
mode:
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-13 20:52:41 +0000
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-13 20:52:41 +0000
commite690b9d312ea684170aeb6e92e6b025be95e51d9 (patch)
tree3b520896cdae602a4878807168f122622acc7a38 /target/linux/mx2/files/arch/arm/plat-mxc
parentcb83430c062604bbd8c3418d3a8b9537753f0883 (diff)
[mx2] vp6500: Add backlight device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20843 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mx2/files/arch/arm/plat-mxc')
-rw-r--r--target/linux/mx2/files/arch/arm/plat-mxc/include/mach/board-vp6500.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/target/linux/mx2/files/arch/arm/plat-mxc/include/mach/board-vp6500.h b/target/linux/mx2/files/arch/arm/plat-mxc/include/mach/board-vp6500.h
index 700f9c101b..c11d053a5c 100644
--- a/target/linux/mx2/files/arch/arm/plat-mxc/include/mach/board-vp6500.h
+++ b/target/linux/mx2/files/arch/arm/plat-mxc/include/mach/board-vp6500.h
@@ -2,12 +2,16 @@
#ifndef __BOARD_VP6500__
#define __BOARD_VP6500__
-#define VP6500_GPIO_POWER_KEY 39
-#define VP6500_GPIO_CAMERA_DIRECTION 45
-#define VP6500_GPIO_LED_KEYPAD 82
-#define VP6500_GPIO_AMP_ENABLE 89
-#define VP6500_GPIO_LED_RED 91
-#define VP6500_GPIO_LED_GREEN 92
-#define VP6500_GPIO_LED_CAMERA 93
+#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