2009-08-30 19:15:51 +00:00
|
|
|
/*
|
|
|
|
* Ralink RT305x SoC specific platform device definitions
|
|
|
|
*
|
2011-01-26 20:48:33 +00:00
|
|
|
* Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
|
2009-08-30 19:15:51 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
|
|
* by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __RT305X_DEVICES_H
|
|
|
|
#define __RT305X_DEVICES_H
|
|
|
|
|
2010-12-08 10:15:00 +00:00
|
|
|
#include <asm/mach-ralink/rt305x_esw_platform.h>
|
|
|
|
|
2009-08-30 19:15:51 +00:00
|
|
|
struct physmap_flash_data;
|
2011-07-28 10:56:27 +00:00
|
|
|
struct spi_board_info;
|
2009-08-30 19:15:51 +00:00
|
|
|
|
2010-12-08 10:15:00 +00:00
|
|
|
extern struct rt305x_esw_platform_data rt305x_esw_data;
|
|
|
|
|
2011-01-26 20:48:33 +00:00
|
|
|
void rt305x_register_flash(unsigned int id, struct physmap_flash_data *pdata);
|
|
|
|
void rt305x_register_ethernet(void);
|
|
|
|
void rt305x_register_wifi(void);
|
2011-01-26 20:48:46 +00:00
|
|
|
void rt305x_register_wdt(void);
|
2011-07-28 10:56:27 +00:00
|
|
|
void rt305x_register_spi(struct spi_board_info *info, int n);
|
2009-08-30 19:15:51 +00:00
|
|
|
|
|
|
|
#endif /* __RT305X_DEVICES_H */
|
|
|
|
|