ramips: properly setup the FEATURES variable
[openwrt.git] / target / linux / ramips / files-3.7 / arch / mips / ralink / rt3883 / devices.h
1 /*
2  * Ralink RT3662/3883 SoC specific platform device definitions
3  *
4  * Copyright (C) 2011-2012 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 #ifndef _RT3883_DEVICES_H
12 #define _RT3883_DEVICES_H
13
14 struct physmap_flash_data;
15 struct spi_board_info;
16
17 extern struct physmap_flash_data rt3883_flash0_data;
18 extern struct physmap_flash_data rt3883_flash1_data;
19 void rt3883_register_pflash(unsigned int id);
20
21 extern struct ramips_nand_platform_data rt3883_nand_data;
22 void rt3883_register_nand(void);
23
24 extern struct ramips_eth_platform_data rt3883_eth_data;
25 void rt3883_register_ethernet(void);
26 void rt3883_register_usbhost(void);
27
28 extern struct rt2x00_platform_data rt3883_wlan_data;
29 void rt3883_register_wlan(void);
30 void rt3883_register_wdt(bool enable_reset);
31
32 void rt3883_register_spi(struct spi_board_info *info, int n);
33
34 #endif  /* _RT3883_DEVICES_H */