2 * arch/arm/mach-kirkwood/board-guruplug.c
4 * Marvell Guruplug Reference Board Init for drivers not converted to
5 * flattened device tree yet.
7 * This file is licensed under the terms of the GNU General Public
8 * License version 2. This program is licensed "as is" without any
9 * warranty of any kind, whether express or implied.
12 #include <linux/kernel.h>
13 #include <linux/init.h>
14 #include <linux/mv643xx_eth.h>
15 #include <linux/gpio.h>
18 static struct mv643xx_eth_platform_data guruplug_ge00_data
= {
19 .phy_addr
= MV643XX_ETH_PHY_ADDR(0),
22 static struct mv643xx_eth_platform_data guruplug_ge01_data
= {
23 .phy_addr
= MV643XX_ETH_PHY_ADDR(1),
26 void __init
guruplug_dt_init(void)
29 * Basic setup. Needs to be called early.
31 kirkwood_ge00_init(&guruplug_ge00_data
);
32 kirkwood_ge01_init(&guruplug_ge01_data
);