Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Tom Warren | f80dd82 | 2015-02-02 13:22:29 -0700 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2013-2015 |
| 4 | * NVIDIA Corporation <www.nvidia.com> |
Tom Warren | f80dd82 | 2015-02-02 13:22:29 -0700 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef _TEGRA210_TEGRA_H_ |
| 8 | #define _TEGRA210_TEGRA_H_ |
| 9 | |
| 10 | #define GICD_BASE 0x50041000 /* Generic Int Cntrlr Distrib */ |
| 11 | #define GICC_BASE 0x50042000 /* Generic Int Cntrlr CPU I/F */ |
| 12 | #define NV_PA_AHB_BASE 0x6000C000 /* System regs (AHB, etc.) */ |
| 13 | #define NV_PA_TSC_BASE 0x700F0000 /* System Counter TSC regs */ |
| 14 | #define NV_PA_MC_BASE 0x70019000 /* Mem Ctlr regs (MCB, etc.) */ |
| 15 | #define NV_PA_SDRAM_BASE 0x80000000 |
| 16 | |
| 17 | #include <asm/arch-tegra/tegra.h> |
| 18 | |
| 19 | #define BCT_ODMDATA_OFFSET 1288 /* offset to ODMDATA word */ |
| 20 | |
| 21 | #undef NVBOOTINFOTABLE_BCTSIZE |
| 22 | #undef NVBOOTINFOTABLE_BCTPTR |
| 23 | #define NVBOOTINFOTABLE_BCTSIZE 0x48 /* BCT size in BIT in IRAM */ |
| 24 | #define NVBOOTINFOTABLE_BCTPTR 0x4C /* BCT pointer in BIT in IRAM */ |
| 25 | |
| 26 | #define MAX_NUM_CPU 4 |
| 27 | #define MCB_EMEM_ARB_OVERRIDE (NV_PA_MC_BASE + 0xE8) |
| 28 | |
| 29 | #define TEGRA_USB1_BASE 0x7D000000 |
| 30 | |
| 31 | #endif /* _TEGRA210_TEGRA_H_ */ |