Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 (C), Simon Baatz <gmbnomis@gmail.com> |
| 3 | * |
| 4 | * arch/arm/mach-kirkwood/board-ib62x0.c |
| 5 | * |
| 6 | * RaidSonic ICY BOX IB-NAS6210 & IB-NAS6220 init for drivers not |
| 7 | * converted to 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> |
Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 16 | #include <linux/mv643xx_eth.h> |
Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 17 | #include <linux/input.h> |
Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 18 | #include "common.h" |
Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 19 | |
Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 20 | static struct mv643xx_eth_platform_data ib62x0_ge00_data = { |
| 21 | .phy_addr = MV643XX_ETH_PHY_ADDR(8), |
| 22 | }; |
| 23 | |
Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 24 | void __init ib62x0_init(void) |
| 25 | { |
| 26 | /* |
| 27 | * Basic setup. Needs to be called early. |
| 28 | */ |
Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 29 | kirkwood_ge00_init(&ib62x0_ge00_data); |
Simon Baatz | f552036 | 2012-04-30 23:55:17 +0200 | [diff] [blame] | 30 | } |