ramips: properly setup the FEATURES variable
[openwrt.git] / target / linux / ramips / files-3.7 / arch / mips / ralink / rt305x / mach-freestation5.c
1 /*
2  *  ARC FreeStation2/5 board support
3  *
4  *  Copyright (C) 2009 John Crispin <blogic@openwrt.org>
5  *  Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org>
6  *  Copyright (C) 2012 Pau Escrich <p4u@dabax.net>
7  *
8  *  This program is free software; you can redistribute it and/or modify it
9  *  under the terms of the GNU General Public License version 2 as published
10  *  by the Free Software Foundation.
11  */
12
13 #include <linux/init.h>
14 #include <linux/platform_device.h>
15
16 #include <asm/mach-ralink/machine.h>
17 #include <asm/mach-ralink/rt305x.h>
18 #include <asm/mach-ralink/rt305x_regs.h>
19
20 #include "devices.h"
21
22 static void __init freestation5_init(void)
23 {
24         rt305x_register_flash(0);
25
26         rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_WLLLL;
27         rt305x_register_ethernet();
28         rt305x_register_wifi();
29         rt305x_register_wdt();
30         rt305x_register_usb();
31 }
32
33 MIPS_MACHINE(RAMIPS_MACH_FREESTATION5, "FREESTATION5", "ARC FreeStation5",
34              freestation5_init);