diff options
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/hx4700.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/hx4700.c b/arch/arm/mach-pxa/hx4700.c index de877a9d3e4c..f038da1e4196 100644 --- a/arch/arm/mach-pxa/hx4700.c +++ b/arch/arm/mach-pxa/hx4700.c | |||
@@ -244,6 +244,21 @@ static u16 asic3_gpio_config[] = { | |||
244 | ASIC3_GPIOD15_nPIOW, | 244 | ASIC3_GPIOD15_nPIOW, |
245 | }; | 245 | }; |
246 | 246 | ||
247 | static struct asic3_led asic3_leds[ASIC3_NUM_LEDS] = { | ||
248 | [0] = { | ||
249 | .name = "hx4700:amber", | ||
250 | .default_trigger = "ds2760-battery.0-charging-blink-full-solid", | ||
251 | }, | ||
252 | [1] = { | ||
253 | .name = "hx4700:green", | ||
254 | .default_trigger = "unused", | ||
255 | }, | ||
256 | [2] = { | ||
257 | .name = "hx4700:blue", | ||
258 | .default_trigger = "hx4700-radio", | ||
259 | }, | ||
260 | }; | ||
261 | |||
247 | static struct resource asic3_resources[] = { | 262 | static struct resource asic3_resources[] = { |
248 | /* GPIO part */ | 263 | /* GPIO part */ |
249 | [0] = { | 264 | [0] = { |
@@ -274,6 +289,7 @@ static struct asic3_platform_data asic3_platform_data = { | |||
274 | .gpio_config_num = ARRAY_SIZE(asic3_gpio_config), | 289 | .gpio_config_num = ARRAY_SIZE(asic3_gpio_config), |
275 | .irq_base = IRQ_BOARD_START, | 290 | .irq_base = IRQ_BOARD_START, |
276 | .gpio_base = HX4700_ASIC3_GPIO_BASE, | 291 | .gpio_base = HX4700_ASIC3_GPIO_BASE, |
292 | .leds = asic3_leds, | ||
277 | }; | 293 | }; |
278 | 294 | ||
279 | static struct platform_device asic3 = { | 295 | static struct platform_device asic3 = { |