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>
18 #include "../machtypes.h"
21 static struct mtd_partition easy50601_partitions
[] = {
39 static struct physmap_flash_data easy50601_flash_data
= {
40 .nr_parts
= ARRAY_SIZE(easy50601_partitions
),
41 .parts
= easy50601_partitions
,
44 static struct ltq_eth_data ltq_eth_data
= {
45 .mii_mode
= -1, /* use EPHY */
48 static void __init
easy50601_init(void)
50 ltq_register_nor(&easy50601_flash_data
);
51 ltq_register_etop(<q_eth_data
);
54 MIPS_MACHINE(LTQ_MACH_EASY50601
,
56 "EASY50601 Eval Board",