1 From c830b958f52fc666919439d6f8f6caa8b6844d44 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>
16 arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts | 68 +++++++++++++++++++++++
17 1 file changed, 68 insertions(+)
19 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
20 +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
22 0x88000000 0x08000000>;
26 + compatible = "spi-gpio";
27 + num-chipselects = <1>;
28 + gpio-sck = <&chipcommon 7 0>;
29 + gpio-mosi = <&chipcommon 4 0>;
30 + cs-gpios = <&chipcommon 6 0>;
31 + #address-cells = <1>;
35 + compatible = "fairchild,74hc595";
37 + registers-number = <1>;
38 + spi-max-frequency = <100000>;
47 + compatible = "gpio-leds";
50 + label = "bcm53xx:green:usb";
51 + gpios = <&hc595 0 GPIO_ACTIVE_HIGH>;
55 + label = "bcm53xx:green:power";
56 + gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
57 + linux,default-trigger = "default-on";
61 + label = "bcm53xx:red:power";
62 + gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
66 + label = "bcm53xx:green:router";
67 + gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
68 + linux,default-trigger = "default-on";
72 + label = "bcm53xx:amber:router";
73 + gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
77 + label = "bcm53xx:green:wan";
78 + gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
79 + linux,default-trigger = "default-on";
83 + label = "bcm53xx:green:wireless";
84 + gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
88 + label = "bcm53xx:amber:wireless";
89 + gpios = <&hc595 7 GPIO_ACTIVE_HIGH>;
94 compatible = "gpio-keys";