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>;
52 reg = <0x00000 0x40000>; /* 256KB */
57 reg = <0x40000 0x10000>; /* 64KB */
62 reg = <0x50000 0x10000>;
67 reg = <0x60000 0x10000>;
71 label = "rg_conf_factory";
72 reg = <0x70000 0x10000>;
76 nand-parts@0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
77 compatible = "gen_nand", "lantiq,nand-xway";
80 reg = <1 0x0 0x2000000 >;
83 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
85 ath9k_cal: partition@0 {
86 label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
87 reg = <0x00000 0x4000>;
93 reg = <0x4000 0x200000>;
98 reg = <0x204000 0x1DFC000>;
105 compatible = "ath9k,eeprom";
106 ath,eep-flash = <&ath9k_cal 0x0000>;
107 ath,mac-increment = <1>;
113 gpio: pinmux@E100B10 {
114 compatible = "lantiq,pinctrl-xway";
115 pinctrl-names = "default";
116 pinctrl-0 = <&state_default>;
120 reg = <0xE100B10 0xA0>;
122 state_default: pinmux {
124 lantiq,groups = "stp";
125 lantiq,function = "stp";
127 lantiq,open-drain = <0>;
131 lantiq,groups = "nand cle", "nand ale";
132 lantiq,function = "ebu";
134 lantiq,open-drain = <0>;
138 lantiq,groups = "nand cs1";
139 lantiq,function = "ebu";
140 lantiq,open-drain = <0>;
144 lantiq,groups = "exin1";
145 lantiq,function = "exin";
148 lantiq,groups = "req1";
149 lantiq,function = "pci";
151 lantiq,open-drain = <1>;
155 lantiq,groups = "gnt1";
156 lantiq,function = "pci";
158 lantiq,open-drain = <0>;
163 lantiq,pins = "io21";
165 lantiq,open-drain = <0>;
169 lantiq,pins = "io2", "io15", "io22";
171 lantiq,open-drain = <1>;
178 compatible = "lantiq,etop-xway";
179 reg = <0xE180000 0x40000>;
180 interrupt-parent = <&icu0>;
181 interrupts = <73 78>;
183 mac-address = [ 00 11 22 33 44 55 ];
193 compatible = "lantiq,gpio-stp-xway";
195 reg = <0xE100BB0 0x40>;
197 lantiq,shadow = <0xfff>;
198 lantiq,groups = <0x3>;
203 lantiq,bus-clock = <33333333>;
204 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
205 interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
206 gpio-reset = <&gpio 21 0>;
207 req-mask = <0x1>; /* GNT1 */
213 compatible = "gpio-keys-polled";
214 #address-cells = <1>;
216 poll-interval = <100>;
221 linux,code = <0x198>;
224 label = "findhandset";
225 gpios = <&gpio 15 1>;
226 linux,code = <0x101>;
230 gpios = <&gpio 22 1>;
231 linux,code = <0x211>;
236 compatible = "gpio-leds";
239 label = "bthomehubv2b:orange:upgrading";
244 label = "bthomehubv2b:orange:phone";
248 label = "bthomehubv2b:blue:phone";
253 label = "bthomehubv2b:orange:wireless";
256 wireless_blue: wireless-blue {
257 label = "bthomehubv2b:blue:wireless";
262 label = "bthomehubv2b:red:broadband";
263 gpios = <&stp0 10 0>;
266 label = "bthomehubv2b:orange:broadband";
267 gpios = <&stp0 11 0>;
269 broadband_blue: broadband-blue {
270 label = "bthomehubv2b:blue:broadband";
271 gpios = <&stp0 12 0>;
274 power_red: power-red {
275 label = "bthomehubv2b:red:power";
276 gpios = <&stp0 13 0>;
278 power_orange: power-orange {
279 label = "bthomehubv2b:orange:power";
280 gpios = <&stp0 14 0>;
281 default-state = "keep";
283 power_blue: power-blue {
284 label = "bthomehubv2b:blue:power";
285 gpios = <&stp0 15 0>;