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 reg = <0x0 0x4000000>;
30 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
37 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
41 label = "findhandset";
42 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_PHONE>;
47 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
53 compatible = "gpio-leds";
56 label = "bthomehubv2b:orange:upgrading";
57 gpios = <&gpios 5 GPIO_ACTIVE_HIGH>;
61 label = "bthomehubv2b:orange:phone";
62 gpios = <&gpios 6 GPIO_ACTIVE_HIGH>;
65 label = "bthomehubv2b:blue:phone";
66 gpios = <&gpios 7 GPIO_ACTIVE_HIGH>;
70 label = "bthomehubv2b:orange:wireless";
71 gpios = <&gpios 8 GPIO_ACTIVE_HIGH>;
73 wireless_blue: wireless-blue {
74 label = "bthomehubv2b:blue:wireless";
75 gpios = <&gpios 9 GPIO_ACTIVE_HIGH>;
79 label = "bthomehubv2b:red:broadband";
80 gpios = <&gpios 10 GPIO_ACTIVE_HIGH>;
83 label = "bthomehubv2b:orange:broadband";
84 gpios = <&gpios 11 GPIO_ACTIVE_HIGH>;
86 broadband_blue: broadband-blue {
87 label = "bthomehubv2b:blue:broadband";
88 gpios = <&gpios 12 GPIO_ACTIVE_HIGH>;
91 power_red: power-red {
92 label = "bthomehubv2b:red:power";
93 gpios = <&gpios 13 GPIO_ACTIVE_HIGH>;
95 power_orange: power-orange {
96 label = "bthomehubv2b:orange:power";
97 gpios = <&gpios 14 GPIO_ACTIVE_HIGH>;
98 default-state = "keep";
100 power_blue: power-blue {
101 label = "bthomehubv2b:blue:power";
102 gpios = <&gpios 15 GPIO_ACTIVE_HIGH>;
108 pinctrl-names = "default";
109 pinctrl-0 = <&state_default>;
111 state_default: pinmux {
113 lantiq,groups = "nand cle", "nand ale";
114 lantiq,function = "ebu";
116 lantiq,open-drain = <0>;
120 lantiq,groups = "nand cs1";
121 lantiq,function = "ebu";
122 lantiq,open-drain = <0>;
126 lantiq,groups = "exin1";
127 lantiq,function = "exin";
130 lantiq,groups = "req1";
131 lantiq,function = "pci";
133 lantiq,open-drain = <1>;
137 lantiq,groups = "gnt1";
138 lantiq,function = "pci";
140 lantiq,open-drain = <0>;
145 lantiq,pins = "io21";
147 lantiq,open-drain = <0>;
151 lantiq,pins = "io2", "io15", "io22";
153 lantiq,open-drain = <1>;
168 nor@0 { /* NOR Flash: Spansion S29AL004D 512KB */
169 compatible = "lantiq,nor"; /* "AMD AM29LV400BB" compatible on 3.3.8 */
172 reg = <0 0x0 0x80000>;
173 #address-cells = <1>;
177 compatible = "fixed-partitions";
178 #address-cells = <1>;
183 reg = <0x00000 0x40000>; /* 256KB */
188 reg = <0x40000 0x10000>; /* 64KB */
193 reg = <0x50000 0x10000>;
198 reg = <0x60000 0x10000>;
202 label = "rg_conf_factory";
203 reg = <0x70000 0x10000>;
208 nand@1 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
209 compatible = "lantiq,nand-xway";
212 reg = <1 0x0 0x2000000 >;
213 #address-cells = <1>;
215 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
218 compatible = "fixed-partitions";
219 #address-cells = <1>;
222 ath9k_cal: partition@0 {
223 label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
224 reg = <0x00000 0x4000>;
230 reg = <0x4000 0x200000>;
235 reg = <0x204000 0x1DFC000>;
243 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
246 compatible = "pci168c,0027";
247 reg = <0x7000 0 0 0 0>;
248 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
262 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;