summaryrefslogtreecommitdiff
path: root/target/linux/ramips/files/arch/mips/ralink/rt288x/devices.h
blob: d097e5d90e1f8f9be4157796013e00cb498aa850 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Ralink RT288x SoC specific platform definitions
 *
 * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
 * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
 *
 * 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 __ASM_MACH_RT288X_PLATFORM_H
#define __ASM_MACH_RT288X_PLATFORM_H

struct physmap_flash_data;

extern struct physmap_flash_data rt288x_flash0_data;
extern struct physmap_flash_data rt288x_flash1_data;
void rt288x_register_flash(unsigned int id);

void rt288x_register_wifi(void);

extern struct ramips_eth_platform_data rt288x_eth_data;
void rt288x_register_ethernet(void);

void rt288x_register_wdt(void);

#endif  /* __ASM_MACH_RT288X_PLATFORM_H */