2 * Atheros AP83 board support
4 * Copyright (C) 2008 Gabor Juhos <juhosg@openwrt.org>
5 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
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.
12 #include <linux/platform_device.h>
13 #include <linux/input.h>
15 #include <asm/mips_machine.h>
16 #include <asm/mach-ar71xx/ar71xx.h>
17 #include <asm/mach-ar71xx/pci.h>
18 #include <asm/mach-ar71xx/platform.h>
20 static void __init
ap83_setup(void)
22 ar71xx_add_device_mdio(0xfffffffe);
24 ar71xx_eth0_data
.phy_if_mode
= PHY_INTERFACE_MODE_RGMII
;
25 ar71xx_eth0_data
.phy_mask
= 0x1;
27 ar71xx_add_device_eth(0);
30 MIPS_MACHINE(MACH_AR71XX_AP83
, "Atheros AP83", ap83_setup
);
This page took 0.058678 seconds and 5 git commands to generate.