bcm53xx: fix WXR-1900DHP power led name and add usb led
authorFelix Fietkau <nbd@openwrt.org>
Thu, 16 Apr 2015 20:09:08 +0000 (20:09 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 16 Apr 2015 20:09:08 +0000 (20:09 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45460

target/linux/bcm53xx/patches-3.18/330-ARM-BCM5301X-Add-DT-for-Buffalo-WXR-1900DHP.patch

index ca55b9166e945a948d494097324247692044dddc..e53f55b5e6066fb823301b06ea1af2567d622dbd 100644 (file)
@@ -8,7 +8,7 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
 ---
 --- /dev/null
 +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
-@@ -0,0 +1,146 @@
+@@ -0,0 +1,152 @@
 +/*
 + * Broadcom BCM470X / BCM5301X ARM platform code.
 + * DTS for Buffalo WXR-1900DHP
@@ -57,8 +57,14 @@ Signed-off-by: Felix Fietkau <nbd@openwrt.org>
 +      leds {
 +              compatible = "gpio-leds";
 +
++              usb {
++                      label = "bcm53xx:green:usb";
++                      gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
++                      linux,default-trigger = "default-off";
++              };
++
 +              power0 {
-+                      label = "bcm53xx:red:power";
++                      label = "bcm53xx:amber:power";
 +                      gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
 +                      linux,default-trigger = "default-off";
 +              };