mpc83xx: add support for kernel 3.14
[openwrt/svn-archive/archive.git] / target / linux / mpc83xx / patches-3.14 / 101-mpc8377_wlan-dts-add-gpio-leds.patch
diff --git a/target/linux/mpc83xx/patches-3.14/101-mpc8377_wlan-dts-add-gpio-leds.patch b/target/linux/mpc83xx/patches-3.14/101-mpc8377_wlan-dts-add-gpio-leds.patch
new file mode 100644 (file)
index 0000000..b8f00ac
--- /dev/null
@@ -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";
++              };
++      };
+ };