summaryrefslogtreecommitdiff
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
commit15fb17791a6fe75fb962800b51af3b78e653d9ea (patch)
tree6513a7f47dd2012de7706257115d2bd8b1a8e258 /target/linux/mpc83xx/patches-3.18/101-mpc8377_wlan-dts-add-gpio-leds.patch
parent151b6b3432b25289270eee68e311d95ee829cc9e (diff)
downloadmtk-20170518-15fb17791a6fe75fb962800b51af3b78e653d9ea.zip
mtk-20170518-15fb17791a6fe75fb962800b51af3b78e653d9ea.tar.gz
mtk-20170518-15fb17791a6fe75fb962800b51af3b78e653d9ea.tar.bz2
mpc83xx: start work on 3.18 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44573
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 0000000..b8f00ac
--- /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";
++ };
++ };
+ };