blob: 2ebf8fc221d6875cf8bdb1f6ba4d65f81ad9c832 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "mpc83xx CPU"
2 depends on MPC83xx
3
Tom Rinif2428ac2022-03-24 17:18:01 -04004config E300
5 def_bool y
6
Masahiro Yamadadd840582014-07-30 14:08:14 +09007config SYS_CPU
Masahiro Yamadadd840582014-07-30 14:08:14 +09008 default "mpc83xx"
9
10choice
11 prompt "Target select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050012 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090013
Masahiro Yamadadd840582014-07-30 14:08:14 +090014config TARGET_MPC837XERDB
15 bool "Support MPC837XERDB"
Mario Six8439e992019-01-21 09:17:29 +010016 select ARCH_MPC837X
Simon Glassa5d67542017-01-23 13:31:20 -070017 select BOARD_EARLY_INIT_F
Masahiro Yamadadd840582014-07-30 14:08:14 +090018
19config TARGET_IDS8313
20 bool "Support ids8313"
Mario Six9403fc42019-01-21 09:17:25 +010021 select ARCH_MPC8313
Masahiro Yamada2ea4cfde2015-03-31 12:48:03 +090022 select DM
Michal Simek08a00cb2018-07-23 15:55:14 +020023 imply CMD_DM
Masahiro Yamadadd840582014-07-30 14:08:14 +090024
Mario Six009c87a2019-01-21 09:17:35 +010025config TARGET_KMETER1
26 bool "Support kmeter1"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020027 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010028 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six009c87a2019-01-21 09:17:35 +010029
30config TARGET_KMCOGE5NE
31 bool "Support kmcoge5ne"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020032 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010033 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadadd840582014-07-30 14:08:14 +090034
Mario Six0e0674f2019-01-21 09:17:30 +010035config TARGET_KMTEGR1
36 bool "Support kmtegr1"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020037 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010038 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadadd840582014-07-30 14:08:14 +090039
40config TARGET_TUXX1
41 bool "Support tuxx1"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020042 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010043 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadadd840582014-07-30 14:08:14 +090044
Mario Six71c79002019-01-21 09:17:33 +010045config TARGET_KMSUPX5
46 bool "Support kmsupx5"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020047 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010048 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six71c79002019-01-21 09:17:33 +010049
50config TARGET_TUGE1
51 bool "Support tuge1"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020052 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010053 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six71c79002019-01-21 09:17:33 +010054
55config TARGET_KMOPTI2
56 bool "Support kmopti2"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020057 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010058 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six71c79002019-01-21 09:17:33 +010059
60config TARGET_KMTEPR2
61 bool "Support kmtepr2"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020062 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010063 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six71c79002019-01-21 09:17:33 +010064
Dirk Eibachd494cdb2019-03-29 10:18:19 +010065config TARGET_GAZERBEAM
66 bool "Support gazerbeam"
67 select ARCH_MPC8308
68 select SYS_FSL_ERRATUM_ESDHC111
69 imply ENV_IS_IN_FLASH
70 help
71 The "Gazerbeam" is a modular system by Guntermann & Drunck GmbH
72 Systementwicklung based on the NXP MPC8308 SoC for usage in KVM
73 appliances.
74
75 Features include:
76 * Two gigabit ethernet ports
77 * Multiple USB ports (depending on variant)
78 * Several gigabit ethernet or optical fiber ports (depending on
79 variant)
80 * Several display port inputs and outputs, and supporting redrivers
81 (depending on variant)
82 * Several FPGAs with custom logic (depending on variant)
83
Masahiro Yamadadd840582014-07-30 14:08:14 +090084endchoice
85
Mario Six21c15022019-01-21 09:17:54 +010086config MPC83XX_QUICC_ENGINE
87 bool
88
89# TODO: Imply MPC83xx PCI driver
90config MPC83XX_PCI_SUPPORT
91 bool
92
93# TODO: Imply TSEC driver
94config MPC83XX_TSEC1_SUPPORT
95 bool
96
97config MPC83XX_TSEC2_SUPPORT
98 bool
99
100config MPC83XX_PCIE1_SUPPORT
101 bool
102
103config MPC83XX_PCIE2_SUPPORT
104 bool
105
106config MPC83XX_SDHC_SUPPORT
107 bool
108
Simon Glassf7560372021-08-08 12:20:17 -0600109config MPC83XX_SATA
Mario Six21c15022019-01-21 09:17:54 +0100110 bool
111
Simon Glass975e7cf2021-07-10 21:14:36 -0600112config MPC83XX_SECOND_I2C
Mario Six21c15022019-01-21 09:17:54 +0100113 bool
114
115config MPC83XX_LDP_PIN
116 bool
117
Mario Six4bc97a32019-01-21 09:17:24 +0100118config ARCH_MPC830X
119 bool
Mario Six21c15022019-01-21 09:17:54 +0100120 select MPC83XX_SDHC_SUPPORT
Tom Riniab92b382021-08-26 11:47:59 -0400121 select SYS_CACHE_SHIFT_5
Mario Six4bc97a32019-01-21 09:17:24 +0100122
123config ARCH_MPC8308
124 bool
125 select ARCH_MPC830X
Mario Six21c15022019-01-21 09:17:54 +0100126 select MPC83XX_TSEC1_SUPPORT
127 select MPC83XX_TSEC2_SUPPORT
128 select MPC83XX_PCIE1_SUPPORT
Simon Glass975e7cf2021-07-10 21:14:36 -0600129 select MPC83XX_SECOND_I2C
Mario Six4bc97a32019-01-21 09:17:24 +0100130
131config ARCH_MPC8309
132 bool
133 select ARCH_MPC830X
Mario Six21c15022019-01-21 09:17:54 +0100134 select MPC83XX_QUICC_ENGINE
135 select MPC83XX_PCI_SUPPORT
Simon Glass975e7cf2021-07-10 21:14:36 -0600136 select MPC83XX_SECOND_I2C
Rasmus Villemoes392b3852019-12-11 09:39:36 +0000137 select SYS_FSL_ERRATUM_ESDHC111
Rasmus Villemoesa3c1e0e2019-12-12 08:11:46 +0000138 select FSL_ELBC
Mario Six4bc97a32019-01-21 09:17:24 +0100139
Mario Six9403fc42019-01-21 09:17:25 +0100140config ARCH_MPC831X
141 bool
Mario Six21c15022019-01-21 09:17:54 +0100142 select MPC83XX_PCI_SUPPORT
143 select MPC83XX_TSEC1_SUPPORT
144 select MPC83XX_TSEC2_SUPPORT
Tom Riniab92b382021-08-26 11:47:59 -0400145 select SYS_CACHE_SHIFT_5
Mario Six9403fc42019-01-21 09:17:25 +0100146
147config ARCH_MPC8313
148 bool
149 select ARCH_MPC831X
Simon Glass975e7cf2021-07-10 21:14:36 -0600150 select MPC83XX_SECOND_I2C
Rasmus Villemoesa3c1e0e2019-12-12 08:11:46 +0000151 select FSL_ELBC
Mario Six9403fc42019-01-21 09:17:25 +0100152
Mario Sixbd3b8672019-01-21 09:17:26 +0100153config ARCH_MPC832X
154 bool
Mario Six21c15022019-01-21 09:17:54 +0100155 select MPC83XX_QUICC_ENGINE
156 select MPC83XX_PCI_SUPPORT
Tom Riniab92b382021-08-26 11:47:59 -0400157 select SYS_CACHE_SHIFT_5
Mario Sixbd3b8672019-01-21 09:17:26 +0100158
Mario Sixd5cfa4a2019-01-21 09:17:27 +0100159config ARCH_MPC834X
160 bool
Tom Riniab92b382021-08-26 11:47:59 -0400161 select SYS_CACHE_SHIFT_5
Mario Sixd5cfa4a2019-01-21 09:17:27 +0100162
Mario Six61abced2019-01-21 09:17:28 +0100163config ARCH_MPC8360
164 bool
Mario Six21c15022019-01-21 09:17:54 +0100165 select MPC83XX_QUICC_ENGINE
166 select MPC83XX_PCI_SUPPORT
167 select MPC83XX_LDP_PIN
Simon Glass975e7cf2021-07-10 21:14:36 -0600168 select MPC83XX_SECOND_I2C
Tom Riniab92b382021-08-26 11:47:59 -0400169 select SYS_CACHE_SHIFT_5
Mario Six61abced2019-01-21 09:17:28 +0100170
Mario Six8439e992019-01-21 09:17:29 +0100171config ARCH_MPC837X
172 bool
Mario Six21c15022019-01-21 09:17:54 +0100173 select MPC83XX_PCI_SUPPORT
174 select MPC83XX_TSEC1_SUPPORT
175 select MPC83XX_TSEC2_SUPPORT
176 select MPC83XX_PCIE1_SUPPORT
177 select MPC83XX_PCIE2_SUPPORT
178 select MPC83XX_SDHC_SUPPORT
Simon Glassf7560372021-08-08 12:20:17 -0600179 select MPC83XX_SATA
Mario Six21c15022019-01-21 09:17:54 +0100180 select MPC83XX_LDP_PIN
Simon Glass975e7cf2021-07-10 21:14:36 -0600181 select MPC83XX_SECOND_I2C
Tom Riniab92b382021-08-26 11:47:59 -0400182 select SYS_CACHE_SHIFT_5
Rasmus Villemoesa3c1e0e2019-12-12 08:11:46 +0000183 select FSL_ELBC
Mario Six21c15022019-01-21 09:17:54 +0100184
185source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Six30915ab2019-01-21 09:17:57 +0100186source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Six9c5df7a2019-01-21 09:17:58 +0100187source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Sixfe7d6542019-01-21 09:18:03 +0100188source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Sixbe5abb02019-01-21 09:18:09 +0100189source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Sixba463c12019-01-21 09:18:11 +0100190source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Six73df96a2019-01-21 09:18:12 +0100191source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixe35012e2019-01-21 09:18:13 +0100192source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six8439e992019-01-21 09:17:29 +0100193
Tom Rini86e4c4f2021-12-17 18:08:36 -0500194config 83XX_PCICLK
195 hex "PCI clock frequency"
196 default 0xDEADBEEF
197 help
198 If required, the PCI clock frequency to use when configuring
199 the host bridge.
200
Rasmus Villemoesa3c1e0e2019-12-12 08:11:46 +0000201config FSL_ELBC
202 bool
203
Masahiro Yamadadd840582014-07-30 14:08:14 +0900204source "board/freescale/mpc837xerdb/Kconfig"
205source "board/ids/ids8313/Kconfig"
Dirk Eibach50dcf892014-11-13 19:21:18 +0100206source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +0900207
208endmenu