| 1 | /* |
| 2 | * Mikrotik RouterBOARD 1xx series support |
| 3 | * |
| 4 | * Copyright (C) 2007-2008 Gabor Juhos <juhosg@openwrt.org> |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify it |
| 7 | * under the terms of the GNU General Public License version 2 as published |
| 8 | * by the Free Software Foundation. |
| 9 | * |
| 10 | */ |
| 11 | |
| 12 | #include <linux/kernel.h> |
| 13 | #include <linux/init.h> |
| 14 | #include <linux/delay.h> |
| 15 | #include <linux/gpio.h> |
| 16 | #include <linux/irq.h> |
| 17 | #include <linux/etherdevice.h> |
| 18 | |
| 19 | #include <asm/mips_machine.h> |
| 20 | |
| 21 | #include <asm/mach-adm5120/adm5120_defs.h> |
| 22 | #include <asm/mach-adm5120/adm5120_nand.h> |
| 23 | #include <asm/mach-adm5120/adm5120_platform.h> |
| 24 | #include <asm/mach-adm5120/adm5120_info.h> |
| 25 | |
| 26 | #include <prom/routerboot.h> |
| 27 | |
| 28 | extern struct platform_nand_data rb1xx_nand_data __initdata; |
| 29 | extern struct gpio_keys_button rb1xx_gpio_buttons[] __initdata; |
| 30 | |
| 31 | extern void rb1xx_add_device_flash(void) __init; |
| 32 | extern void rb1xx_add_device_nand(void) __init; |
| 33 | extern void rb1xx_generic_setup(void) __init; |
| 34 | |