5 #include <dt-bindings/input/input.h>
8 model = "BTHOMEHUBV2B - BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
11 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
15 led-boot = &power_orange;
16 led-failsafe = &power_red;
17 led-running = &power_blue;
19 led-internet = &broadband_blue;
20 led-wifi = &wireless_blue;
23 memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
24 reg = <0x0 0x4000000>;
30 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
36 nor-boot@0 { /* NOR Flash: Spansion S29AL004D 512KB */
37 compatible = "lantiq,nor"; /* "AMD AM29LV400BB" compatible on 3.3.8 */
40 reg = <0 0x0 0x80000>;
45 compatible = "fixed-partitions";
51 reg = <0x00000 0x40000>; /* 256KB */
56 reg = <0x40000 0x10000>; /* 64KB */
61 reg = <0x50000 0x10000>;
66 reg = <0x60000 0x10000>;
70 label = "rg_conf_factory";
71 reg = <0x70000 0x10000>;
76 nand-parts@0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
77 compatible = "gen_nand", "lantiq,nand-xway";
80 reg = <1 0x0 0x2000000 >;
83 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
86 compatible = "fixed-partitions";
90 ath9k_cal: partition@0 {
91 label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
92 reg = <0x00000 0x4000>;
98 reg = <0x4000 0x200000>;
103 reg = <0x204000 0x1DFC000>;
109 compatible = "ath9k,eeprom";
110 ath,eep-flash = <&ath9k_cal 0x0000>;
111 ath,mac-increment = <1>;
117 gpio: pinmux@E100B10 {
118 pinctrl-names = "default";
119 pinctrl-0 = <&state_default>;
121 state_default: pinmux {
123 lantiq,groups = "nand cle", "nand ale";
124 lantiq,function = "ebu";
126 lantiq,open-drain = <0>;
130 lantiq,groups = "nand cs1";
131 lantiq,function = "ebu";
132 lantiq,open-drain = <0>;
136 lantiq,groups = "exin1";
137 lantiq,function = "exin";
140 lantiq,groups = "req1";
141 lantiq,function = "pci";
143 lantiq,open-drain = <1>;
147 lantiq,groups = "gnt1";
148 lantiq,function = "pci";
150 lantiq,open-drain = <0>;
155 lantiq,pins = "io21";
157 lantiq,open-drain = <0>;
161 lantiq,pins = "io2", "io15", "io22";
163 lantiq,open-drain = <1>;
183 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
188 compatible = "gpio-keys-polled";
189 #address-cells = <1>;
191 poll-interval = <100>;
195 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
196 linux,code = <KEY_RESTART>;
199 label = "findhandset";
200 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
201 linux,code = <KEY_PHONE>;
205 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
206 linux,code = <KEY_WPS_BUTTON>;
211 compatible = "gpio-leds";
214 label = "bthomehubv2b:orange:upgrading";
215 gpios = <&gpios 5 GPIO_ACTIVE_HIGH>;
219 label = "bthomehubv2b:orange:phone";
220 gpios = <&gpios 6 GPIO_ACTIVE_HIGH>;
223 label = "bthomehubv2b:blue:phone";
224 gpios = <&gpios 7 GPIO_ACTIVE_HIGH>;
228 label = "bthomehubv2b:orange:wireless";
229 gpios = <&gpios 8 GPIO_ACTIVE_HIGH>;
231 wireless_blue: wireless-blue {
232 label = "bthomehubv2b:blue:wireless";
233 gpios = <&gpios 9 GPIO_ACTIVE_HIGH>;
237 label = "bthomehubv2b:red:broadband";
238 gpios = <&gpios 10 GPIO_ACTIVE_HIGH>;
241 label = "bthomehubv2b:orange:broadband";
242 gpios = <&gpios 11 GPIO_ACTIVE_HIGH>;
244 broadband_blue: broadband-blue {
245 label = "bthomehubv2b:blue:broadband";
246 gpios = <&gpios 12 GPIO_ACTIVE_HIGH>;
249 power_red: power-red {
250 label = "bthomehubv2b:red:power";
251 gpios = <&gpios 13 GPIO_ACTIVE_HIGH>;
253 power_orange: power-orange {
254 label = "bthomehubv2b:orange:power";
255 gpios = <&gpios 14 GPIO_ACTIVE_HIGH>;
256 default-state = "keep";
258 power_blue: power-blue {
259 label = "bthomehubv2b:blue:power";
260 gpios = <&gpios 15 GPIO_ACTIVE_HIGH>;