aboutsummaryrefslogtreecommitdiff
path: root/include/configs/omap3_zoom2.h
diff options
context:
space:
mode:
authorTom Rix2009-05-31 12:44:39 +0200
committerWolfgang Denk2009-06-12 20:39:53 +0200
commit83ae698ff26b81b569ca32f7f2b008ad0da15e66 (patch)
treeedde3a0a8ece31e491b9ce5088a377f650e27b99 /include/configs/omap3_zoom2.h
parent660888b7fb8840ce169dcd2589e49ab44c46b87b (diff)
ZOOM2 Add led support.
This patch controls the large LED on the top left of the zoom2. Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Diffstat (limited to 'include/configs/omap3_zoom2.h')
-rw-r--r--include/configs/omap3_zoom2.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/configs/omap3_zoom2.h b/include/configs/omap3_zoom2.h
index d9a9c1a830b..1d696b6e154 100644
--- a/include/configs/omap3_zoom2.h
+++ b/include/configs/omap3_zoom2.h
@@ -93,6 +93,22 @@
#define CONFIG_OMAP3_MMC 1
#define CONFIG_DOS_PARTITION 1
+/* Status LED */
+#define CONFIG_STATUS_LED 1 /* Status LED enabled */
+#define CONFIG_BOARD_SPECIFIC_LED 1
+#define STATUS_LED_BLUE 0
+#define STATUS_LED_RED 1
+/* Blue */
+#define STATUS_LED_BIT STATUS_LED_BLUE
+#define STATUS_LED_STATE STATUS_LED_ON
+#define STATUS_LED_PERIOD (CONFIG_SYS_HZ / 2)
+/* Red */
+#define STATUS_LED_BIT1 STATUS_LED_RED
+#define STATUS_LED_STATE1 STATUS_LED_OFF
+#define STATUS_LED_PERIOD1 (CONFIG_SYS_HZ / 2)
+/* Optional value */
+#define STATUS_LED_BOOT STATUS_LED_BIT
+
/* commands to include */
#include <config_cmd_default.h>