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