summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-04-16 20:09:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-04-16 20:09:42 +0000
commita7f768bdc813c2a61ad3372842f2de2c5298bb9b (patch)
tree95ca5c7858bc704b1e15d6a2563783479f90ed42
parentf6cbbe1332ed953ebc3497ac9e45612ca60c1305 (diff)
downloadmtk-20170518-a7f768bdc813c2a61ad3372842f2de2c5298bb9b.zip
mtk-20170518-a7f768bdc813c2a61ad3372842f2de2c5298bb9b.tar.gz
mtk-20170518-a7f768bdc813c2a61ad3372842f2de2c5298bb9b.tar.bz2
bcm53xx: add USB LED for Buffalo WZR-1750DHP
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45465
-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 0000000..18dd4d9
--- /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>;