1 From 811ae58e76da88106f6d28159d4ea7b163dfaa48 Mon Sep 17 00:00:00 2001
2 From: INAGAKI Hiroshi <musashino.open@gmail.com>
3 Date: Wed, 7 Mar 2018 20:33:56 +0900
4 Subject: [PATCH] ARM: dts: BCM5301X: add missing LEDs for Buffalo WZR-900DHP
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Buffalo WZR-900DHP has 8 LEDs, but there is not LED definitions in the
10 dts and cannot configure these LEDs.
11 I Added missing LED definitions for WZR-900DHP.
13 Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
14 Reviewed-by: Rafał Miłecki <rafal@milecki.pl>
15 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
17 arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts | 68 +++++++++++++++++++++++
18 1 file changed, 68 insertions(+)
20 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
21 +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
23 0x88000000 0x08000000>;
27 + compatible = "spi-gpio";
28 + num-chipselects = <1>;
29 + gpio-sck = <&chipcommon 7 0>;
30 + gpio-mosi = <&chipcommon 4 0>;
31 + cs-gpios = <&chipcommon 6 0>;
32 + #address-cells = <1>;
36 + compatible = "fairchild,74hc595";
38 + registers-number = <1>;
39 + spi-max-frequency = <100000>;
48 + compatible = "gpio-leds";
51 + label = "bcm53xx:green:usb";
52 + gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
56 + label = "bcm53xx:green:power";
57 + gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
58 + linux,default-trigger = "default-on";
62 + label = "bcm53xx:red:power";
63 + gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
67 + label = "bcm53xx:green:router";
68 + gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
69 + linux,default-trigger = "default-on";
73 + label = "bcm53xx:amber:router";
74 + gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
78 + label = "bcm53xx:green:wan";
79 + gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
80 + linux,default-trigger = "default-on";
84 + label = "bcm53xx:green:wireless";
85 + gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
89 + label = "bcm53xx:amber:wireless";
90 + gpios = <&hc595 7 GPIO_ACTIVE_HIGH>;
95 compatible = "gpio-keys";