brcm47xx: rename target to bcm47xx
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm6358-bt-home-hub-2-a.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 = "bt,home-hub-2-a", "brcm,bcm6358";
10
11 chosen {
12 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8";
14 };
15
16 keys {
17 compatible = "gpio-keys-polled";
18 #address-cells = <1>;
19 #size-cells = <0>;
20 poll-interval = <20>;
21
22 phone {
23 label = "phone";
24 gpios = <&pinctrl 1 1>;
25 linux,code = <KEY_PHONE>;
26 debounce-interval = <60>;
27 };
28
29 reset {
30 label = "reset";
31 gpios = <&pinctrl 9 1>;
32 linux,code = <KEY_RESTART>;
33 debounce-interval = <60>;
34 };
35
36 wps {
37 label = "wps";
38 gpios = <&pinctrl 11 1>;
39 linux,code = <KEY_WPS_BUTTON>;
40 debounce-interval = <60>;
41 };
42 };
43 };
44
45 &leds {
46 status = "ok";
47
48 pinctrl-names = "default";
49 pinctrl-0 = <&pinctrl_serial_led>;
50
51 led@0 {
52 reg = <0>;
53 active-low;
54 label = "HOMEHUB2A:red:power";
55 };
56
57 led@1 {
58 reg = <0>;
59 active-low;
60 label = "HOMEHUB2A:green:power";
61 default-state = "on";
62 };
63
64 led@2 {
65 reg = <2>;
66 active-low;
67 label = "HOMEHUB2A:blue:power";
68 };
69
70 led@3 {
71 reg = <3>;
72 active-low;
73 label = "HOMEHUB2A:red:broadband";
74 };
75
76 led@4 {
77 reg = <4>;
78 active-low;
79 label = "HOMEHUB2A:green:broadband";
80 };
81
82 led@5 {
83 reg = <5>;
84 active-low;
85 label = "HOMEHUB2A:blue:broadband";
86 };
87
88 led@6 {
89 reg = <6>;
90 active-low;
91 label = "HOMEHUB2A:red:wireless";
92 };
93
94 led@7 {
95 reg = <7>;
96 active-low;
97 label = "HOMEHUB2A:green:wireless";
98 };
99
100 led@8 {
101 reg = <8>;
102 active-low;
103 label = "HOMEHUB2A:blue:wireless";
104 };
105
106 led@9 {
107 reg = <9>;
108 active-low;
109 label = "HOMEHUB2A:red:phone";
110 };
111
112 led@10 {
113 reg = <10>;
114 active-low;
115 label = "HOMEHUB2A:green:phone";
116 };
117
118 led@11 {
119 reg = <11>;
120 active-low;
121 label = "HOMEHUB2A:blue:phone";
122 };
123
124 led@12 {
125 reg = <12>;
126 active-low;
127 label = "HOMEHUB2A:red:upgrading";
128 };
129
130 led@13 {
131 reg = <13>;
132 active-low;
133 label = "HOMEHUB2A:green:upgrading";
134 };
135
136 led@14 {
137 reg = <14>;
138 active-low;
139 label = "HOMEHUB2A:blue:upgrading";
140 };
141 };
142
143 &pflash {
144 status = "ok";
145
146 partitions {
147 compatible = "fixed-partitions";
148 #address-cells = <1>;
149 #size-cells = <1>;
150
151 cfe@0 {
152 label = "CFE";
153 reg = <0x000000 0x020000>;
154 };
155
156 linux@20000 {
157 label = "linux";
158 reg = <0x020000 0xfc0000>;
159 compatible = "brcm,bcm963xx-imagetag";
160 };
161
162 nvram@fe0000 {
163 label = "nvram";
164 reg = <0xfe0000 0x020000>;
165 };
166 };
167 };
168
169 &uart0 {
170 status = "ok";
171 };