diff options
| author | Andreas Bießmann <[email protected]> | 2013-09-06 15:04:54 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2013-11-01 15:55:59 -0400 |
| commit | ad9f072c2e3b6b4b198f171cb1ba6c0e7fc3e06e (patch) | |
| tree | c2d33deb4ae3494427b4c594736f8f754839ecd0 /include | |
| parent | 890880583d84607e36b52a785a96b167728bbf73 (diff) | |
tricorder: add led support
Signed-off-by: Andreas Bießmann <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/tricorder.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index 087c44ca513..f54fa24922a 100644 --- a/include/configs/tricorder.h +++ b/include/configs/tricorder.h @@ -60,6 +60,20 @@ /* GPIO support */ #define CONFIG_OMAP_GPIO +/* LED support */ +#define CONFIG_STATUS_LED +#define CONFIG_BOARD_SPECIFIC_LED +#define CONFIG_CMD_LED /* LED command */ +#define STATUS_LED_BIT (1 << 0) +#define STATUS_LED_STATE STATUS_LED_ON +#define STATUS_LED_PERIOD (CONFIG_SYS_HZ / 2) +#define STATUS_LED_BIT1 (1 << 1) +#define STATUS_LED_STATE1 STATUS_LED_ON +#define STATUS_LED_PERIOD1 (CONFIG_SYS_HZ / 2) +#define STATUS_LED_BIT2 (1 << 2) +#define STATUS_LED_STATE2 STATUS_LED_ON +#define STATUS_LED_PERIOD2 (CONFIG_SYS_HZ / 2) + /* NS16550 Configuration */ #define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL |
