source: trunk/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-freestation5.c @ 31144

Last change on this file since 31144 was 31144, checked in by jow, 5 years ago

ramips: add support for the ARC FreeStation5 board, also fix WCR-150GN network setup while we're at it - thanks Pau Escrich <p4u@…> for the implementation

File size: 942 bytes
Line 
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
22static 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
33MIPS_MACHINE(RAMIPS_MACH_FREESTATION5, "FREESTATION5", "ARC FreeStation5",
34             freestation5_init);
Note: See TracBrowser for help on using the repository browser.