aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc83xx/patches-3.18/101-mpc8377_wlan-dts-add-gpio-leds.patch
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-02-28 18:15:59 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-02-28 18:15:59 +0000
commita398026d1658372cb1ee469b0c7315be974441cb (patch)
tree41fa4b20eefc7351d25443a39c1e4b4147982901 /target/linux/mpc83xx/patches-3.18/101-mpc8377_wlan-dts-add-gpio-leds.patch
parent9f85ea99c0a959698d46c66eecef525ac0dad7b0 (diff)
downloadupstream-a398026d1658372cb1ee469b0c7315be974441cb.tar.gz
upstream-a398026d1658372cb1ee469b0c7315be974441cb.tar.bz2
upstream-a398026d1658372cb1ee469b0c7315be974441cb.zip
mpc83xx: start work on 3.18 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44573 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mpc83xx/patches-3.18/101-mpc8377_wlan-dts-add-gpio-leds.patch')
-rw-r--r--target/linux/mpc83xx/patches-3.18/101-mpc8377_wlan-dts-add-gpio-leds.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/mpc83xx/patches-3.18/101-mpc8377_wlan-dts-add-gpio-leds.patch b/target/linux/mpc83xx/patches-3.18/101-mpc8377_wlan-dts-add-gpio-leds.patch
new file mode 100644
index 0000000000..b8f00ac211
--- /dev/null
+++ b/target/linux/mpc83xx/patches-3.18/101-mpc8377_wlan-dts-add-gpio-leds.patch
@@ -0,0 +1,21 @@
+--- a/arch/powerpc/boot/dts/mpc8377_wlan.dts
++++ b/arch/powerpc/boot/dts/mpc8377_wlan.dts
+@@ -460,4 +460,18 @@
+ 0 0x00800000>;
+ };
+ };
++
++ leds {
++ compatible = "gpio-leds";
++
++ diag {
++ gpios = <&gpio1 9 1>;
++ default-state = "off";
++ };
++
++ wireless {
++ gpios = <&gpio1 10 1>;
++ default-state = "off";
++ };
++ };
+ };