1 From 40049e97a5a97d597f8754ff1b39d931053eb465 Mon Sep 17 00:00:00 2001
2 From: Jason Kridner <jkridner@beagleboard.org>
3 Date: Wed, 19 May 2010 05:14:43 -0500
4 Subject: [PATCH 44/51] BeagleBoard: Enabled LEDs
6 Added LED driver using status_led. USR0 is set to monitor the boot
7 status. USR1 is set to be the GREEN LED.
9 Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
10 ---
11 include/configs/omap3_beagle.h | 13 +++++++++++++
12 1 files changed, 13 insertions(+), 0 deletions(-)
14 diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
15 index e4c88f2..053f5df 100644
16 --- a/include/configs/omap3_beagle.h
17 +++ b/include/configs/omap3_beagle.h
18 @@ -98,6 +98,18 @@
19 #define CONFIG_SYS_MMC_SET_DEV 1
20 #define CONFIG_DOS_PARTITION 1
22 +/* Status LED */
23 +#define CONFIG_STATUS_LED 1
24 +#define CONFIG_BOARD_SPECIFIC_LED 1
25 +#define STATUS_LED_BIT 0x01
26 +#define STATUS_LED_STATE STATUS_LED_ON
27 +#define STATUS_LED_PERIOD (CONFIG_SYS_HZ / 2)
28 +#define STATUS_LED_BIT1 0x02
29 +#define STATUS_LED_STATE1 STATUS_LED_ON
30 +#define STATUS_LED_PERIOD1 (CONFIG_SYS_HZ / 2)
31 +#define STATUS_LED_BOOT STATUS_LED_BIT
32 +#define STATUS_LED_GREEN STATUS_LED_BIT1
33 +
34 /* DDR - I use Micron DDR */
35 #define CONFIG_OMAP3_MICRON_DDR 1
37 @@ -138,6 +150,7 @@
38 #define CONFIG_CMD_I2C /* I2C serial bus support */
39 #define CONFIG_CMD_MMC /* MMC support */
40 #define CONFIG_CMD_NAND /* NAND support */
41 +#define CONFIG_CMD_LED /* LED support */
42 #define CONFIG_VIDEO_OMAP3 /* DSS Support */
44 #undef CONFIG_CMD_FLASH /* flinfo, erase, protect */
45 --
46 1.6.6.1