2009-08-30 22:15:51 +03:00
|
|
|
/*
|
|
|
|
* Ralink RT305x SoC specific platform device definitions
|
|
|
|
*
|
2011-01-26 22:48:33 +02:00
|
|
|
* Copyright (C) 2009-2011 Gabor Juhos <juhosg@openwrt.org>
|
2009-08-30 22:15:51 +03: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 12:15:00 +02:00
|
|
|
#include <asm/mach-ralink/rt305x_esw_platform.h>
|
|
|
|
|
2009-08-30 22:15:51 +03:00
|
|
|
struct physmap_flash_data;
|
2011-07-28 13:56:27 +03:00
|
|
|
struct spi_board_info;
|
2009-08-30 22:15:51 +03:00
|
|
|
|
2012-02-12 14:52:10 +02:00
|
|
|
extern struct physmap_flash_data rt305x_flash0_data;
|
|
|
|
extern struct physmap_flash_data rt305x_flash1_data;
|
|
|
|
|
2010-12-08 12:15:00 +02:00
|
|
|
extern struct rt305x_esw_platform_data rt305x_esw_data;
|
|
|
|
|
2012-02-12 14:52:10 +02:00
|
|
|
void rt305x_register_flash(unsigned int id);
|
2011-01-26 22:48:33 +02:00
|
|
|
void rt305x_register_ethernet(void);
|
|
|
|
void rt305x_register_wifi(void);
|
2011-01-26 22:48:46 +02:00
|
|
|
void rt305x_register_wdt(void);
|
2011-07-28 13:56:27 +03:00
|
|
|
void rt305x_register_spi(struct spi_board_info *info, int n);
|
2011-08-15 17:11:51 +03:00
|
|
|
void rt305x_register_usb(void);
|
2009-08-30 22:15:51 +03:00
|
|
|
|
|
|
|
#endif /* __RT305X_DEVICES_H */
|
|
|
|
|