5 #include <dt-bindings/input/input.h>
8 compatible = "bt,homehub-v2b", "lantiq,xway", "lantiq,danube";
9 model = "BTHOMEHUBV2B - BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
12 bootargs = "console=ttyLTQ0,115200";
16 led-boot = &power_orange;
17 led-failsafe = &power_red;
18 led-running = &power_blue;
20 led-dsl = &broadband_blue;
21 led-wifi = &wireless_blue;
24 memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
25 reg = <0x0 0x4000000>;
31 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
37 nor-boot@0 { /* NOR Flash: Spansion S29AL004D 512KB */
38 compatible = "lantiq,nor"; /* "AMD AM29LV400BB" compatible on 3.3.8 */
41 reg = <0 0x0 0x80000>;
46 compatible = "fixed-partitions";
52 reg = <0x00000 0x40000>; /* 256KB */
57 reg = <0x40000 0x10000>; /* 64KB */
62 reg = <0x50000 0x10000>;
67 reg = <0x60000 0x10000>;
71 label = "rg_conf_factory";
72 reg = <0x70000 0x10000>;
77 nand-parts@0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
78 compatible = "lantiq,nand-xway";
81 reg = <1 0x0 0x2000000 >;
84 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
87 compatible = "fixed-partitions";
91 ath9k_cal: partition@0 {
92 label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
93 reg = <0x00000 0x4000>;
99 reg = <0x4000 0x200000>;
104 reg = <0x204000 0x1DFC000>;
110 gpio: pinmux@E100B10 {
111 pinctrl-names = "default";
112 pinctrl-0 = <&state_default>;
114 state_default: pinmux {
116 lantiq,groups = "nand cle", "nand ale";
117 lantiq,function = "ebu";
119 lantiq,open-drain = <0>;
123 lantiq,groups = "nand cs1";
124 lantiq,function = "ebu";
125 lantiq,open-drain = <0>;
129 lantiq,groups = "exin1";
130 lantiq,function = "exin";
133 lantiq,groups = "req1";
134 lantiq,function = "pci";
136 lantiq,open-drain = <1>;
140 lantiq,groups = "gnt1";
141 lantiq,function = "pci";
143 lantiq,open-drain = <0>;
148 lantiq,pins = "io21";
150 lantiq,open-drain = <0>;
154 lantiq,pins = "io2", "io15", "io22";
156 lantiq,open-drain = <1>;
176 compatible = "gpio-keys-polled";
177 #address-cells = <1>;
179 poll-interval = <100>;
183 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
184 linux,code = <KEY_RESTART>;
187 label = "findhandset";
188 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
189 linux,code = <KEY_PHONE>;
193 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
194 linux,code = <KEY_WPS_BUTTON>;
199 compatible = "gpio-leds";
202 label = "bthomehubv2b:orange:upgrading";
203 gpios = <&gpios 5 GPIO_ACTIVE_HIGH>;
207 label = "bthomehubv2b:orange:phone";
208 gpios = <&gpios 6 GPIO_ACTIVE_HIGH>;
211 label = "bthomehubv2b:blue:phone";
212 gpios = <&gpios 7 GPIO_ACTIVE_HIGH>;
216 label = "bthomehubv2b:orange:wireless";
217 gpios = <&gpios 8 GPIO_ACTIVE_HIGH>;
219 wireless_blue: wireless-blue {
220 label = "bthomehubv2b:blue:wireless";
221 gpios = <&gpios 9 GPIO_ACTIVE_HIGH>;
225 label = "bthomehubv2b:red:broadband";
226 gpios = <&gpios 10 GPIO_ACTIVE_HIGH>;
229 label = "bthomehubv2b:orange:broadband";
230 gpios = <&gpios 11 GPIO_ACTIVE_HIGH>;
232 broadband_blue: broadband-blue {
233 label = "bthomehubv2b:blue:broadband";
234 gpios = <&gpios 12 GPIO_ACTIVE_HIGH>;
237 power_red: power-red {
238 label = "bthomehubv2b:red:power";
239 gpios = <&gpios 13 GPIO_ACTIVE_HIGH>;
241 power_orange: power-orange {
242 label = "bthomehubv2b:orange:power";
243 gpios = <&gpios 14 GPIO_ACTIVE_HIGH>;
244 default-state = "keep";
246 power_blue: power-blue {
247 label = "bthomehubv2b:blue:power";
248 gpios = <&gpios 15 GPIO_ACTIVE_HIGH>;
255 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
258 compatible = "pci168c,0027";
259 reg = <0x7000 0 0 0 0>;
260 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */