[SCSI] Merge tag 'fcoe-02-19-13' into for-linus
[deliverable/linux.git] / arch / arm / mach-kirkwood / board-dreamplug.c
1 /*
2 * Copyright 2012 (C), Jason Cooper <jason@lakedaemon.net>
3 *
4 * arch/arm/mach-kirkwood/board-dreamplug.c
5 *
6 * Marvell DreamPlug Reference Board Init for drivers not converted to
7 * flattened device tree yet.
8 *
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
12 */
13
14 #include <linux/kernel.h>
15 #include <linux/init.h>
16 #include <linux/mv643xx_eth.h>
17 #include <linux/gpio.h>
18 #include <linux/platform_data/mmc-mvsdio.h>
19 #include "common.h"
20
21 static struct mv643xx_eth_platform_data dreamplug_ge00_data = {
22 .phy_addr = MV643XX_ETH_PHY_ADDR(0),
23 };
24
25 static struct mv643xx_eth_platform_data dreamplug_ge01_data = {
26 .phy_addr = MV643XX_ETH_PHY_ADDR(1),
27 };
28
29 static struct mvsdio_platform_data dreamplug_mvsdio_data = {
30 /* unfortunately the CD signal has not been connected */
31 };
32
33 void __init dreamplug_init(void)
34 {
35 /*
36 * Basic setup. Needs to be called early.
37 */
38 kirkwood_ge00_init(&dreamplug_ge00_data);
39 kirkwood_ge01_init(&dreamplug_ge01_data);
40 kirkwood_sdio_init(&dreamplug_mvsdio_data);
41 }
This page took 0.032621 seconds and 6 git commands to generate.