From 83ae698ff26b81b569ca32f7f2b008ad0da15e66 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Sun, 31 May 2009 12:44:39 +0200 Subject: ZOOM2 Add led support. This patch controls the large LED on the top left of the zoom2. Signed-off-by: Tom Rix --- include/configs/omap3_zoom2.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'include/configs/omap3_zoom2.h') diff --git a/include/configs/omap3_zoom2.h b/include/configs/omap3_zoom2.h index d9a9c1a..1d696b6 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 -- cgit v1.1