Openwrt/target/linux/at91/patches/901-AT91-flexibity-default-leds-to-heartbeat.patch
John Crispin 349e97f879 AT91: Add flexibity board support
The patch below adds AT91 Flexibity Connect board support.

Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com>

SVN-Revision: 27412
2011-07-03 18:51:59 +00:00

63 lines
1.5 KiB
Diff

Index: linux-2.6.39/arch/arm/mach-at91/board-flexibity.c
===================================================================
--- linux-2.6.39.orig/arch/arm/mach-at91/board-flexibity.c 2011-06-17 11:02:11.335016002 +0100
+++ linux-2.6.39/arch/arm/mach-at91/board-flexibity.c 2011-06-17 11:02:20.395016002 +0100
@@ -96,49 +96,49 @@
.name = "usb1:green",
.gpio = AT91_PIN_PA12,
.active_low = 1,
- .default_trigger = "default-on",
+ .default_trigger = "heartbeat",
},
{
.name = "usb1:red",
.gpio = AT91_PIN_PA13,
.active_low = 1,
- .default_trigger = "default-on",
+ .default_trigger = "heartbeat",
},
{
.name = "usb2:green",
.gpio = AT91_PIN_PB26,
.active_low = 1,
- .default_trigger = "default-on",
+ .default_trigger = "heartbeat",
},
{
.name = "usb2:red",
.gpio = AT91_PIN_PB27,
.active_low = 1,
- .default_trigger = "default-on",
+ .default_trigger = "heartbeat",
},
{
.name = "usb3:green",
.gpio = AT91_PIN_PC8,
.active_low = 1,
- .default_trigger = "default-on",
+ .default_trigger = "heartbeat",
},
{
.name = "usb3:red",
.gpio = AT91_PIN_PC6,
.active_low = 1,
- .default_trigger = "default-on",
+ .default_trigger = "heartbeat",
},
{
.name = "usb4:green",
.gpio = AT91_PIN_PB4,
.active_low = 1,
- .default_trigger = "default-on",
+ .default_trigger = "heartbeat",
},
{
.name = "usb4:red",
.gpio = AT91_PIN_PB5,
.active_low = 1,
- .default_trigger = "default-on",
+ .default_trigger = "heartbeat",
}
};