MSCC: add support for Ocelot SoCs
[platform/kernel/u-boot.git] / arch / mips / mach-mscc / Kconfig
1 # SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2
3 menu "MSCC VCore-III platforms"
4         depends on ARCH_MSCC
5
6 config SOC_VCOREIII
7         select MIPS_TUNE_24KC
8         select ROM_EXCEPTION_VECTORS
9         select SUPPORTS_BIG_ENDIAN
10         select SUPPORTS_CPU_MIPS32_R1
11         select SUPPORTS_CPU_MIPS32_R2
12         select SUPPORTS_LITTLE_ENDIAN
13         bool
14
15 config SYS_SOC
16         default "mscc"
17
18 config SOC_OCELOT
19         bool
20         select SOC_VCOREIII
21         help
22           This supports MSCC Ocelot family of SOCs.
23
24 config SYS_CONFIG_NAME
25         default "vcoreiii"
26
27 choice
28         prompt "Board select"
29
30 config TARGET_OCELOT_PCB120
31         bool "MSCC PCB120 Reference Board (aka VSC5635EV)"
32         select SOC_OCELOT
33         help
34           When selected, CONFIG_DEFAULT_DEVICE_TREE should be set to
35           ocelot_pcb120
36
37 config TARGET_OCELOT_PCB123
38         bool "MSCC PCB123 Reference Board (aka VSC7514EV))"
39         select SOC_OCELOT
40         help
41           When selected, CONFIG_DEFAULT_DEVICE_TREE should be set to
42           ocelot_pcb123
43
44 endchoice
45
46 choice
47         prompt "DDR type"
48
49 config DDRTYPE_H5TQ4G63MFR
50         bool "Hynix H5TQ4G63MFR-PBC (4Gbit, DDR3-800, 256Mbitx16)"
51
52 config DDRTYPE_MT41K256M16
53         bool "Micron MT41K256M16 (4Gbit, DDR3L-800, 256Mbitx16)"
54
55 config DDRTYPE_H5TQ1G63BFA
56         bool "Hynix H5TQ1G63BFA (1Gbit DDR3, x16)"
57
58 config DDRTYPE_MT41J128M16HA
59         bool "Micron MT41J128M16HA-15E:D (2Gbit DDR3, x16)"
60
61 config DDRTYPE_MT41K128M16JT
62         bool "Micron MT41K128M16JT-125 (2Gbit DDR3L, 128Mbitx16)"
63
64 config DDRTYPE_MT47H128M8HQ
65         bool "Micron MT47H128M8-3 (1Gbit, DDR-533@CL4 @ 4.80ns 16Mbisx8x8)"
66
67 endchoice
68
69 endmenu