3 /include/ "danube.dtsi"
6 model = "BTHOMEHUBV2B - BT Home Hub 2B"; /* SoC: Lantiq Danube-S PSB 50712 @ 333MHz V1.3/1.5 */
9 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
13 failsafe = &power_red;
14 running = &power_blue;
16 internet = &broadband_blue;
17 wifi = &wireless_blue;
21 memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
22 reg = <0x0 0x4000000>;
38 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
39 1 0 0x4000000 0x4000010>; /* addsel1 */
40 compatible = "lantiq,localbus", "simple-bus";
42 nor-boot@0 { /* NOR Flash: Spansion S29AL004D 512KB */
43 compatible = "lantiq,nor"; /* "AMD AM29LV400BB" compatible on 3.3.8 */
46 reg = <0 0x0 0x80000>;
51 compatible = "fixed-partitions";
57 reg = <0x00000 0x40000>; /* 256KB */
62 reg = <0x40000 0x10000>; /* 64KB */
67 reg = <0x50000 0x10000>;
72 reg = <0x60000 0x10000>;
76 label = "rg_conf_factory";
77 reg = <0x70000 0x10000>;
82 nand-parts@0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
83 compatible = "gen_nand", "lantiq,nand-xway";
86 reg = <1 0x0 0x2000000 >;
89 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
92 compatible = "fixed-partitions";
96 ath9k_cal: partition@0 {
97 label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
98 reg = <0x00000 0x4000>;
104 reg = <0x4000 0x200000>;
109 reg = <0x204000 0x1DFC000>;
116 compatible = "ath9k,eeprom";
117 ath,eep-flash = <&ath9k_cal 0x0000>;
118 ath,mac-increment = <1>;
124 gpio: pinmux@E100B10 {
125 compatible = "lantiq,pinctrl-xway";
126 pinctrl-names = "default";
127 pinctrl-0 = <&state_default>;
131 reg = <0xE100B10 0xA0>;
133 state_default: pinmux {
135 lantiq,groups = "stp";
136 lantiq,function = "stp";
138 lantiq,open-drain = <0>;
142 lantiq,groups = "nand cle", "nand ale";
143 lantiq,function = "ebu";
145 lantiq,open-drain = <0>;
149 lantiq,groups = "nand cs1";
150 lantiq,function = "ebu";
151 lantiq,open-drain = <0>;
155 lantiq,groups = "exin1";
156 lantiq,function = "exin";
159 lantiq,groups = "req1";
160 lantiq,function = "pci";
162 lantiq,open-drain = <1>;
166 lantiq,groups = "gnt1";
167 lantiq,function = "pci";
169 lantiq,open-drain = <0>;
174 lantiq,pins = "io21";
176 lantiq,open-drain = <0>;
180 lantiq,pins = "io2", "io15", "io22";
182 lantiq,open-drain = <1>;
189 compatible = "lantiq,etop-xway";
190 reg = <0xE180000 0x40000>;
191 interrupt-parent = <&icu0>;
192 interrupts = <73 78>;
194 mac-address = [ 00 11 22 33 44 55 ];
204 compatible = "lantiq,gpio-stp-xway";
206 reg = <0xE100BB0 0x40>;
208 lantiq,shadow = <0xfff>;
209 lantiq,groups = <0x3>;
214 lantiq,bus-clock = <33333333>;
215 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
216 interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
217 gpio-reset = <&gpio 21 0>;
218 req-mask = <0x1>; /* GNT1 */
224 compatible = "gpio-keys-polled";
225 #address-cells = <1>;
227 poll-interval = <100>;
232 linux,code = <0x198>;
235 label = "findhandset";
236 gpios = <&gpio 15 1>;
237 linux,code = <0x101>;
241 gpios = <&gpio 22 1>;
242 linux,code = <0x211>;
247 compatible = "gpio-leds";
250 label = "bthomehubv2b:orange:upgrading";
255 label = "bthomehubv2b:orange:phone";
259 label = "bthomehubv2b:blue:phone";
264 label = "bthomehubv2b:orange:wireless";
267 wireless_blue: wireless-blue {
268 label = "bthomehubv2b:blue:wireless";
273 label = "bthomehubv2b:red:broadband";
274 gpios = <&stp0 10 0>;
277 label = "bthomehubv2b:orange:broadband";
278 gpios = <&stp0 11 0>;
280 broadband_blue: broadband-blue {
281 label = "bthomehubv2b:blue:broadband";
282 gpios = <&stp0 12 0>;
285 power_red: power-red {
286 label = "bthomehubv2b:red:power";
287 gpios = <&stp0 13 0>;
289 power_orange: power-orange {
290 label = "bthomehubv2b:orange:power";
291 gpios = <&stp0 14 0>;
292 default-state = "keep";
294 power_blue: power-blue {
295 label = "bthomehubv2b:blue:power";
296 gpios = <&stp0 15 0>;