1a104e2231ed213338fc7642afe70b1401bef619
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-tew-632brp.c
1 /*
2 * TrendNET TEW-632BRP board support
3 *
4 * Copyright (C) 2008 Gabor Juhos <juhosg@openwrt.org>
5 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published
9 * by the Free Software Foundation.
10 */
11
12 #include <asm/mips_machine.h>
13
14 #include <asm/mach-ar71xx/ar71xx.h>
15 #include <asm/mach-ar71xx/platform.h>
16
17 static void __init tew_632brp_setup(void)
18 {
19 ar71xx_add_device_mdio(0xfffffffe);
20
21 ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
22 ar71xx_eth0_data.phy_mask = 0x0;
23 ar71xx_eth0_data.speed = SPEED_100;
24 ar71xx_eth0_data.duplex = DUPLEX_FULL;
25
26 ar71xx_add_device_eth(0);
27 }
28
29 MIPS_MACHINE(AR71XX_MACH_TEW_632BRP, "TRENDnet TEW-632BRP", tew_632brp_setup);
This page took 0.041555 seconds and 3 git commands to generate.