[ramips] add feature gpio
[openwrt/svn-archive/archive.git] / target / linux / ramips / files / arch / mips / ralink / rt288x / devices.h
1 /*
2 * Ralink RT288x SoC specific platform definitions
3 *
4 * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
5 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published
9 * by the Free Software Foundation.
10 */
11
12 #ifndef __ASM_MACH_RT288X_PLATFORM_H
13 #define __ASM_MACH_RT288X_PLATFORM_H
14
15 struct physmap_flash_data;
16
17 extern struct physmap_flash_data rt288x_flash0_data;
18 extern struct physmap_flash_data rt288x_flash1_data;
19 void rt288x_register_flash(unsigned int id);
20
21 void rt288x_register_wifi(void);
22
23 extern struct ramips_eth_platform_data rt288x_eth_data;
24 void rt288x_register_ethernet(void);
25
26 void rt288x_register_wdt(void);
27
28 #endif /* __ASM_MACH_RT288X_PLATFORM_H */