diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-07-17 07:07:51 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:26:12 -0400 |
commit | 83ccf69d8f118306e90af703f32109edb6c1e4a1 (patch) | |
tree | 4fbbfdf6e9f57eeafd2b79d11b2208ba915c5f29 /arch/mips/include/asm/cpu.h | |
parent | babba4f11379fb3804de802a3d0bc6b96c59d547 (diff) |
MIPS: JZ4740: Add base support for Ingenic JZ4740 System-on-a-Chip
Adds a new cpu type for the JZ4740 to the Linux MIPS architecture code.
It also adds the iomem addresses for the different components found on
a JZ4740 SoC.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1464/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/cpu.h')
-rw-r--r-- | arch/mips/include/asm/cpu.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h index a5acda416946..b201a8f5b127 100644 --- a/arch/mips/include/asm/cpu.h +++ b/arch/mips/include/asm/cpu.h | |||
@@ -34,7 +34,7 @@ | |||
34 | #define PRID_COMP_LSI 0x080000 | 34 | #define PRID_COMP_LSI 0x080000 |
35 | #define PRID_COMP_LEXRA 0x0b0000 | 35 | #define PRID_COMP_LEXRA 0x0b0000 |
36 | #define PRID_COMP_CAVIUM 0x0d0000 | 36 | #define PRID_COMP_CAVIUM 0x0d0000 |
37 | 37 | #define PRID_COMP_INGENIC 0xd00000 | |
38 | 38 | ||
39 | /* | 39 | /* |
40 | * Assigned values for the product ID register. In order to detect a | 40 | * Assigned values for the product ID register. In order to detect a |
@@ -133,6 +133,12 @@ | |||
133 | #define PRID_IMP_CAVIUM_CN52XX 0x0700 | 133 | #define PRID_IMP_CAVIUM_CN52XX 0x0700 |
134 | 134 | ||
135 | /* | 135 | /* |
136 | * These are the PRID's for when 23:16 == PRID_COMP_INGENIC | ||
137 | */ | ||
138 | |||
139 | #define PRID_IMP_JZRISC 0x0200 | ||
140 | |||
141 | /* | ||
136 | * Definitions for 7:0 on legacy processors | 142 | * Definitions for 7:0 on legacy processors |
137 | */ | 143 | */ |
138 | 144 | ||
@@ -219,6 +225,7 @@ enum cpu_type_enum { | |||
219 | CPU_4KC, CPU_4KEC, CPU_4KSC, CPU_24K, CPU_34K, CPU_1004K, CPU_74K, | 225 | CPU_4KC, CPU_4KEC, CPU_4KSC, CPU_24K, CPU_34K, CPU_1004K, CPU_74K, |
220 | CPU_ALCHEMY, CPU_PR4450, CPU_BCM3302, CPU_BCM4710, | 226 | CPU_ALCHEMY, CPU_PR4450, CPU_BCM3302, CPU_BCM4710, |
221 | CPU_BCM6338, CPU_BCM6345, CPU_BCM6348, CPU_BCM6358, | 227 | CPU_BCM6338, CPU_BCM6345, CPU_BCM6348, CPU_BCM6358, |
228 | CPU_JZRISC, | ||
222 | 229 | ||
223 | /* | 230 | /* |
224 | * MIPS64 class processors | 231 | * MIPS64 class processors |