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 = "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 gpio: pinmux@E100B10 {
110 pinctrl-names = "default";
111 pinctrl-0 = <&state_default>;
113 state_default: pinmux {
115 lantiq,groups = "nand cle", "nand ale";
116 lantiq,function = "ebu";
118 lantiq,open-drain = <0>;
122 lantiq,groups = "nand cs1";
123 lantiq,function = "ebu";
124 lantiq,open-drain = <0>;
128 lantiq,groups = "exin1";
129 lantiq,function = "exin";
132 lantiq,groups = "req1";
133 lantiq,function = "pci";
135 lantiq,open-drain = <1>;
139 lantiq,groups = "gnt1";
140 lantiq,function = "pci";
142 lantiq,open-drain = <0>;
147 lantiq,pins = "io21";
149 lantiq,open-drain = <0>;
153 lantiq,pins = "io2", "io15", "io22";
155 lantiq,open-drain = <1>;
175 compatible = "gpio-keys-polled";
176 #address-cells = <1>;
178 poll-interval = <100>;
182 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
183 linux,code = <KEY_RESTART>;
186 label = "findhandset";
187 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
188 linux,code = <KEY_PHONE>;
192 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
193 linux,code = <KEY_WPS_BUTTON>;
198 compatible = "gpio-leds";
201 label = "bthomehubv2b:orange:upgrading";
202 gpios = <&gpios 5 GPIO_ACTIVE_HIGH>;
206 label = "bthomehubv2b:orange:phone";
207 gpios = <&gpios 6 GPIO_ACTIVE_HIGH>;
210 label = "bthomehubv2b:blue:phone";
211 gpios = <&gpios 7 GPIO_ACTIVE_HIGH>;
215 label = "bthomehubv2b:orange:wireless";
216 gpios = <&gpios 8 GPIO_ACTIVE_HIGH>;
218 wireless_blue: wireless-blue {
219 label = "bthomehubv2b:blue:wireless";
220 gpios = <&gpios 9 GPIO_ACTIVE_HIGH>;
224 label = "bthomehubv2b:red:broadband";
225 gpios = <&gpios 10 GPIO_ACTIVE_HIGH>;
228 label = "bthomehubv2b:orange:broadband";
229 gpios = <&gpios 11 GPIO_ACTIVE_HIGH>;
231 broadband_blue: broadband-blue {
232 label = "bthomehubv2b:blue:broadband";
233 gpios = <&gpios 12 GPIO_ACTIVE_HIGH>;
236 power_red: power-red {
237 label = "bthomehubv2b:red:power";
238 gpios = <&gpios 13 GPIO_ACTIVE_HIGH>;
240 power_orange: power-orange {
241 label = "bthomehubv2b:orange:power";
242 gpios = <&gpios 14 GPIO_ACTIVE_HIGH>;
243 default-state = "keep";
245 power_blue: power-blue {
246 label = "bthomehubv2b:blue:power";
247 gpios = <&gpios 15 GPIO_ACTIVE_HIGH>;
254 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
257 compatible = "pci168c,0027";
258 reg = <0x7000 0 0 0 0>;
259 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */