summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/iomap.h
diff options
context:
space:
mode:
authorRavindra Lokhande <rlokhande@nvidia.com>2012-03-05 12:39:03 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:47:13 -0700
commit84eff411d19846d63fe13c297853428598936fa1 (patch)
tree3529dcd6e063a555e9de2d179c7786b83b2cdc51 /arch/arm/mach-tegra/iomap.h
parentacf6caab5d331df8f64c8b499da68dbc228a4a5c (diff)
ARM: tegra: dolak_sim: update audio base addresses
Base addresses and sizes for audio modules are changed for 14x. Change-Id: Ie71c65eac71a63c7b5ffe7d637c8a4194821c4fb Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/87660 Tested-by: Ankit Gupta (Engrg-SW) <ankitgupta@nvidia.com> Reviewed-by: Ankit Gupta (Engrg-SW) <ankitgupta@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com> (cherry picked from commit c8e3aece7b922897c8fa7209b36d4cdb124015e7) (cherry picked from commit 78c4f5ca4b83eb8fd57da738a2e0090ca859c629) (cherry picked from commit 3f051a3462a098f3a58b32f35613ede2585f1ca7) Reviewed-on: http://git-master/r/116267 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com> Tested-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/iomap.h')
-rw-r--r--arch/arm/mach-tegra/iomap.h86
1 files changed, 85 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/iomap.h b/arch/arm/mach-tegra/iomap.h
index 525a17d4b784..502d2f271184 100644
--- a/arch/arm/mach-tegra/iomap.h
+++ b/arch/arm/mach-tegra/iomap.h
@@ -311,6 +311,90 @@
#define TEGRA_HDA_BASE 0x70030000
#define TEGRA_HDA_SIZE SZ_64K
+#if defined(CONFIG_ARCH_TEGRA_14x_SOC)
+#define TEGRA_AUDIO_CLUSTER_BASE 0x70300000
+#define TEGRA_AUDIO_CLUSTER_SIZE SZ_64K
+
+#define TEGRA_APBIF0_BASE TEGRA_AUDIO_CLUSTER_BASE
+#define TEGRA_APBIF0_SIZE 32
+
+#define TEGRA_APBIF1_BASE 0x70300020
+#define TEGRA_APBIF1_SIZE 32
+
+#define TEGRA_APBIF2_BASE 0x70300040
+#define TEGRA_APBIF2_SIZE 32
+
+#define TEGRA_APBIF3_BASE 0x70300060
+#define TEGRA_APBIF3_SIZE 32
+
+#define TEGRA_AHUB_BASE 0x70300800
+#define TEGRA_AHUB_SIZE SZ_2K
+
+#define TEGRA_I2S0_BASE 0x70301000
+#define TEGRA_I2S0_SIZE SZ_256
+
+#define TEGRA_I2S1_BASE 0x70301100
+#define TEGRA_I2S1_SIZE SZ_256
+
+#define TEGRA_I2S2_BASE 0x70301200
+#define TEGRA_I2S2_SIZE SZ_256
+
+#define TEGRA_I2S3_BASE 0x70301300
+#define TEGRA_I2S3_SIZE SZ_256
+
+#define TEGRA_I2S4_BASE 0x70301400
+#define TEGRA_I2S4_SIZE SZ_256
+
+#define TEGRA_DAM0_BASE 0x70302000
+#define TEGRA_DAM0_SIZE SZ_512
+
+#define TEGRA_DAM1_BASE 0x70302200
+#define TEGRA_DAM1_SIZE SZ_512
+
+#define TEGRA_DAM2_BASE 0x70302400
+#define TEGRA_DAM2_SIZE SZ_512
+
+#define TEGRA_SPDIF_BASE 0x70306000
+#define TEGRA_SPDIF_SIZE SZ_256
+
+#define TEGRA_APBIF4_BASE 0x70300700
+#define TEGRA_APBIF4_SIZE 32
+
+#define TEGRA_APBIF5_BASE 0x70300720
+#define TEGRA_APBIF5_SIZE 32
+
+#define TEGRA_APBIF6_BASE 0x70300740
+#define TEGRA_APBIF6_SIZE 32
+
+#define TEGRA_APBIF7_BASE 0x70300760
+#define TEGRA_APBIF7_SIZE 32
+
+#define TEGRA_APBIF8_BASE 0x70300780
+#define TEGRA_APBIF8_SIZE 32
+
+#define TEGRA_APBIF9_BASE 0x703007A0
+#define TEGRA_APBIF9_SIZE 32
+
+#define TEGRA_AMX0_BASE 0x70303000
+#define TEGRA_AMX0_SIZE SZ_256
+
+#define TEGRA_AMX1_BASE 0x70303100
+#define TEGRA_AMX1_SIZE SZ_256
+
+#define TEGRA_ADX0_BASE 0x70303800
+#define TEGRA_ADX0_SIZE SZ_256
+
+#define TEGRA_ADX1_BASE 0x70303900
+#define TEGRA_ADX1_SIZE SZ_256
+
+#define TEGRA_DMIC0_BASE 0x70304000
+#define TEGRA_DMIC0_SIZE SZ_256
+
+#define TEGRA_DMIC1_BASE 0x70304100
+#define TEGRA_DMIC1_SIZE SZ_256
+
+#else
+
#define TEGRA_AUDIO_CLUSTER_BASE 0x70080000
#define TEGRA_AUDIO_CLUSTER_SIZE SZ_4K
@@ -381,7 +465,7 @@
#define TEGRA_APBIF9_BASE 0x700810A0
#define TEGRA_APBIF9_SIZE 32
-
+#endif
#endif
#endif