rpcd: iwinfo plugin fixes
[openwrt.git] / target / linux / brcm63xx / dts / ct-6373.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "Comtrend CT-6373";
9         compatible = "comtrend,ct-6373", "brcm,bcm6358";
10
11         spi-gpio {
12                 #address-cells = <1>;
13                 #size-cells = <1>;
14                 compatible = "spi-gpio";
15
16                 gpio-mosi = <&gpio0 7 0>;
17                 gpio-sck = <&gpio0 6 0>;
18                 num-chipselects = <0>;
19
20                 hc595: gpio-spi-controller@0 {
21                         compatible = "fairchild,74hc595";
22                         reg = <0>;
23                         registers-number = <1>;
24                         spi-max-frequency = <100000>;
25
26                         gpio-controller;
27                         #gpio-cells = <2>;
28                 };
29         };
30
31         gpio-keys-polled {
32                 compatible = "gpio-keys-polled";
33                 #address-cells = <1>;
34                 #size-cells = <0>;
35                 poll-interval = <20>;
36                 debounce-interval = <60>;
37
38                 reset {
39                         label = "reset";
40                         gpios = <&gpio1 3 1>;
41                         linux,code = <KEY_RESTART>;
42                 };
43         };
44
45         gpio-leds {
46                 compatible = "gpio-leds";
47
48                 power_green {
49                         label = "CT6373-1:green:power";
50                         gpios = <&gpio0 0 0>;
51                         default-state = "on";
52                 };
53                 usb_green {
54                         label = "CT6373-1:green:usb";
55                         gpios = <&gpio0 3 1>;
56                 };
57                 wlan_green {
58                         label = "CT6373-1:green:wlan";
59                         gpios = <&gpio0 9 1>;
60                 };
61                 dsl_green {
62                         label = "CT6373-1:green:adsl";
63                         gpios = <&hc595 0 1>;
64                 };
65                 line_green {
66                         label = "CT6373-1:green:line";
67                         gpios = <&hc595 1 1>;
68                 };
69                 fxs1_green {
70                         label = "CT6373-1:green:fxs1";
71                         gpios = <&hc595 2 1>;
72                 };
73                 fxs2_green {
74                         label = "CT6373-1:green:fxs2";
75                         gpios = <&hc595 3 1>;
76                 };
77         };
78 };
79
80 &pflash {
81         status = "ok";
82
83         linux,part-probe = "bcm63xxpart";
84
85         cfe@0 {
86                 label = "CFE";
87                 reg = <0x000000 0x010000>;
88                 read-only;
89         };
90
91         linux@10000 {
92                 label = "linux";
93                 reg = <0x010000 0x7e0000>;
94         };
95
96         nvram@7f0000 {
97                 label = "nvram";
98                 reg = <0x7f0000 0x010000>;
99         };
100 };