diff options
author | John Crispin <blogic@openwrt.org> | 2011-05-05 18:10:02 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-05-19 04:55:43 -0400 |
commit | f1f0ceaada9d040a41023017c87abb1d651b44af (patch) | |
tree | 601bf652689dc79a331ce1761853fcbc8cf6855e /arch/mips/lantiq | |
parent | 504d4721ee8e432af4b5f196a08af38bc4dac5fe (diff) |
MIPS: Lantiq: Add etop board support
Register the etop platform device inside the machtype specific init code.
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Ralph Hempel <ralph.hempel@lantiq.com>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2356/
Patchwork: https://patchwork.linux-mips.org/patch/2370/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/lantiq')
-rw-r--r-- | arch/mips/lantiq/xway/mach-easy50712.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/lantiq/xway/mach-easy50712.c b/arch/mips/lantiq/xway/mach-easy50712.c index e5e7e09b7c14..ea5027b3239d 100644 --- a/arch/mips/lantiq/xway/mach-easy50712.c +++ b/arch/mips/lantiq/xway/mach-easy50712.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/mtd/partitions.h> | 12 | #include <linux/mtd/partitions.h> |
13 | #include <linux/mtd/physmap.h> | 13 | #include <linux/mtd/physmap.h> |
14 | #include <linux/input.h> | 14 | #include <linux/input.h> |
15 | #include <linux/phy.h> | ||
15 | 16 | ||
16 | #include <lantiq_soc.h> | 17 | #include <lantiq_soc.h> |
17 | #include <irq.h> | 18 | #include <irq.h> |
@@ -55,11 +56,16 @@ static struct ltq_pci_data ltq_pci_data = { | |||
55 | }, | 56 | }, |
56 | }; | 57 | }; |
57 | 58 | ||
59 | static struct ltq_eth_data ltq_eth_data = { | ||
60 | .mii_mode = PHY_INTERFACE_MODE_MII, | ||
61 | }; | ||
62 | |||
58 | static void __init easy50712_init(void) | 63 | static void __init easy50712_init(void) |
59 | { | 64 | { |
60 | ltq_register_gpio_stp(); | 65 | ltq_register_gpio_stp(); |
61 | ltq_register_nor(&easy50712_flash_data); | 66 | ltq_register_nor(&easy50712_flash_data); |
62 | ltq_register_pci(<q_pci_data); | 67 | ltq_register_pci(<q_pci_data); |
68 | ltq_register_etop(<q_eth_data); | ||
63 | } | 69 | } |
64 | 70 | ||
65 | MIPS_MACHINE(LTQ_MACH_EASY50712, | 71 | MIPS_MACHINE(LTQ_MACH_EASY50712, |