diff options
author | Colin Cross <ccross@android.com> | 2010-07-27 21:34:38 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2010-10-21 18:11:24 -0700 |
commit | c231d6976a161ae7b5b3aba4a1821b2e9c00c02c (patch) | |
tree | 4c831bd313e1c29144afe3b5d2d5f9fd653348b9 /arch/arm/mach-tegra/include/mach/io.h | |
parent | b5153163ed580e00c67bdfecb02b2e3843817b3e (diff) | |
download | lwn-c231d6976a161ae7b5b3aba4a1821b2e9c00c02c.tar.gz lwn-c231d6976a161ae7b5b3aba4a1821b2e9c00c02c.zip |
[ARM] tegra: update iomap
Add missing io address map entries from datasheet.
Add the IRAM area to the statically mapped io regions.
Correct the onewire, USB, and statmon addresses
Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/io.h')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/io.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/io.h b/arch/arm/mach-tegra/include/mach/io.h index 35edfc32ffc9..16f16189b5eb 100644 --- a/arch/arm/mach-tegra/include/mach/io.h +++ b/arch/arm/mach-tegra/include/mach/io.h @@ -33,6 +33,10 @@ * */ +#define IO_IRAM_PHYS 0x40000000 +#define IO_IRAM_VIRT 0xFE400000 +#define IO_IRAM_SIZE SZ_256K + #define IO_CPU_PHYS 0x50040000 #define IO_CPU_VIRT 0xFE000000 #define IO_CPU_SIZE SZ_16K @@ -55,6 +59,8 @@ IO_TO_VIRT_XLATE((n), IO_APB_PHYS, IO_APB_VIRT) : \ IO_TO_VIRT_BETWEEN((n), IO_CPU_PHYS, IO_CPU_SIZE) ? \ IO_TO_VIRT_XLATE((n), IO_CPU_PHYS, IO_CPU_VIRT) : \ + IO_TO_VIRT_BETWEEN((n), IO_IRAM_PHYS, IO_IRAM_SIZE) ? \ + IO_TO_VIRT_XLATE((n), IO_IRAM_PHYS, IO_IRAM_VIRT) : \ 0) #ifndef __ASSEMBLER__ |