diff options
author | Simon Baatz <gmbnomis@gmail.com> | 2013-05-13 23:19:01 +0200 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-05-15 00:33:18 +0000 |
commit | 193da78bec1b510ab0a743348a7e9a2c24766268 (patch) | |
tree | d055842ac8b7c9b369b807d9ff8bc174103c25bf /arch/arm/mach-kirkwood/board-sheevaplug.c | |
parent | f722406faae2d073cc1d01063d1123c35425939e (diff) |
ARM: Kirkwood: add DT support for Sheevaplug and Sheevaplug eSATA
Signed-off-by: Simon Baatz <gmbnomis@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood/board-sheevaplug.c')
-rw-r--r-- | arch/arm/mach-kirkwood/board-sheevaplug.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/mach-kirkwood/board-sheevaplug.c b/arch/arm/mach-kirkwood/board-sheevaplug.c new file mode 100644 index 00000000000..fa389373ca7 --- /dev/null +++ b/arch/arm/mach-kirkwood/board-sheevaplug.c @@ -0,0 +1,27 @@ +/* + * arch/arm/mach-kirkwood/board-sheevaplug.c + * + * Marvell Sheevaplug Reference Board Init for drivers not converted to + * flattened device tree yet. + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. + */ + +#include <linux/kernel.h> +#include <linux/init.h> +#include <linux/mv643xx_eth.h> +#include "common.h" + +static struct mv643xx_eth_platform_data sheevaplug_ge00_data = { + .phy_addr = MV643XX_ETH_PHY_ADDR(0), +}; + +void __init sheevaplug_dt_init(void) +{ + /* + * Basic setup. Needs to be called early. + */ + kirkwood_ge00_init(&sheevaplug_ge00_data); +} |