3 #include <dt-bindings/input/input.h>
6 compatible = "bt,homehub-v2b", "lantiq,xway", "lantiq,danube";
7 model = "BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
10 bootargs = "console=ttyLTQ0,115200";
14 led-boot = &power_orange;
15 led-failsafe = &power_red;
16 led-running = &power_blue;
17 led-upgrade = &power_blue;
19 led-dsl = &broadband_blue;
20 led-wifi = &wireless_blue;
23 memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
24 device_type = "memory";
25 reg = <0x0 0x4000000>;
29 compatible = "gpio-keys-polled";
30 poll-interval = <100>;
34 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
38 label = "findhandset";
39 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_PHONE>;
44 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_WPS_BUTTON>;
50 compatible = "gpio-leds";
53 label = "orange:upgrading";
54 gpios = <&gpios 5 GPIO_ACTIVE_HIGH>;
58 label = "orange:phone";
59 gpios = <&gpios 6 GPIO_ACTIVE_HIGH>;
63 gpios = <&gpios 7 GPIO_ACTIVE_HIGH>;
67 label = "orange:wireless";
68 gpios = <&gpios 8 GPIO_ACTIVE_HIGH>;
70 wireless_blue: wireless-blue {
71 label = "blue:wireless";
72 gpios = <&gpios 9 GPIO_ACTIVE_HIGH>;
76 label = "red:broadband";
77 gpios = <&gpios 10 GPIO_ACTIVE_HIGH>;
80 label = "orange:broadband";
81 gpios = <&gpios 11 GPIO_ACTIVE_HIGH>;
83 broadband_blue: broadband-blue {
84 label = "blue:broadband";
85 gpios = <&gpios 12 GPIO_ACTIVE_HIGH>;
88 power_red: power-red {
90 gpios = <&gpios 13 GPIO_ACTIVE_HIGH>;
92 power_orange: power-orange {
93 label = "orange:power";
94 gpios = <&gpios 14 GPIO_ACTIVE_HIGH>;
95 default-state = "keep";
97 power_blue: power-blue {
99 gpios = <&gpios 15 GPIO_ACTIVE_HIGH>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&state_default>;
108 state_default: pinmux {
110 lantiq,groups = "exin1";
111 lantiq,function = "exin";
115 lantiq,pins = "io21";
117 lantiq,open-drain = <0>;
121 lantiq,pins = "io2", "io15", "io22";
123 lantiq,open-drain = <1>;
138 flash@0 { /* NOR Flash: Spansion S29AL004D 512KB */
139 compatible = "lantiq,nor"; /* "AMD AM29LV400BB" compatible on 3.3.8 */
142 reg = <0 0x0 0x80000>;
145 compatible = "fixed-partitions";
146 #address-cells = <1>;
151 reg = <0x00000 0x40000>; /* 256KB */
155 label = "u-boot-env";
156 reg = <0x40000 0x10000>; /* 64KB */
161 reg = <0x50000 0x10000>;
166 reg = <0x60000 0x10000>;
170 label = "rg_conf_factory";
171 reg = <0x70000 0x10000>;
176 flash@1 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
177 compatible = "lantiq,nand-xway";
180 reg = <1 0x0 0x2000000 >;
181 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
183 pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
184 pinctrl-names = "default";
187 compatible = "fixed-partitions";
188 #address-cells = <1>;
191 ath9k_cal: partition@0 {
192 label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
193 reg = <0x00000 0x4000>;
199 reg = <0x4000 0x200000>;
204 reg = <0x204000 0x1dfc000>;
213 pinctrl-0 = <&pci_gnt1_pins>, <&pci_req1_pins>;
214 pinctrl-names = "default";
216 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
219 compatible = "pci168c,0027";
220 reg = <0x7000 0 0 0 0>;
221 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
235 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;