From 0c9520efd651ce13451654a35307ec87d4a13a69 Mon Sep 17 00:00:00 2001
From: Tom Rix <Tom.Rix@windriver.com>
Date: Fri, 29 May 2009 18:57:32 -0500
Subject: [PATCH] ZOOM2 Define GPIO banks used.

Enable the function and interface clocks for banks 2,3,5 and 6.

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Acked-by: Dirk Behme <dirk.behme@googlemail.com>
---
 include/configs/omap3_zoom2.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/configs/omap3_zoom2.h b/include/configs/omap3_zoom2.h
index e2574192cf7..c2ad5bf199b 100644
--- a/include/configs/omap3_zoom2.h
+++ b/include/configs/omap3_zoom2.h
@@ -115,6 +115,14 @@
 /* Optional value */
 #define STATUS_LED_BOOT			STATUS_LED_BIT
 
+/* GPIO banks */
+#ifdef CONFIG_STATUS_LED
+#define CONFIG_OMAP3_GPIO_2 /* ZOOM2_LED_BLUE2 */
+#define CONFIG_OMAP3_GPIO_6 /* ZOOM2_LED_RED */
+#endif
+#define CONFIG_OMAP3_GPIO_3 /* board revision */
+#define CONFIG_OMAP3_GPIO_5 /* debug board detection, ZOOM2_LED_BLUE */
+
 /* commands to include */
 #include <config_cmd_default.h>
 
-- 
GitLab