blob: 1cc04ec33f0b77d2363694e62fa8f81a153716fe [file] [log] [blame]
Jason Cooper767fc1e2012-10-22 02:15:35 +00001/*
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>
Jason Cooper767fc1e2012-10-22 02:15:35 +000017#include "common.h"
Jason Cooper767fc1e2012-10-22 02:15:35 +000018
19static struct mv643xx_eth_platform_data topkick_ge00_data = {
20 .phy_addr = MV643XX_ETH_PHY_ADDR(0),
21};
22
Jason Cooper767fc1e2012-10-22 02:15:35 +000023void __init usi_topkick_init(void)
24{
25 /*
26 * Basic setup. Needs to be called early.
27 */
Jason Cooper767fc1e2012-10-22 02:15:35 +000028 kirkwood_ge00_init(&topkick_ge00_data);
Jason Cooper767fc1e2012-10-22 02:15:35 +000029}