2 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU General Public License version 2 as published
4 * by the Free Software Foundation.
6 * Copyright (C) 2010 John Crispin <blogic@openwrt.org>
9 #include <linux/init.h>
10 #include <linux/platform_device.h>
11 #include <linux/mtd/mtd.h>
12 #include <linux/mtd/partitions.h>
13 #include <linux/mtd/physmap.h>
14 #include <linux/input.h>
15 #include <linux/phy.h>
17 #include <lantiq_soc.h>
20 #include "../machtypes.h"
23 static struct mtd_partition easy50712_partitions[] = {
41 static struct physmap_flash_data easy50712_flash_data = {
42 .nr_parts = ARRAY_SIZE(easy50712_partitions),
43 .parts = easy50712_partitions,
46 static struct ltq_pci_data ltq_pci_data = {
47 .clock = PCI_CLOCK_INT,
48 .gpio = PCI_GNT1 | PCI_REQ1,
50 [14] = INT_NUM_IM0_IRL0 + 22,
54 static struct ltq_eth_data ltq_eth_data = {
55 .mii_mode = PHY_INTERFACE_MODE_MII,
61 ltq_register_gpio_stp();
62 ltq_register_nor(&easy50712_flash_data);
63 ltq_register_pci(<q_pci_data);
64 ltq_register_etop(<q_eth_data);
68 MIPS_MACHINE(LTQ_MACH_EASY50712,
70 "EASY50712 Eval Board",