aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.18/331-ARM-BCM5301X-Add-USB-LED-for-Buffalo-WZR-1750DHP.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-3.18/331-ARM-BCM5301X-Add-USB-LED-for-Buffalo-WZR-1750DHP.patch')
-rw-r--r--target/linux/generic/patches-3.18/331-ARM-BCM5301X-Add-USB-LED-for-Buffalo-WZR-1750DHP.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.18/331-ARM-BCM5301X-Add-USB-LED-for-Buffalo-WZR-1750DHP.patch b/target/linux/generic/patches-3.18/331-ARM-BCM5301X-Add-USB-LED-for-Buffalo-WZR-1750DHP.patch
new file mode 100644
index 0000000000..18dd4d9270
--- /dev/null
+++ b/target/linux/generic/patches-3.18/331-ARM-BCM5301X-Add-USB-LED-for-Buffalo-WZR-1750DHP.patch
@@ -0,0 +1,20 @@
+From: Felix Fietkau <nbd@openwrt.org>
+Subject: [PATCH] ARM: BCM5301X: Add USB LED for Buffalo WZR-1750DHP
+
+Signed-off-by: Felix Fietkau <nbd@openwrt.org>
+---
+--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
++++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
+@@ -48,6 +48,12 @@
+ leds {
+ compatible = "gpio-leds";
+
++ usb {
++ label = "bcm53xx:blue:usb";
++ gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
++ linux,default-trigger = "default-off";
++ };
++
+ power0 {
+ label = "bcm53xx:red:power";
+ gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;