Sebastian Hesselbarth | dd88db7 | 2012-08-14 22:43:41 +0200 | [diff] [blame] | 1 | /* |
| 2 | * arch/arm/mach-kirkwood/board-dockstar.c |
| 3 | * |
| 4 | * Seagate FreeAgent Dockstar Board Init for drivers not converted to |
| 5 | * flattened device tree yet. |
| 6 | * |
| 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. |
| 10 | * |
| 11 | * Copied and modified for Seagate GoFlex Net support by |
| 12 | * Joshua Coombs <josh.coombs@gmail.com> based on ArchLinux ARM's |
| 13 | * GoFlex kernel patches. |
| 14 | * |
| 15 | */ |
| 16 | |
| 17 | #include <linux/kernel.h> |
| 18 | #include <linux/init.h> |
Sebastian Hesselbarth | dd88db7 | 2012-08-14 22:43:41 +0200 | [diff] [blame] | 19 | #include <linux/mv643xx_eth.h> |
Sebastian Hesselbarth | dd88db7 | 2012-08-14 22:43:41 +0200 | [diff] [blame] | 20 | #include "common.h" |
Sebastian Hesselbarth | dd88db7 | 2012-08-14 22:43:41 +0200 | [diff] [blame] | 21 | |
| 22 | static struct mv643xx_eth_platform_data dockstar_ge00_data = { |
| 23 | .phy_addr = MV643XX_ETH_PHY_ADDR(0), |
| 24 | }; |
| 25 | |
Sebastian Hesselbarth | dd88db7 | 2012-08-14 22:43:41 +0200 | [diff] [blame] | 26 | void __init dockstar_dt_init(void) |
| 27 | { |
| 28 | /* |
| 29 | * Basic setup. Needs to be called early. |
| 30 | */ |
Sebastian Hesselbarth | dd88db7 | 2012-08-14 22:43:41 +0200 | [diff] [blame] | 31 | kirkwood_ge00_init(&dockstar_ge00_data); |
| 32 | } |