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 led-boot = &power_orange;
12 led-failsafe = &power_red;
13 led-running = &power_blue;
15 led-internet = &broadband_blue;
16 led-wifi = &wireless_blue;
19 memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
20 reg = <0x0 0x4000000>;
26 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
32 nor-boot@0 { /* NOR Flash: Spansion S29AL004D 512KB */
33 compatible = "lantiq,nor"; /* "AMD AM29LV400BB" compatible on 3.3.8 */
36 reg = <0 0x0 0x80000>;
41 compatible = "fixed-partitions";
47 reg = <0x00000 0x40000>; /* 256KB */
52 reg = <0x40000 0x10000>; /* 64KB */
57 reg = <0x50000 0x10000>;
62 reg = <0x60000 0x10000>;
66 label = "rg_conf_factory";
67 reg = <0x70000 0x10000>;
72 nand-parts@0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
73 compatible = "gen_nand", "lantiq,nand-xway";
76 reg = <1 0x0 0x2000000 >;
79 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
82 compatible = "fixed-partitions";
86 ath9k_cal: partition@0 {
87 label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
88 reg = <0x00000 0x4000>;
94 reg = <0x4000 0x200000>;
99 reg = <0x204000 0x1DFC000>;
105 gpio: pinmux@E100B10 {
106 pinctrl-names = "default";
107 pinctrl-0 = <&state_default>;
109 state_default: pinmux {
111 lantiq,groups = "nand cle", "nand ale";
112 lantiq,function = "ebu";
114 lantiq,open-drain = <0>;
118 lantiq,groups = "nand cs1";
119 lantiq,function = "ebu";
120 lantiq,open-drain = <0>;
124 lantiq,groups = "exin1";
125 lantiq,function = "exin";
128 lantiq,groups = "req1";
129 lantiq,function = "pci";
131 lantiq,open-drain = <1>;
135 lantiq,groups = "gnt1";
136 lantiq,function = "pci";
138 lantiq,open-drain = <0>;
143 lantiq,pins = "io21";
145 lantiq,open-drain = <0>;
149 lantiq,pins = "io2", "io15", "io22";
151 lantiq,open-drain = <1>;
171 compatible = "gpio-keys-polled";
172 #address-cells = <1>;
174 poll-interval = <100>;
178 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
179 linux,code = <KEY_RESTART>;
182 label = "findhandset";
183 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
184 linux,code = <KEY_PHONE>;
188 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
189 linux,code = <KEY_WPS_BUTTON>;
194 compatible = "gpio-leds";
197 label = "bthomehubv2b:orange:upgrading";
198 gpios = <&gpios 5 GPIO_ACTIVE_HIGH>;
202 label = "bthomehubv2b:orange:phone";
203 gpios = <&gpios 6 GPIO_ACTIVE_HIGH>;
206 label = "bthomehubv2b:blue:phone";
207 gpios = <&gpios 7 GPIO_ACTIVE_HIGH>;
211 label = "bthomehubv2b:orange:wireless";
212 gpios = <&gpios 8 GPIO_ACTIVE_HIGH>;
214 wireless_blue: wireless-blue {
215 label = "bthomehubv2b:blue:wireless";
216 gpios = <&gpios 9 GPIO_ACTIVE_HIGH>;
220 label = "bthomehubv2b:red:broadband";
221 gpios = <&gpios 10 GPIO_ACTIVE_HIGH>;
224 label = "bthomehubv2b:orange:broadband";
225 gpios = <&gpios 11 GPIO_ACTIVE_HIGH>;
227 broadband_blue: broadband-blue {
228 label = "bthomehubv2b:blue:broadband";
229 gpios = <&gpios 12 GPIO_ACTIVE_HIGH>;
232 power_red: power-red {
233 label = "bthomehubv2b:red:power";
234 gpios = <&gpios 13 GPIO_ACTIVE_HIGH>;
236 power_orange: power-orange {
237 label = "bthomehubv2b:orange:power";
238 gpios = <&gpios 14 GPIO_ACTIVE_HIGH>;
239 default-state = "keep";
241 power_blue: power-blue {
242 label = "bthomehubv2b:blue:power";
243 gpios = <&gpios 15 GPIO_ACTIVE_HIGH>;
250 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
253 compatible = "pci168c,0027";
254 reg = <0x7000 0 0 0 0>;
255 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */