summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/iomap.h
diff options
context:
space:
mode:
authorJay Agarwal <jagarwal@nvidia.com>2013-03-07 11:16:21 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:23:34 -0700
commit415cdb53efc2eb6845c3b35a83d6b0c741e555fd (patch)
treeb8cfdeef0be7aea5ceb36c25f8b0fa9724293fa2 /arch/arm/mach-tegra/iomap.h
parent258a812092da5298f247afdd9d140ceadacdc936 (diff)
ARM: tegra: pcie: Add T124 FPGA support
1. Change PCIe base address and adjust other allocations accordingly 2. Add PCIe root port Mastering 3. Modify clock clamping 4. Add code to reset FPGA PCIe Phy 5. Disable powergate & Pads PLL code for FPGA 6. Put T30 WARs under it's macro 7. Configure lanes in x2_x1 mode 8. Avoid legacy PAD programming for T124 Bug 1201008 Change-Id: Ie9702aec6033155834acf59452204c3402ea6de6 Signed-off-by: Jay Agarwal <jagarwal@nvidia.com> Reviewed-on: http://git-master/r/204219 Reviewed-by: Krishna Thota <kthota@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com> Conflicts: arch/arm/mach-tegra/include/mach/io.h
Diffstat (limited to 'arch/arm/mach-tegra/iomap.h')
-rw-r--r--arch/arm/mach-tegra/iomap.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/iomap.h b/arch/arm/mach-tegra/iomap.h
index 7f7052373434..47f89bd37ee9 100644
--- a/arch/arm/mach-tegra/iomap.h
+++ b/arch/arm/mach-tegra/iomap.h
@@ -867,13 +867,15 @@
#endif
#define IO_PPCS_SIZE SZ_1M
-#ifdef CONFIG_ARCH_TEGRA_2x_SOC
+#if defined(CONFIG_ARCH_TEGRA_2x_SOC)
#define IO_PCIE_PHYS 0x80000000
-#else
+#elif defined(CONFIG_ARCH_TEGRA_3x_SOC)
#define IO_PCIE_PHYS 0x00000000
+#else
+#define IO_PCIE_PHYS 0x01000000
#endif
#if defined(CONFIG_TEGRA_PCI)
-#define IO_PCIE_SIZE (SZ_16M * 3)
+#define IO_PCIE_SIZE (SZ_16M * 2)
#else
#define IO_PCIE_SIZE 0
#endif