ramips: define GPIO chips separately for each SoCs
[openwrt.git] / target / linux / ramips / files / arch / mips / ralink / rt305x / devices.h
1 /*
2  * Ralink RT305x SoC specific platform device definitions
3  *
4  * Copyright (C) 2009-2011 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 __RT305X_DEVICES_H
12 #define __RT305X_DEVICES_H
13
14 #include <asm/mach-ralink/rt305x_esw_platform.h>
15
16 struct physmap_flash_data;
17
18 extern struct rt305x_esw_platform_data rt305x_esw_data;
19
20 void rt305x_register_flash(unsigned int id, struct physmap_flash_data *pdata);
21 void rt305x_register_ethernet(void);
22 void rt305x_register_wifi(void);
23 void rt305x_register_wdt(void);
24
25 #endif  /* __RT305X_DEVICES_H */
26