aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91/patches/901-AT91-flexibity-default-leds-to-heartbeat.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-07-03 18:51:59 +0000
committerJohn Crispin <blogic@openwrt.org>2011-07-03 18:51:59 +0000
commit98eec3e323322222a9a4a6439c6dbd5b11a6ed42 (patch)
treef4854dbfacf5484f67cc9fc8247a68bbcfc91632 /target/linux/at91/patches/901-AT91-flexibity-default-leds-to-heartbeat.patch
parentcedd3d1a680b77be40cf43f50bd12a5a549805f2 (diff)
downloadmaster-187ad058-98eec3e323322222a9a4a6439c6dbd5b11a6ed42.tar.gz
master-187ad058-98eec3e323322222a9a4a6439c6dbd5b11a6ed42.tar.bz2
master-187ad058-98eec3e323322222a9a4a6439c6dbd5b11a6ed42.zip
AT91: Add flexibity board support
The patch below adds AT91 Flexibity Connect board support. Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27412 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/at91/patches/901-AT91-flexibity-default-leds-to-heartbeat.patch')
-rw-r--r--target/linux/at91/patches/901-AT91-flexibity-default-leds-to-heartbeat.patch62
1 files changed, 62 insertions, 0 deletions
diff --git a/target/linux/at91/patches/901-AT91-flexibity-default-leds-to-heartbeat.patch b/target/linux/at91/patches/901-AT91-flexibity-default-leds-to-heartbeat.patch
new file mode 100644
index 0000000000..de7a8dca3d
--- /dev/null
+++ b/target/linux/at91/patches/901-AT91-flexibity-default-leds-to-heartbeat.patch
@@ -0,0 +1,62 @@
+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",
+ }
+ };
+