4b460e3555b2a41cb3f243d6912f0c6d4c7ba324
[openwrt.git] / target / linux / ramips / files / 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
16 extern struct physmap_flash_data rt3883_flash0_data;
17 extern struct physmap_flash_data rt3883_flash1_data;
18 void rt3883_register_pflash(unsigned int id);
19
20 struct mtd_partition;
21 void rt3883_register_nand(struct mtd_partition *parts, int nr_parts);
22
23 extern struct ramips_eth_platform_data rt3883_eth_data;
24 void rt3883_register_ethernet(void);
25 void rt3883_register_usbhost(void);
26 void rt3883_register_wlan(void);
27 void rt3883_register_wdt(bool enable_reset);
28
29 #endif  /* _RT3883_DEVICES_H */