aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-13 15:17:59 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-13 15:17:59 +0000
commit6ae4d22d3a655b5e6e4ed1bbdbfa06cf0b02a466 (patch)
tree8b0dcffac18eab34d3c77f4f4f388faf65fdb093 /target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h
parentd8b9f7be43a3373224f4f297300ffec4ae3df651 (diff)
downloadupstream-6ae4d22d3a655b5e6e4ed1bbdbfa06cf0b02a466.tar.gz
upstream-6ae4d22d3a655b5e6e4ed1bbdbfa06cf0b02a466.tar.bz2
upstream-6ae4d22d3a655b5e6e4ed1bbdbfa06cf0b02a466.zip
ramips: add preliminary support for the RT3662/RT3883 SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30495 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h')
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h b/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h
new file mode 100644
index 0000000000..4b460e3555
--- /dev/null
+++ b/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.h
@@ -0,0 +1,29 @@
+/*
+ * Ralink RT3662/3883 SoC specific platform device definitions
+ *
+ * Copyright (C) 2011-2012 Gabor Juhos <juhosg@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 _RT3883_DEVICES_H
+#define _RT3883_DEVICES_H
+
+struct physmap_flash_data;
+
+extern struct physmap_flash_data rt3883_flash0_data;
+extern struct physmap_flash_data rt3883_flash1_data;
+void rt3883_register_pflash(unsigned int id);
+
+struct mtd_partition;
+void rt3883_register_nand(struct mtd_partition *parts, int nr_parts);
+
+extern struct ramips_eth_platform_data rt3883_eth_data;
+void rt3883_register_ethernet(void);
+void rt3883_register_usbhost(void);
+void rt3883_register_wlan(void);
+void rt3883_register_wdt(bool enable_reset);
+
+#endif /* _RT3883_DEVICES_H */