summaryrefslogtreecommitdiff
path: root/arch/arm/mach-nspire/mmio.h
diff options
context:
space:
mode:
authorDaniel Tang <dt.tangr@gmail.com>2013-06-11 18:40:17 +1000
committerArnd Bergmann <arnd@arndb.de>2013-06-21 20:06:30 +0200
commit9851ca5774e693e2088a4b34ad456cfaadaf29a7 (patch)
treefcfbad2c06f5a4ee0181a34b62bbbe06d1c3195f /arch/arm/mach-nspire/mmio.h
parentd907849e0dbaeacb34e0a6a3b49ebeaf8c49355e (diff)
arm: Add Initial TI-Nspire support
This patch adds support for the TI-Nspire platform. Changes between v1 and v2: * Added GENERIC_IRQ_CHIP to platform Kconfig Signed-off-by: Daniel Tang <dt.tangr@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-nspire/mmio.h')
-rw-r--r--arch/arm/mach-nspire/mmio.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-nspire/mmio.h b/arch/arm/mach-nspire/mmio.h
new file mode 100644
index 000000000000..8813471af4cf
--- /dev/null
+++ b/arch/arm/mach-nspire/mmio.h
@@ -0,0 +1,20 @@
+/*
+ * linux/arch/arm/mach-nspire/mmio.h
+ *
+ * Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au>
+ *
+ * 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.
+ *
+ */
+
+#define NSPIRE_MISC_PHYS_BASE 0x900A0000
+#define NSPIRE_MISC_HWRESET 0x08
+
+#define NSPIRE_PWR_PHYS_BASE 0x900B0000
+#define NSPIRE_PWR_VIRT_BASE 0xFEEB0000
+#define NSPIRE_PWR_BUS_DISABLE1 0x18
+#define NSPIRE_PWR_BUS_DISABLE2 0x20
+
+#define NSPIRE_LCD_PHYS_BASE 0xC0000000