6192687d1b3ebcd1cae04d878fa9b407db4e864a
[openwrt/staging/mkresin.git] / target / linux / brcm63xx / dts / homehub2a.dts
1 /dts-v1/;
2
3 #include "bcm6358.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "BT Home Hub 2.0 Type A";
9 compatible = "thomson,homehub2a", "brcm,bcm6358";
10
11 chosen {
12 bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 };
14
15 gpio-keys-polled {
16 compatible = "gpio-keys-polled";
17 #address-cells = <1>;
18 #size-cells = <0>;
19 poll-interval = <20>;
20 debounce-interval = <60>;
21
22 phone {
23 label = "phone";
24 gpios = <&pinctrl 1 1>;
25 linux,code = <KEY_PHONE>;
26 };
27 reset {
28 label = "reset";
29 gpios = <&pinctrl 9 1>;
30 linux,code = <KEY_RESTART>;
31 };
32 wps {
33 label = "wps";
34 gpios = <&pinctrl 11 1>;
35 linux,code = <KEY_WPS_BUTTON>;
36 };
37 };
38 };
39
40 &leds {
41 status = "ok";
42
43 pinctrl-names = "default";
44 pinctrl-0 = <&pinctrl_serial_led>;
45
46 led@0 {
47 reg = <0>;
48 active-low;
49 label = "HOMEHUB2A:red:power";
50 };
51
52 led@1 {
53 reg = <0>;
54 active-low;
55 label = "HOMEHUB2A:green:power";
56 default-state = "on";
57 };
58
59 led@2 {
60 reg = <2>;
61 active-low;
62 label = "HOMEHUB2A:blue:power";
63 };
64
65 led@3 {
66 reg = <3>;
67 active-low;
68 label = "HOMEHUB2A:red:broadband";
69 };
70
71 led@4 {
72 reg = <4>;
73 active-low;
74 label = "HOMEHUB2A:green:broadband";
75 };
76
77 led@5 {
78 reg = <5>;
79 active-low;
80 label = "HOMEHUB2A:blue:broadband";
81 };
82
83 led@6 {
84 reg = <6>;
85 active-low;
86 label = "HOMEHUB2A:red:wireless";
87 };
88
89 led@7 {
90 reg = <7>;
91 active-low;
92 label = "HOMEHUB2A:green:wireless";
93 };
94
95 led@8 {
96 reg = <8>;
97 active-low;
98 label = "HOMEHUB2A:blue:wireless";
99 };
100
101 led@9 {
102 reg = <9>;
103 active-low;
104 label = "HOMEHUB2A:red:phone";
105 };
106
107 led@10 {
108 reg = <10>;
109 active-low;
110 label = "HOMEHUB2A:green:phone";
111 };
112
113 led@11 {
114 reg = <11>;
115 active-low;
116 label = "HOMEHUB2A:blue:phone";
117 };
118
119 led@12 {
120 reg = <12>;
121 active-low;
122 label = "HOMEHUB2A:red:upgrading";
123 };
124
125 led@13 {
126 reg = <13>;
127 active-low;
128 label = "HOMEHUB2A:green:upgrading";
129 };
130
131 led@14 {
132 reg = <14>;
133 active-low;
134 label = "HOMEHUB2A:blue:upgrading";
135 };
136 };
137
138 &pflash {
139 status = "ok";
140
141 linux,part-probe = "bcm63xxpart";
142
143 cfe@0 {
144 label = "CFE";
145 reg = <0x000000 0x020000>;
146 };
147
148 linux@20000 {
149 label = "linux";
150 reg = <0x020000 0xfc0000>;
151 };
152
153 nvram@fe0000 {
154 label = "nvram";
155 reg = <0xfe0000 0x020000>;
156 };
157 };