1 From 72a9b536ef81f06bb8042abee0410458f5df93d2 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Fri, 6 May 2011 00:10:02 +0200
4 Subject: [PATCH 12/13] MIPS: Lantiq: Add etop board support
6 Register the etop platform device inside the machtype specific init code.
8 Signed-off-by: John Crispin <blogic@openwrt.org>
9 Signed-off-by: Ralph Hempel <ralph.hempel@lantiq.com>
10 Signed-off-by: David Daney <ddaney@caviumnetworks.com>
11 Cc: linux-mips@linux-mips.org
12 Patchwork: https://patchwork.linux-mips.org/patch/2356/
13 Patchwork: https://patchwork.linux-mips.org/patch/2370/
14 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 arch/mips/lantiq/xway/mach-easy50712.c | 6 ++++++
17 1 files changed, 6 insertions(+), 0 deletions(-)
19 diff --git a/arch/mips/lantiq/xway/mach-easy50712.c b/arch/mips/lantiq/xway/mach-easy50712.c
20 index e5e7e09..ea5027b 100644
21 --- a/arch/mips/lantiq/xway/mach-easy50712.c
22 +++ b/arch/mips/lantiq/xway/mach-easy50712.c
24 #include <linux/mtd/partitions.h>
25 #include <linux/mtd/physmap.h>
26 #include <linux/input.h>
27 +#include <linux/phy.h>
29 #include <lantiq_soc.h>
31 @@ -55,11 +56,16 @@ static struct ltq_pci_data ltq_pci_data = {
35 +static struct ltq_eth_data ltq_eth_data = {
36 + .mii_mode = PHY_INTERFACE_MODE_MII,
39 static void __init easy50712_init(void)
41 ltq_register_gpio_stp();
42 ltq_register_nor(&easy50712_flash_data);
43 ltq_register_pci(<q_pci_data);
44 + ltq_register_etop(<q_eth_data);
47 MIPS_MACHINE(LTQ_MACH_EASY50712,