diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2011-04-18 17:54:33 -0400 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-04-27 19:38:07 +0200 |
commit | 2b8754b25ff8134d8db18f6d4d28d41a5e1b36e6 (patch) | |
tree | 5621227709b80e080620531792ec1833c62288fe /include/configs | |
parent | afff1fc07996cec1d0a2e34e13f9c06784e26ce7 (diff) | |
download | u-boot-imx-2b8754b25ff8134d8db18f6d4d28d41a5e1b36e6.zip u-boot-imx-2b8754b25ff8134d8db18f6d4d28d41a5e1b36e6.tar.gz u-boot-imx-2b8754b25ff8134d8db18f6d4d28d41a5e1b36e6.tar.bz2 |
OMAP3: CM-T35: enable the green LED
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/cm_t35.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index 3692810..c259640 100644 --- a/include/configs/cm_t35.h +++ b/include/configs/cm_t35.h @@ -351,4 +351,19 @@ extern unsigned int boot_flash_type; CONFIG_SYS_INIT_RAM_SIZE - \ GENERATED_GBL_DATA_SIZE) +/* Status LED */ +#define CONFIG_STATUS_LED 1 /* Status LED enabled */ +#define CONFIG_BOARD_SPECIFIC_LED 1 +#define STATUS_LED_GREEN 0 +#define STATUS_LED_BIT STATUS_LED_GREEN +#define STATUS_LED_STATE STATUS_LED_ON +#define STATUS_LED_PERIOD (CONFIG_SYS_HZ / 2) +#define STATUS_LED_BOOT STATUS_LED_BIT +#define GREEN_LED_GPIO 186 /* CM-T35 Green LED is GPIO186 */ + +/* GPIO banks */ +#ifdef CONFIG_STATUS_LED +#define CONFIG_OMAP3_GPIO_6 1 /* GPIO186 is in GPIO bank 6 */ +#endif + #endif /* __CONFIG_H */ |