mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
33 lines
818 B
Diff
33 lines
818 B
Diff
|
--- a/arch/arm/mach-kirkwood/sheevaplug-setup.c
|
||
|
+++ b/arch/arm/mach-kirkwood/sheevaplug-setup.c
|
||
|
@@ -52,9 +52,15 @@ static struct mvsdio_platform_data sheevaplug_mvsdio_data = {
|
||
|
|
||
|
static struct gpio_led sheevaplug_led_pins[] = {
|
||
|
{
|
||
|
- .name = "plug:green:health",
|
||
|
+ .name = "dockstar:green:health",
|
||
|
.default_trigger = "default-on",
|
||
|
- .gpio = 49,
|
||
|
+ .gpio = 46, /* green */
|
||
|
+ .active_low = 1,
|
||
|
+ },
|
||
|
+ {
|
||
|
+ .name = "dockstar:orange:misc",
|
||
|
+ .default_trigger = "none",
|
||
|
+ .gpio = 47, /* orange */
|
||
|
.active_low = 1,
|
||
|
},
|
||
|
};
|
||
|
@@ -74,7 +80,8 @@ static struct platform_device sheevaplug_leds = {
|
||
|
|
||
|
static unsigned int sheevaplug_mpp_config[] __initdata = {
|
||
|
MPP29_GPIO, /* USB Power Enable */
|
||
|
- MPP49_GPIO, /* LED */
|
||
|
+ MPP46_GPIO, /* LED green */
|
||
|
+ MPP47_GPIO, /* LED orange */
|
||
|
0
|
||
|
};
|
||
|
|
||
|
--
|
||
|
1.6.4.4
|