summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-enterprise.h
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-05-26 13:55:49 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:46:02 -0800
commit9c91ea3b72deac6faf76de0e46f5afdb77e3f7b9 (patch)
treead15b495bce4cc05837ddc3916be37131715196e /arch/arm/mach-tegra/board-enterprise.h
parent01ea10b1310670383ae0d97f365313ef134e5d10 (diff)
arm: tegra: enterprise: Updating power rail info for TPS80031
There is independent driver for the pmu tps80031 and so updating the power rail information based on this driver. Also registering the tps80031 device. bug 830904 Change-Id: I98b6ed382dd8b849bd44015f2a2e39e7326cd4a9 Reviewed-on: http://git-master/r/32958 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com> Rebase-Id: R6af201cae368b97e658f6eff8851760f77cebe2d
Diffstat (limited to 'arch/arm/mach-tegra/board-enterprise.h')
-rw-r--r--arch/arm/mach-tegra/board-enterprise.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise.h b/arch/arm/mach-tegra/board-enterprise.h
index 1d14067e7038..e7a4ebfdf3f7 100644
--- a/arch/arm/mach-tegra/board-enterprise.h
+++ b/arch/arm/mach-tegra/board-enterprise.h
@@ -40,4 +40,17 @@ int enterprise_baseband_init(void);
#define TOUCH_GPIO_RST_ATMEL_T9 TEGRA_GPIO_PH6
#endif
+/*****************External GPIO tables ******************/
+/* External peripheral gpio base. */
+#define TPS80031_GPIO_BASE TEGRA_NR_GPIOS
+#define TPS80031_GPIO_REGEN1 (TPS80031_GPIO_BASE + 0)
+#define TPS80031_GPIO_REGEN2 (TPS80031_GPIO_BASE + 1)
+#define TPS80031_GPIO_SYSEN (TPS80031_GPIO_BASE + 2)
+#define TPS80031_GPIO_END (TPS80031_GPIO_BASE + 3)
+
+/*****************External Interrupt tables ******************/
+/* External peripheral irq base */
+#define TPS80031_IRQ_BASE TEGRA_NR_IRQS
+#define TPS80031_IRQ_END (TPS80031_IRQ_BASE + 24)
+
#endif