aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-2.6.39/150-falcon-easy98020.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-07-03 17:38:11 +0000
committerJohn Crispin <john@openwrt.org>2011-07-03 17:38:11 +0000
commit43771202d35da68615a4af0743816aabe97a85e4 (patch)
tree8f97e9402a68032268cfe93b3189b6ed16c60bc5 /target/linux/lantiq/patches-2.6.39/150-falcon-easy98020.patch
parentd43cbe24a5397078d936f85b2afed3b2490dfc2c (diff)
downloadupstream-43771202d35da68615a4af0743816aabe97a85e4.tar.gz
upstream-43771202d35da68615a4af0743816aabe97a85e4.tar.bz2
upstream-43771202d35da68615a4af0743816aabe97a85e4.zip
update lantiq/falcon patches
SVN-Revision: 27406
Diffstat (limited to 'target/linux/lantiq/patches-2.6.39/150-falcon-easy98020.patch')
-rw-r--r--target/linux/lantiq/patches-2.6.39/150-falcon-easy98020.patch22
1 files changed, 21 insertions, 1 deletions
diff --git a/target/linux/lantiq/patches-2.6.39/150-falcon-easy98020.patch b/target/linux/lantiq/patches-2.6.39/150-falcon-easy98020.patch
index 7010d3517d..65557bff25 100644
--- a/target/linux/lantiq/patches-2.6.39/150-falcon-easy98020.patch
+++ b/target/linux/lantiq/patches-2.6.39/150-falcon-easy98020.patch
@@ -1,6 +1,6 @@
--- /dev/null
+++ b/arch/mips/lantiq/falcon/mach-easy98020.c
-@@ -0,0 +1,97 @@
+@@ -0,0 +1,117 @@
+#include <linux/init.h>
+#include <linux/platform_device.h>
+#include <linux/leds.h>
@@ -21,6 +21,10 @@
+#define EASY98020_GPIO_LED_1 10
+#define EASY98020_GPIO_LED_2 11
+#define EASY98020_GPIO_LED_3 12
++#define EASY98020_GPIO_LED_GE0_ACT 110
++#define EASY98020_GPIO_LED_GE0_LINK 109
++#define EASY98020_GPIO_LED_GE1_ACT 106
++#define EASY98020_GPIO_LED_GE1_LINK 105
+
+extern unsigned char ltq_ethaddr[6];
+
@@ -79,6 +83,22 @@
+ .name = "easy98020:green:3",
+ .gpio = EASY98020_GPIO_LED_3,
+ .active_low = 0,
++ }, {
++ .name = "easy98020:ge0_act",
++ .gpio = EASY98020_GPIO_LED_GE0_ACT,
++ .active_low = 0,
++ }, {
++ .name = "easy98020:ge0_link",
++ .gpio = EASY98020_GPIO_LED_GE0_LINK,
++ .active_low = 0,
++ }, {
++ .name = "easy98020:ge1_act",
++ .gpio = EASY98020_GPIO_LED_GE1_ACT,
++ .active_low = 0,
++ }, {
++ .name = "easy98020:ge1_link",
++ .gpio = EASY98020_GPIO_LED_GE1_LINK,
++ .active_low = 0,
+ }
+};
+