Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[deliverable/linux.git] / arch / arm / mach-kirkwood / board-iconnect.c
1 /*
2 * arch/arm/mach-kirkwood/board-iconnect.c
3 *
4 * Iomega i-connect Board Setup
5 *
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
9 */
10
11 #include <linux/kernel.h>
12 #include <linux/init.h>
13 #include <linux/of.h>
14 #include <linux/mv643xx_eth.h>
15 #include "common.h"
16
17 static struct mv643xx_eth_platform_data iconnect_ge00_data = {
18 .phy_addr = MV643XX_ETH_PHY_ADDR(11),
19 };
20
21 void __init iconnect_init(void)
22 {
23 kirkwood_ge00_init(&iconnect_ge00_data);
24 }
25
26 static int __init iconnect_pci_init(void)
27 {
28 if (of_machine_is_compatible("iom,iconnect"))
29 kirkwood_pcie_init(KW_PCIE0);
30 return 0;
31 }
32 subsys_initcall(iconnect_pci_init);
This page took 0.032478 seconds and 6 git commands to generate.