summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.biessmann@corscience.de>2013-09-06 15:04:54 +0200
committerTom Rini <trini@ti.com>2013-11-01 15:55:59 -0400
commitad9f072c2e3b6b4b198f171cb1ba6c0e7fc3e06e (patch)
treec2d33deb4ae3494427b4c594736f8f754839ecd0 /include/configs
parent890880583d84607e36b52a785a96b167728bbf73 (diff)
downloadblackbird-obmc-uboot-ad9f072c2e3b6b4b198f171cb1ba6c0e7fc3e06e.tar.gz
blackbird-obmc-uboot-ad9f072c2e3b6b4b198f171cb1ba6c0e7fc3e06e.zip
tricorder: add led support
Signed-off-by: Andreas Bießmann <andreas.biessmann@corscience.de>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/tricorder.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
index 087c44ca51..f54fa24922 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
OpenPOWER on IntegriCloud