openwrtv3/target/linux/mpc83xx/patches-3.14/101-mpc8377_wlan-dts-add-gpio-leds.patch
Hauke Mehrtens bb5a18ff92 mpc83xx: add support for kernel 3.14
This is compile tested only, please run test and report back.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43797
2014-12-29 17:11:13 +00:00

21 lines
340 B
Diff

--- 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";
+ };
+ };
};