1 --- a/arch/mips/include/asm/mach-lantiq/machine.h
2 +++ b/arch/mips/include/asm/mach-lantiq/machine.h
4 LANTIQ_MACH_EASY4010, /* Twinpass evalkit */
5 LANTIQ_MACH_EASY50712, /* Danube evalkit */
6 LANTIQ_MACH_EASY50812, /* AR9 eval board */
9 + LANTIQ_MACH_ARV3527P, /* Arcor easybox a401 */
10 + LANTIQ_MACH_ARV4510PW, /* Wippies Homebox */
11 + LANTIQ_MACH_ARV4518PW, /* Airties WAV-221, SMC-7908A-ISP */
12 + LANTIQ_MACH_ARV4520PW, /* Airties WAV-281, Arcor EasyboxA800 */
13 + LANTIQ_MACH_ARV452CPW, /* Arcor EasyboxA801 */
14 + LANTIQ_MACH_ARV4525PW, /* Speedport W502V */
15 + LANTIQ_MACH_ARV752DPW, /* Arcor easybox a802 */
16 + LANTIQ_MACH_ARV752DPW22, /* Arcor easybox a803 */
17 + LANTIQ_MACH_ARV7518PW, /* ASTORIA */
19 --- a/arch/mips/lantiq/xway/Kconfig
20 +++ b/arch/mips/lantiq/xway/Kconfig
25 +config LANTIQ_MACH_ARV45XX
32 --- a/arch/mips/lantiq/xway/Makefile
33 +++ b/arch/mips/lantiq/xway/Makefile
35 obj-$(CONFIG_LANTIQ_MACH_EASY50812) += mach-easy50812.o
36 obj-$(CONFIG_LANTIQ_MACH_EASY50712) += mach-easy50712.o
37 obj-$(CONFIG_LANTIQ_MACH_EASY4010) += mach-easy4010.o
38 +obj-$(CONFIG_LANTIQ_MACH_ARV45XX) += mach-arv45xx.o
40 +++ b/arch/mips/lantiq/xway/mach-arv45xx.c
43 + * This program is free software; you can redistribute it and/or modify it
44 + * under the terms of the GNU General Public License version 2 as published
45 + * by the Free Software Foundation.
47 + * Copyright (C) 2010 John Crispin <blogic@openwrt.org>
50 +#include <linux/init.h>
51 +#include <linux/platform_device.h>
52 +#include <linux/leds.h>
53 +#include <linux/gpio.h>
54 +#include <linux/gpio_buttons.h>
55 +#include <linux/mtd/mtd.h>
56 +#include <linux/mtd/partitions.h>
57 +#include <linux/mtd/physmap.h>
58 +#include <linux/input.h>
59 +#include <linux/etherdevice.h>
60 +#include <linux/ath5k_platform.h>
61 +#include <linux/pci.h>
66 +#include <lantiq_platform.h>
69 +#include "dev-dwc_otg.h"
71 +#ifdef CONFIG_MTD_PARTITIONS
72 +static struct mtd_partition arv4510_partitions[] =
80 + .name = "uboot_env",
90 + .name = "board_config",
96 +static struct mtd_partition arv45xx_partitions[] =
104 + .name = "uboot_env",
114 + .name = "board_config",
115 + .offset = 0x3f0000,
120 +static struct mtd_partition arv75xx_partitions[] =
128 + .name = "uboot_env",
138 + .name = "board_config",
139 + .offset = 0x7f0000,
146 +static struct physmap_flash_data arv4510_flash_data = {
147 +#ifdef CONFIG_MTD_PARTITIONS
148 + .nr_parts = ARRAY_SIZE(arv4510_partitions),
149 + .parts = arv4510_partitions,
153 +static struct physmap_flash_data arv45xx_flash_data = {
154 +#ifdef CONFIG_MTD_PARTITIONS
155 + .nr_parts = ARRAY_SIZE(arv45xx_partitions),
156 + .parts = arv45xx_partitions,
160 +static struct physmap_flash_data arv75xx_flash_data = {
161 +#ifdef CONFIG_MTD_PARTITIONS
162 + .nr_parts = ARRAY_SIZE(arv75xx_partitions),
163 + .parts = arv75xx_partitions,
167 +static struct lq_pci_data lq_pci_data = {
168 + .clock = PCI_CLOCK_EXT,
169 + .gpio = PCI_GNT1 | PCI_REQ1,
171 + [14] = INT_NUM_IM0_IRL0 + 22,
175 +static struct lq_eth_data lq_eth_data = {
176 + .mii_mode = REV_MII_MODE,
177 + .mac = "\xff\xff\xff\xff\xff\xff",
180 +static struct gpio_led
181 +arv4510pw_leds_gpio[] __initdata = {
182 + { .name = "soc:green:foo", .gpio = 4, .active_low = 1, },
185 +static struct gpio_led
186 +arv4518pw_leds_gpio[] __initdata = {
187 + { .name = "soc:green:power", .gpio = 3, .active_low = 1, .default_trigger = "default-on" },
188 + { .name = "soc:green:adsl", .gpio = 4, .active_low = 1, .default_trigger = "default-on" },
189 + { .name = "soc:green:internet", .gpio = 5, .active_low = 1, .default_trigger = "default-on" },
190 + { .name = "soc:green:wlan", .gpio = 6, .active_low = 1, .default_trigger = "default-on" },
191 + { .name = "soc:yellow:wps", .gpio = 7, .active_low = 1, .default_trigger = "default-on" },
192 + { .name = "soc:red:fail", .gpio = 8, .active_low = 1, .default_trigger = "default-on" },
193 + { .name = "soc:green:usb", .gpio = 19, .active_low = 1, .default_trigger = "default-on" },
194 + { .name = "soc:green:voip", .gpio = 32, .active_low = 1, .default_trigger = "default-on" },
195 + { .name = "soc:green:fxs1", .gpio = 33, .active_low = 1, .default_trigger = "default-on" },
196 + { .name = "soc:green:fxs2", .gpio = 34, .active_low = 1, .default_trigger = "default-on" },
197 + { .name = "soc:green:fxo", .gpio = 35, .active_low = 1, .default_trigger = "default-on" },
200 +static struct gpio_button
201 +arv4518pw_gpio_buttons[] __initdata = {
202 + { .desc = "wlan", .type = EV_KEY, .code = BTN_0, .threshold = 3, .gpio = 28, .active_low = 1, },
203 + { .desc = "wps", .type = EV_KEY, .code = BTN_1, .threshold = 3, .gpio = 29, .active_low = 1, },
204 + { .desc = "reset", .type = EV_KEY, .code = BTN_2, .threshold = 3, .gpio = 30, .active_low = 1, },
207 +static struct gpio_led
208 +arv4520pw_leds_gpio[] __initdata = {
209 + { .name = "soc:blue:power", .gpio = 3, .active_low = 1, },
210 + { .name = "soc:blue:adsl", .gpio = 4, .active_low = 1, },
211 + { .name = "soc:blue:internet", .gpio = 5, .active_low = 1, },
212 + { .name = "soc:red:power", .gpio = 6, .active_low = 1, },
213 + { .name = "soc:yellow:wps", .gpio = 7, .active_low = 1, },
214 + { .name = "soc:red:wps", .gpio = 9, .active_low = 1, },
215 + { .name = "soc:blue:voip", .gpio = 32, .active_low = 1, },
216 + { .name = "soc:blue:fxs1", .gpio = 33, .active_low = 1, },
217 + { .name = "soc:blue:fxs2", .gpio = 34, .active_low = 1, },
218 + { .name = "soc:blue:fxo", .gpio = 35, .active_low = 1, },
219 + { .name = "soc:blue:voice", .gpio = 36, .active_low = 1, },
220 + { .name = "soc:blue:usb", .gpio = 37, .active_low = 1, },
221 + { .name = "soc:blue:wlan", .gpio = 38, .active_low = 1, },
224 +static struct gpio_led
225 +arv452cpw_leds_gpio[] __initdata = {
226 + { .name = "soc:blue:power", .gpio = 3, .active_low = 1, .default_trigger = "default-on" },
227 + { .name = "soc:blue:adsl", .gpio = 4, .active_low = 1, .default_trigger = "default-on" },
228 + { .name = "soc:blue:isdn", .gpio = 5, .active_low = 1, .default_trigger = "default-on" },
229 + { .name = "soc:red:power", .gpio = 6, .active_low = 1, .default_trigger = "default-on" },
230 + { .name = "soc:yellow:wps", .gpio = 7, .active_low = 1, .default_trigger = "default-on" },
231 + { .name = "soc:red:wps", .gpio = 9, .active_low = 1, .default_trigger = "default-on" },
232 + { .name = "soc:blue:fxs1", .gpio = 32, .active_low = 1, .default_trigger = "default-on" },
233 + { .name = "soc:blue:fxs2", .gpio = 33, .active_low = 1, .default_trigger = "default-on" },
234 + { .name = "soc:blue:wps", .gpio = 34, .active_low = 1, .default_trigger = "default-on" },
235 + { .name = "soc:blue:fxo", .gpio = 35, .active_low = 1, .default_trigger = "default-on" },
236 + { .name = "soc:blue:voice", .gpio = 36, .active_low = 1, .default_trigger = "default-on" },
237 + { .name = "soc:blue:usb", .gpio = 37, .active_low = 1, .default_trigger = "default-on" },
238 + { .name = "soc:blue:wlan", .gpio = 38, .active_low = 1, .default_trigger = "default-on" },
239 + { .name = "soc:blue:internet", .gpio = 40, .active_low = 1, .default_trigger = "default-on" },
240 + { .name = "soc:red:internet", .gpio = 41, .active_low = 1, .default_trigger = "default-on" },
243 +static struct gpio_led
244 +arv4525pw_leds_gpio[] __initdata = {
245 + { .name = "soc:green:festnetz", .gpio = 4, .active_low = 1, .default_trigger = "default-on" },
246 + { .name = "soc:green:internet", .gpio = 5, .active_low = 1, .default_trigger = "default-on" },
247 + { .name = "soc:green:dsl", .gpio = 6, .active_low = 1, .default_trigger = "default-on" },
248 + { .name = "soc:green:wlan", .gpio = 8, .active_low = 1, .default_trigger = "default-on" },
249 + { .name = "soc:green:online", .gpio = 9, .active_low = 1, .default_trigger = "default-on" },
252 +static struct gpio_led
253 +arv752dpw22_leds_gpio[] __initdata = {
254 + { .name = "soc:blue:power", .gpio = 3, .active_low = 1, .default_trigger = "default-on" },
255 + { .name = "soc:red:internet", .gpio = 5, .active_low = 1, .default_trigger = "default-on" },
256 + { .name = "soc:red:power", .gpio = 6, .active_low = 1, .default_trigger = "default-on" },
257 + { .name = "soc:red:wps", .gpio = 8, .active_low = 1, .default_trigger = "default-on" },
258 + { .name = "soc:red:fxo", .gpio = 35, .active_low = 1, .default_trigger = "default-on" },
259 + { .name = "soc:red:voice", .gpio = 36, .active_low = 1, .default_trigger = "default-on" },
260 + { .name = "soc:green:usb", .gpio = 37, .active_low = 1, .default_trigger = "default-on" },
261 + { .name = "soc:green:wlan", .gpio = 38, .active_low = 1, .default_trigger = "default-on" },
262 + { .name = "soc:green:wlan1", .gpio = 39, .active_low = 1, .default_trigger = "default-on" },
263 + { .name = "soc:blue:wlan", .gpio = 40, .active_low = 1, .default_trigger = "default-on" },
264 + { .name = "soc:blue:wlan1", .gpio = 41, .active_low = 1, .default_trigger = "default-on" },
265 + { .name = "soc:green:eth1", .gpio = 43, .active_low = 1, .default_trigger = "default-on" },
266 + { .name = "soc:green:eth2", .gpio = 44, .active_low = 1, .default_trigger = "default-on" },
267 + { .name = "soc:green:eth3", .gpio = 45, .active_low = 1, .default_trigger = "default-on" },
268 + { .name = "soc:green:eth4", .gpio = 46, .active_low = 1, .default_trigger = "default-on", },
271 +static struct gpio_button
272 +arv752dpw22_gpio_buttons[] __initdata = {
273 + { .desc = "btn0", .type = EV_KEY, .code = BTN_0, .threshold = 3, .gpio = 12, .active_low = 1, },
274 + { .desc = "btn1", .type = EV_KEY, .code = BTN_1, .threshold = 3, .gpio = 13, .active_low = 1, },
275 + { .desc = "btn2", .type = EV_KEY, .code = BTN_2, .threshold = 3, .gpio = 28, .active_low = 1, },
278 +static struct gpio_led
279 +arv7518pw_leds_gpio[] __initdata = {
280 + { .name = "soc:green:power", .gpio = 2, .active_low = 1, },
281 + { .name = "soc:green:adsl", .gpio = 4, .active_low = 1, },
282 + { .name = "soc:green:internet", .gpio = 5, .active_low = 1, },
283 + { .name = "soc:green:wlan", .gpio = 6, .active_low = 1, },
284 + { .name = "soc:red:internet", .gpio = 8, .active_low = 1, },
285 + { .name = "soc:green:usb", .gpio = 19, .active_low = 1, },
288 +static struct gpio_button
289 +arv7518pw_gpio_buttons[] __initdata = {
290 + { .desc = "reset", .type = EV_KEY, .code = BTN_0, .threshold = 3, .gpio = 23, .active_low = 1, },
291 + { .desc = "wlan", .type = EV_KEY, .code = BTN_1, .threshold = 3, .gpio = 25, .active_low = 1, },
295 +arv45xx_register_ethernet(void)
297 +#define ARV45XX_BRN_MAC 0x3f0016
298 + memcpy_fromio(lq_eth_data.mac,
299 + (void *)KSEG1ADDR(LQ_FLASH_START + ARV45XX_BRN_MAC), 6);
300 + lq_register_ethernet(&lq_eth_data);
304 +arv75xx_register_ethernet(void)
306 +#define ARV75XX_BRN_MAC 0x7f0016
307 + memcpy_fromio(lq_eth_data.mac,
308 + (void *)KSEG1ADDR(LQ_FLASH_START + ARV75XX_BRN_MAC), 6);
309 + lq_register_ethernet(&lq_eth_data);
313 +bewan_register_ethernet(void)
315 +#define BEWAN_BRN_MAC 0x3f0014
316 + memcpy_fromio(lq_eth_data.mac,
317 + (void *)KSEG1ADDR(LQ_FLASH_START + BEWAN_BRN_MAC), 6);
318 + lq_register_ethernet(&lq_eth_data);
321 +static u16 arv45xx_ath5k_eeprom_data[ATH5K_PLAT_EEP_MAX_WORDS];
322 +static struct ath5k_platform_data arv45xx_ath5k_platform_data;
324 +static int arv45xx_pci_plat_dev_init(struct pci_dev *dev)
326 + dev->dev.platform_data = &arv45xx_ath5k_platform_data;
331 +arv45xx_register_ath5k(void)
333 +#define ARV45XX_BRN_ATH 0x3f0478
335 + unsigned char eeprom_mac[6];
336 + static u16 eeprom_data[ATH5K_PLAT_EEP_MAX_WORDS];
337 + u32 *p = (u32*)arv45xx_ath5k_eeprom_data;
339 + memcpy_fromio(eeprom_mac,
340 + (void *)KSEG1ADDR(LQ_FLASH_START + ARV45XX_BRN_MAC), 6);
342 + memcpy_fromio(arv45xx_ath5k_eeprom_data,
343 + (void *)KSEG1ADDR(LQ_FLASH_START + ARV45XX_BRN_ATH), ATH5K_PLAT_EEP_MAX_WORDS);
344 + // swap eeprom bytes
345 + for (i = 0; i < ATH5K_PLAT_EEP_MAX_WORDS>>1; i++){
346 + //arv4518_ath5k_eeprom_data[i] = ((eeprom_data[i]&0xff)<<8)|((eeprom_data[i]&0xff00)>>8);
347 + p[i] = ((eeprom_data[(i<<1)+1]&0xff)<<24)|((eeprom_data[(i<<1)+1]&0xff00)<<8)|((eeprom_data[i<<1]&0xff)<<8)|((eeprom_data[i<<1]&0xff00)>>8);
349 + // printk ("regdomain: 0x%x --> 0x%x\n", p[i], (p[i] & 0xffff0000)|0x67);
350 + /* regdomain is invalid?? how did original fw convert
351 + * value to 0x82d4 ??
352 + * for now, force to 0x67 */
353 + p[i] &= 0xffff0000;
357 + arv45xx_ath5k_platform_data.eeprom_data = arv45xx_ath5k_eeprom_data;
358 + arv45xx_ath5k_platform_data.macaddr = eeprom_mac;
359 + lqpci_plat_dev_init = arv45xx_pci_plat_dev_init;
365 + lq_register_gpio();
366 + lq_register_gpio_stp();
367 + //lq_register_gpio_leds(arv3527p_leds_gpio, ARRAY_SIZE(arv3527p_leds_gpio));
368 + lq_register_asc(0);
369 + lq_register_asc(1);
370 + lq_register_nor(&arv45xx_flash_data);
372 + arv45xx_register_ethernet();
375 +MIPS_MACHINE(LANTIQ_MACH_ARV3527P,
377 + "ARV3527P - Arcor Easybox 401",
381 +arv4510pw_init(void)
383 + lq_register_gpio();
384 + lq_register_gpio_stp();
385 + lq_register_gpio_leds(arv4510pw_leds_gpio, ARRAY_SIZE(arv4510pw_leds_gpio));
386 + lq_register_asc(0);
387 + lq_register_asc(1);
388 + lq_register_nor(&arv4510_flash_data);
389 + lq_pci_data.irq[12] = (INT_NUM_IM2_IRL0 + 31);
390 + lq_pci_data.irq[15] = (INT_NUM_IM0_IRL0 + 26);
391 + lq_pci_data.gpio |= PCI_EXIN2 | PCI_REQ2;
392 + lq_register_pci(&lq_pci_data);
394 + bewan_register_ethernet();
397 +MIPS_MACHINE(LANTIQ_MACH_ARV4510PW,
399 + "ARV4510PW - Wippies Homebox",
403 +arv4518pw_init(void)
405 +#define ARV4518PW_EBU 0
406 +#define ARV4518PW_USB 14
407 +#define ARV4518PW_SWITCH_RESET 13
409 + lq_register_gpio();
410 + lq_register_gpio_ebu(ARV4518PW_EBU);
411 + lq_register_gpio_leds(arv4518pw_leds_gpio, ARRAY_SIZE(arv4518pw_leds_gpio));
412 + lq_register_gpio_buttons(arv4518pw_gpio_buttons, ARRAY_SIZE(arv4518pw_gpio_buttons));
413 + lq_register_asc(0);
414 + lq_register_asc(1);
415 + lq_register_nor(&arv45xx_flash_data);
416 + lq_pci_data.gpio = PCI_GNT2 | PCI_REQ2;
417 + lq_register_pci(&lq_pci_data);
419 + lq_register_madwifi_eep();
420 + xway_register_dwc(ARV4518PW_USB);
421 + arv45xx_register_ethernet();
422 + arv45xx_register_ath5k();
424 + gpio_request(ARV4518PW_SWITCH_RESET, "switch");
425 + gpio_direction_output(ARV4518PW_SWITCH_RESET, 1);
426 + gpio_export(ARV4518PW_SWITCH_RESET, 0);
429 +MIPS_MACHINE(LANTIQ_MACH_ARV4518PW,
431 + "ARV4518PW - SMC7908A-ISP, Airties WAV-221",
435 +arv4520pw_init(void)
437 +#define ARV4520PW_EBU 0x400
438 +#define ARV4520PW_USB 28
439 +#define ARV4520PW_SWITCH_RESET 42
441 + lq_register_gpio();
442 + lq_register_gpio_ebu(ARV4520PW_EBU);
443 + lq_register_gpio_leds(arv4520pw_leds_gpio, ARRAY_SIZE(arv4520pw_leds_gpio));
444 + lq_register_asc(0);
445 + lq_register_asc(1);
446 + lq_register_nor(&arv45xx_flash_data);
447 + lq_register_pci(&lq_pci_data);
449 + lq_register_tapi();
450 + arv45xx_register_ethernet();
451 + xway_register_dwc(ARV4520PW_USB);
453 + gpio_request(ARV4520PW_SWITCH_RESET, "switch");
454 + gpio_set_value(ARV4520PW_SWITCH_RESET, 1);
457 +MIPS_MACHINE(LANTIQ_MACH_ARV4520PW,
459 + "ARV4520PW - Airties WAV-281, Arcor A800",
463 +arv452Cpw_init(void)
465 +#define ARV452CPW_EBU 0x77f
466 +#define ARV452CPW_USB 28
467 +#define ARV452CPW_RELAY1 31
468 +#define ARV452CPW_RELAY2 39
469 +#define ARV452CPW_SWITCH_RESET 42
471 + lq_register_gpio();
472 + lq_register_gpio_ebu(ARV452CPW_EBU);
473 + lq_register_gpio_leds(arv452cpw_leds_gpio, ARRAY_SIZE(arv452cpw_leds_gpio));
474 + lq_register_asc(0);
475 + lq_register_asc(1);
476 + lq_register_nor(&arv45xx_flash_data);
477 + lq_register_pci(&lq_pci_data);
479 + lq_register_madwifi_eep();
480 + xway_register_dwc(ARV452CPW_USB);
481 + arv45xx_register_ethernet();
482 + arv45xx_register_ath5k();
484 + gpio_request(ARV452CPW_SWITCH_RESET, "switch");
485 + gpio_set_value(ARV452CPW_SWITCH_RESET, 1);
486 + gpio_export(ARV452CPW_SWITCH_RESET, 0);
488 + gpio_request(ARV452CPW_RELAY1, "relay1");
489 + gpio_direction_output(ARV452CPW_RELAY1, 1);
490 + gpio_export(ARV452CPW_RELAY1, 0);
492 + gpio_request(ARV452CPW_RELAY2, "relay2");
493 + gpio_set_value(ARV452CPW_RELAY2, 1);
494 + gpio_export(ARV452CPW_RELAY2, 0);
497 +MIPS_MACHINE(LANTIQ_MACH_ARV452CPW,
499 + "ARV452CPW - Arcor A801",
503 +arv4525pw_init(void)
505 + lq_register_gpio();
506 + lq_register_gpio_leds(arv4525pw_leds_gpio, ARRAY_SIZE(arv4525pw_leds_gpio));
507 + lq_register_asc(0);
508 + lq_register_asc(1);
509 + lq_register_nor(&arv45xx_flash_data);
510 + lq_pci_data.clock = PCI_CLOCK_INT;
511 + lq_register_pci(&lq_pci_data);
513 + lq_register_madwifi_eep();
514 + lq_eth_data.mii_mode = MII_MODE;
515 + arv45xx_register_ethernet();
518 +MIPS_MACHINE(LANTIQ_MACH_ARV4525PW,
520 + "ARV4525PW - Speedport W502V",
524 +arv7518pw_init(void)
526 +#define ARV7518PW_EBU 0x2
527 +#define ARV7518PW_USB 14
529 + lq_register_gpio();
530 + lq_register_gpio_ebu(ARV7518PW_EBU);
531 + lq_register_asc(0);
532 + lq_register_asc(1);
533 + lq_register_gpio_leds(arv7518pw_leds_gpio, ARRAY_SIZE(arv7518pw_leds_gpio));
534 + lq_register_gpio_buttons(arv7518pw_gpio_buttons, ARRAY_SIZE(arv7518pw_gpio_buttons));
535 + lq_register_nor(&arv75xx_flash_data);
536 + lq_register_pci(&lq_pci_data);
538 + lq_register_tapi();
539 + xway_register_dwc(ARV7518PW_USB);
540 + arv75xx_register_ethernet();
541 + //arv7518_register_ath9k(mac);
544 +MIPS_MACHINE(LANTIQ_MACH_ARV7518PW,
546 + "ARV7518PW - ASTORIA",
550 +arv752dpw22_init(void)
552 +#define ARV752DPW22_EBU 0x2
553 +#define ARV752DPW22_USB 32
554 +#define ARV752DPW22_RELAY 33
556 + lq_register_gpio();
557 + lq_register_gpio_ebu(ARV752DPW22_EBU);
558 + lq_register_asc(0);
559 + lq_register_asc(1);
560 + lq_register_gpio_leds(arv752dpw22_leds_gpio, ARRAY_SIZE(arv752dpw22_leds_gpio));
561 + lq_register_gpio_buttons(arv752dpw22_gpio_buttons, ARRAY_SIZE(arv752dpw22_gpio_buttons));
562 + lq_register_nor(&arv75xx_flash_data);
563 + lq_pci_data.irq[15] = (INT_NUM_IM2_IRL0 + 31);
564 + lq_pci_data.gpio |= PCI_EXIN1 | PCI_REQ2;
565 + lq_register_pci(&lq_pci_data);
567 + xway_register_dwc(ARV752DPW22_USB);
568 + arv75xx_register_ethernet();
570 + gpio_request(ARV752DPW22_RELAY, "relay");
571 + gpio_set_value(ARV752DPW22_RELAY, 1);
572 + gpio_export(ARV752DPW22_RELAY, 0);
575 +MIPS_MACHINE(LANTIQ_MACH_ARV752DPW22,
577 + "ARV752DPW22 - Arcor A803",