aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-01-14 02:20:49 -0500
committerHauke Mehrtens <hauke@hauke-m.de>2015-01-20 17:23:25 -0500
commit8115a4e8d687427fbc1aa3774f50551563bf87f9 (patch)
treecf438eea8cb1aa7ec20a80d644b81d8194fef8a1 /arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
parent78b745a4b05c920beaa66dfb140af134b5fc2425 (diff)
ARM: BCM5301X: Add LEDs for Buffalo devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts')
-rw-r--r--arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts67
1 files changed, 67 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
index 13d51a919f0c..b359c1e6178e 100644
--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
@@ -23,6 +23,73 @@
23 reg = <0x00000000 0x08000000>; 23 reg = <0x00000000 0x08000000>;
24 }; 24 };
25 25
26 spi {
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>;
33 #size-cells = <0>;
34
35 hc595: gpio_spi@0 {
36 compatible = "fairchild,74hc595";
37 reg = <0>;
38 registers-number = <1>;
39 spi-max-frequency = <100000>;
40
41 gpio-controller;
42 #gpio-cells = <2>;
43
44 };
45 };
46
47 leds {
48 compatible = "gpio-leds";
49
50 power0 {
51 label = "bcm53xx:red:power";
52 gpios = <&hc595 1 GPIO_ACTIVE_HIGH>;
53 linux,default-trigger = "default-off";
54 };
55
56 power1 {
57 label = "bcm53xx:white:power";
58 gpios = <&hc595 2 GPIO_ACTIVE_HIGH>;
59 linux,default-trigger = "default-on";
60 };
61
62 router0 {
63 label = "bcm53xx:blue:router";
64 gpios = <&hc595 3 GPIO_ACTIVE_HIGH>;
65 linux,default-trigger = "default-on";
66 };
67
68 router1 {
69 label = "bcm53xx:amber:router";
70 gpios = <&hc595 4 GPIO_ACTIVE_HIGH>;
71 linux,default-trigger = "default-off";
72 };
73
74 wan {
75 label = "bcm53xx:blue:wan";
76 gpios = <&hc595 5 GPIO_ACTIVE_HIGH>;
77 linux,default-trigger = "default-on";
78 };
79
80 wireless0 {
81 label = "bcm53xx:blue:wireless";
82 gpios = <&hc595 6 GPIO_ACTIVE_HIGH>;
83 linux,default-trigger = "default-off";
84 };
85
86 wireless1 {
87 label = "bcm53xx:amber:wireless";
88 gpios = <&hc595 7 GPIO_ACTIVE_HIGH>;
89 linux,default-trigger = "default-off";
90 };
91 };
92
26 gpio-keys { 93 gpio-keys {
27 compatible = "gpio-keys"; 94 compatible = "gpio-keys";
28 #address-cells = <1>; 95 #address-cells = <1>;