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;
20 led-dsl = &broadband_blue;
21 led-wifi = &wireless_blue;
24 memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
25 reg = <0x0 0x4000000>;
29 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
36 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
40 label = "findhandset";
41 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_PHONE>;
46 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_WPS_BUTTON>;
52 compatible = "gpio-leds";
55 label = "bthomehubv2b:orange:upgrading";
56 gpios = <&gpios 5 GPIO_ACTIVE_HIGH>;
60 label = "bthomehubv2b:orange:phone";
61 gpios = <&gpios 6 GPIO_ACTIVE_HIGH>;
64 label = "bthomehubv2b:blue:phone";
65 gpios = <&gpios 7 GPIO_ACTIVE_HIGH>;
69 label = "bthomehubv2b:orange:wireless";
70 gpios = <&gpios 8 GPIO_ACTIVE_HIGH>;
72 wireless_blue: wireless-blue {
73 label = "bthomehubv2b:blue:wireless";
74 gpios = <&gpios 9 GPIO_ACTIVE_HIGH>;
78 label = "bthomehubv2b:red:broadband";
79 gpios = <&gpios 10 GPIO_ACTIVE_HIGH>;
82 label = "bthomehubv2b:orange:broadband";
83 gpios = <&gpios 11 GPIO_ACTIVE_HIGH>;
85 broadband_blue: broadband-blue {
86 label = "bthomehubv2b:blue:broadband";
87 gpios = <&gpios 12 GPIO_ACTIVE_HIGH>;
90 power_red: power-red {
91 label = "bthomehubv2b:red:power";
92 gpios = <&gpios 13 GPIO_ACTIVE_HIGH>;
94 power_orange: power-orange {
95 label = "bthomehubv2b:orange:power";
96 gpios = <&gpios 14 GPIO_ACTIVE_HIGH>;
97 default-state = "keep";
99 power_blue: power-blue {
100 label = "bthomehubv2b:blue:power";
101 gpios = <&gpios 15 GPIO_ACTIVE_HIGH>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&state_default>;
110 state_default: pinmux {
112 lantiq,groups = "nand cle", "nand ale";
113 lantiq,function = "ebu";
115 lantiq,open-drain = <0>;
119 lantiq,groups = "nand cs1";
120 lantiq,function = "ebu";
121 lantiq,open-drain = <0>;
125 lantiq,groups = "exin1";
126 lantiq,function = "exin";
129 lantiq,groups = "req1";
130 lantiq,function = "pci";
132 lantiq,open-drain = <1>;
136 lantiq,groups = "gnt1";
137 lantiq,function = "pci";
139 lantiq,open-drain = <0>;
144 lantiq,pins = "io21";
146 lantiq,open-drain = <0>;
150 lantiq,pins = "io2", "io15", "io22";
152 lantiq,open-drain = <1>;
167 nor@0 { /* NOR Flash: Spansion S29AL004D 512KB */
168 compatible = "lantiq,nor"; /* "AMD AM29LV400BB" compatible on 3.3.8 */
171 reg = <0 0x0 0x80000>;
172 #address-cells = <1>;
176 compatible = "fixed-partitions";
177 #address-cells = <1>;
182 reg = <0x00000 0x40000>; /* 256KB */
187 reg = <0x40000 0x10000>; /* 64KB */
192 reg = <0x50000 0x10000>;
197 reg = <0x60000 0x10000>;
201 label = "rg_conf_factory";
202 reg = <0x70000 0x10000>;
207 nand@1 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
208 compatible = "lantiq,nand-xway";
211 reg = <1 0x0 0x2000000 >;
212 #address-cells = <1>;
214 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
217 compatible = "fixed-partitions";
218 #address-cells = <1>;
221 ath9k_cal: partition@0 {
222 label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
223 reg = <0x00000 0x4000>;
229 reg = <0x4000 0x200000>;
234 reg = <0x204000 0x1DFC000>;
242 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
245 compatible = "pci168c,0027";
246 reg = <0x7000 0 0 0 0>;
247 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
261 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;