aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips/ralink/rt288x/devices.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt288x/devices.h')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt288x/devices.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/devices.h b/target/linux/ramips/files/arch/mips/ralink/rt288x/devices.h
new file mode 100644
index 000000000..d097e5d90
--- /dev/null
+++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/devices.h
@@ -0,0 +1,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 */