Commit | Line | Data |
---|---|---|
767fc1ea JC |
1 | /* |
2 | * Copyright 2012 (C), Jason Cooper <jason@lakedaemon.net> | |
3 | * | |
4 | * arch/arm/mach-kirkwood/board-usi_topkick.c | |
5 | * | |
6 | * USI Topkick Init for drivers not converted to flattened device tree yet. | |
7 | * | |
8 | * This file is licensed under the terms of the GNU General Public | |
9 | * License version 2. This program is licensed "as is" without any | |
10 | * warranty of any kind, whether express or implied. | |
11 | */ | |
12 | ||
13 | #include <linux/kernel.h> | |
14 | #include <linux/init.h> | |
15 | #include <linux/mv643xx_eth.h> | |
16 | #include <linux/gpio.h> | |
767fc1ea | 17 | #include "common.h" |
767fc1ea JC |
18 | |
19 | static struct mv643xx_eth_platform_data topkick_ge00_data = { | |
20 | .phy_addr = MV643XX_ETH_PHY_ADDR(0), | |
21 | }; | |
22 | ||
767fc1ea JC |
23 | void __init usi_topkick_init(void) |
24 | { | |
25 | /* | |
26 | * Basic setup. Needs to be called early. | |
27 | */ | |
767fc1ea | 28 | kirkwood_ge00_init(&topkick_ge00_data); |
767fc1ea | 29 | } |