Explorar o código

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>
Tom Rix %!s(int64=16) %!d(string=hai) anos
pai
achega
0c9520efd6
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      include/configs/omap3_zoom2.h

+ 8 - 0
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>