2 * Ralink RT305x SoC specific platform device definitions
4 * Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
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.
11 #ifndef __RT305X_DEVICES_H
12 #define __RT305X_DEVICES_H
14 #include <asm/mach-ralink/rt305x_esw_platform.h>
16 struct physmap_flash_data;
17 struct spi_board_info;
19 extern struct physmap_flash_data rt305x_flash0_data;
20 extern struct physmap_flash_data rt305x_flash1_data;
22 extern struct rt305x_esw_platform_data rt305x_esw_data;
24 void rt305x_register_flash(unsigned int id);
25 void rt305x_register_ethernet(void);
26 void rt305x_register_wifi(void);
27 void rt305x_register_wdt(void);
28 void rt305x_register_spi(struct spi_board_info *info, int n);
29 void rt305x_register_usb(void);
31 #endif /* __RT305X_DEVICES_H */