5 #include <dt-bindings/input/input.h>
8 compatible = "bt,homehub-v2b", "lantiq,xway", "lantiq,danube";
9 model = "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;
19 led-upgrade = &power_blue;
21 led-dsl = &broadband_blue;
22 led-wifi = &wireless_blue;
25 memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
26 device_type = "memory";
27 reg = <0x0 0x4000000>;
31 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
38 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
42 label = "findhandset";
43 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_PHONE>;
48 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_WPS_BUTTON>;
54 compatible = "gpio-leds";
57 label = "bthomehubv2b:orange:upgrading";
58 gpios = <&gpios 5 GPIO_ACTIVE_HIGH>;
62 label = "bthomehubv2b:orange:phone";
63 gpios = <&gpios 6 GPIO_ACTIVE_HIGH>;
66 label = "bthomehubv2b:blue:phone";
67 gpios = <&gpios 7 GPIO_ACTIVE_HIGH>;
71 label = "bthomehubv2b:orange:wireless";
72 gpios = <&gpios 8 GPIO_ACTIVE_HIGH>;
74 wireless_blue: wireless-blue {
75 label = "bthomehubv2b:blue:wireless";
76 gpios = <&gpios 9 GPIO_ACTIVE_HIGH>;
80 label = "bthomehubv2b:red:broadband";
81 gpios = <&gpios 10 GPIO_ACTIVE_HIGH>;
84 label = "bthomehubv2b:orange:broadband";
85 gpios = <&gpios 11 GPIO_ACTIVE_HIGH>;
87 broadband_blue: broadband-blue {
88 label = "bthomehubv2b:blue:broadband";
89 gpios = <&gpios 12 GPIO_ACTIVE_HIGH>;
92 power_red: power-red {
93 label = "bthomehubv2b:red:power";
94 gpios = <&gpios 13 GPIO_ACTIVE_HIGH>;
96 power_orange: power-orange {
97 label = "bthomehubv2b:orange:power";
98 gpios = <&gpios 14 GPIO_ACTIVE_HIGH>;
99 default-state = "keep";
101 power_blue: power-blue {
102 label = "bthomehubv2b:blue:power";
103 gpios = <&gpios 15 GPIO_ACTIVE_HIGH>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&state_default>;
112 state_default: pinmux {
114 lantiq,groups = "nand cle", "nand ale";
115 lantiq,function = "ebu";
117 lantiq,open-drain = <0>;
121 lantiq,groups = "nand cs1";
122 lantiq,function = "ebu";
123 lantiq,open-drain = <0>;
127 lantiq,groups = "exin1";
128 lantiq,function = "exin";
131 lantiq,groups = "req1";
132 lantiq,function = "pci";
134 lantiq,open-drain = <1>;
138 lantiq,groups = "gnt1";
139 lantiq,function = "pci";
141 lantiq,open-drain = <0>;
146 lantiq,pins = "io21";
148 lantiq,open-drain = <0>;
152 lantiq,pins = "io2", "io15", "io22";
154 lantiq,open-drain = <1>;
169 nor@0 { /* NOR Flash: Spansion S29AL004D 512KB */
170 compatible = "lantiq,nor"; /* "AMD AM29LV400BB" compatible on 3.3.8 */
173 reg = <0 0x0 0x80000>;
174 #address-cells = <1>;
178 compatible = "fixed-partitions";
179 #address-cells = <1>;
184 reg = <0x00000 0x40000>; /* 256KB */
189 reg = <0x40000 0x10000>; /* 64KB */
194 reg = <0x50000 0x10000>;
199 reg = <0x60000 0x10000>;
203 label = "rg_conf_factory";
204 reg = <0x70000 0x10000>;
209 nand@1 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
210 compatible = "lantiq,nand-xway";
213 reg = <1 0x0 0x2000000 >;
214 #address-cells = <1>;
216 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
219 compatible = "fixed-partitions";
220 #address-cells = <1>;
223 ath9k_cal: partition@0 {
224 label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
225 reg = <0x00000 0x4000>;
231 reg = <0x4000 0x200000>;
236 reg = <0x204000 0x1DFC000>;
244 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
247 compatible = "pci168c,0027";
248 reg = <0x7000 0 0 0 0>;
249 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
263 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;