blob: ec3405e9678fb7b12755503e5d08448c01430f07 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "mpc83xx CPU"
2 depends on MPC83xx
3
Tom Rini1d2893d2022-03-30 18:07:29 -04004config DEFAULT_IMMR
5 hex
6 default 0xFF400000
7
Tom Rinif2428ac2022-03-24 17:18:01 -04008config E300
9 def_bool y
10
Masahiro Yamadadd840582014-07-30 14:08:14 +090011config SYS_CPU
Masahiro Yamadadd840582014-07-30 14:08:14 +090012 default "mpc83xx"
13
Tom Rinifcf4fa72022-06-25 11:02:41 -040014config SYS_83XX_DDR_USES_CS0
15 bool
16 help
17 DDR should be configured using CS0 and CS1 instead of CS2 and CS3.
18
Masahiro Yamadadd840582014-07-30 14:08:14 +090019choice
20 prompt "Target select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050021 optional
Masahiro Yamadadd840582014-07-30 14:08:14 +090022
Masahiro Yamadadd840582014-07-30 14:08:14 +090023config TARGET_MPC837XERDB
24 bool "Support MPC837XERDB"
Mario Six8439e992019-01-21 09:17:29 +010025 select ARCH_MPC837X
Simon Glassa5d67542017-01-23 13:31:20 -070026 select BOARD_EARLY_INIT_F
Tom Rinifcf4fa72022-06-25 11:02:41 -040027 select SYS_83XX_DDR_USES_CS0
Masahiro Yamadadd840582014-07-30 14:08:14 +090028
Mario Six009c87a2019-01-21 09:17:35 +010029config TARGET_KMETER1
30 bool "Support kmeter1"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020031 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010032 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six009c87a2019-01-21 09:17:35 +010033
34config TARGET_KMCOGE5NE
35 bool "Support kmcoge5ne"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020036 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010037 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadadd840582014-07-30 14:08:14 +090038
Mario Six0e0674f2019-01-21 09:17:30 +010039config TARGET_KMTEGR1
40 bool "Support kmtegr1"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020041 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010042 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadadd840582014-07-30 14:08:14 +090043
44config TARGET_TUXX1
45 bool "Support tuxx1"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020046 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010047 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadadd840582014-07-30 14:08:14 +090048
Mario Six71c79002019-01-21 09:17:33 +010049config TARGET_KMSUPX5
50 bool "Support kmsupx5"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020051 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010052 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six71c79002019-01-21 09:17:33 +010053
54config TARGET_TUGE1
55 bool "Support tuge1"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020056 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010057 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six71c79002019-01-21 09:17:33 +010058
59config TARGET_KMOPTI2
60 bool "Support kmopti2"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020061 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010062 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six71c79002019-01-21 09:17:33 +010063
64config TARGET_KMTEPR2
65 bool "Support kmtepr2"
Pascal Linderc0fed3a2019-06-18 13:27:47 +020066 select VENDOR_KM
Heiko Schocher7bdfe852020-02-03 07:43:57 +010067 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six71c79002019-01-21 09:17:33 +010068
Dirk Eibachd494cdb2019-03-29 10:18:19 +010069config TARGET_GAZERBEAM
70 bool "Support gazerbeam"
71 select ARCH_MPC8308
72 select SYS_FSL_ERRATUM_ESDHC111
73 imply ENV_IS_IN_FLASH
74 help
75 The "Gazerbeam" is a modular system by Guntermann & Drunck GmbH
76 Systementwicklung based on the NXP MPC8308 SoC for usage in KVM
77 appliances.
78
79 Features include:
80 * Two gigabit ethernet ports
81 * Multiple USB ports (depending on variant)
82 * Several gigabit ethernet or optical fiber ports (depending on
83 variant)
84 * Several display port inputs and outputs, and supporting redrivers
85 (depending on variant)
86 * Several FPGAs with custom logic (depending on variant)
87
Masahiro Yamadadd840582014-07-30 14:08:14 +090088endchoice
89
Mario Six21c15022019-01-21 09:17:54 +010090config MPC83XX_QUICC_ENGINE
91 bool
92
93# TODO: Imply MPC83xx PCI driver
94config MPC83XX_PCI_SUPPORT
95 bool
96
97# TODO: Imply TSEC driver
98config MPC83XX_TSEC1_SUPPORT
99 bool
100
101config MPC83XX_TSEC2_SUPPORT
102 bool
103
104config MPC83XX_PCIE1_SUPPORT
105 bool
106
107config MPC83XX_PCIE2_SUPPORT
108 bool
109
110config MPC83XX_SDHC_SUPPORT
111 bool
112
Simon Glassf7560372021-08-08 12:20:17 -0600113config MPC83XX_SATA
Mario Six21c15022019-01-21 09:17:54 +0100114 bool
115
Simon Glass975e7cf2021-07-10 21:14:36 -0600116config MPC83XX_SECOND_I2C
Mario Six21c15022019-01-21 09:17:54 +0100117 bool
118
119config MPC83XX_LDP_PIN
120 bool
121
Mario Six4bc97a32019-01-21 09:17:24 +0100122config ARCH_MPC830X
123 bool
Mario Six21c15022019-01-21 09:17:54 +0100124 select MPC83XX_SDHC_SUPPORT
Tom Riniab92b382021-08-26 11:47:59 -0400125 select SYS_CACHE_SHIFT_5
Mario Six4bc97a32019-01-21 09:17:24 +0100126
127config ARCH_MPC8308
128 bool
129 select ARCH_MPC830X
Mario Six21c15022019-01-21 09:17:54 +0100130 select MPC83XX_TSEC1_SUPPORT
131 select MPC83XX_TSEC2_SUPPORT
132 select MPC83XX_PCIE1_SUPPORT
Simon Glass975e7cf2021-07-10 21:14:36 -0600133 select MPC83XX_SECOND_I2C
Mario Six4bc97a32019-01-21 09:17:24 +0100134
Mario Six9403fc42019-01-21 09:17:25 +0100135config ARCH_MPC831X
136 bool
Mario Six21c15022019-01-21 09:17:54 +0100137 select MPC83XX_PCI_SUPPORT
138 select MPC83XX_TSEC1_SUPPORT
139 select MPC83XX_TSEC2_SUPPORT
Tom Riniab92b382021-08-26 11:47:59 -0400140 select SYS_CACHE_SHIFT_5
Mario Six9403fc42019-01-21 09:17:25 +0100141
142config ARCH_MPC8313
143 bool
144 select ARCH_MPC831X
Simon Glass975e7cf2021-07-10 21:14:36 -0600145 select MPC83XX_SECOND_I2C
Rasmus Villemoesa3c1e0e2019-12-12 08:11:46 +0000146 select FSL_ELBC
Mario Six9403fc42019-01-21 09:17:25 +0100147
Mario Sixbd3b8672019-01-21 09:17:26 +0100148config ARCH_MPC832X
149 bool
Mario Six21c15022019-01-21 09:17:54 +0100150 select MPC83XX_QUICC_ENGINE
151 select MPC83XX_PCI_SUPPORT
Tom Riniab92b382021-08-26 11:47:59 -0400152 select SYS_CACHE_SHIFT_5
Mario Sixbd3b8672019-01-21 09:17:26 +0100153
Mario Sixd5cfa4a2019-01-21 09:17:27 +0100154config ARCH_MPC834X
155 bool
Tom Riniab92b382021-08-26 11:47:59 -0400156 select SYS_CACHE_SHIFT_5
Mario Sixd5cfa4a2019-01-21 09:17:27 +0100157
Mario Six61abced2019-01-21 09:17:28 +0100158config ARCH_MPC8360
159 bool
Mario Six21c15022019-01-21 09:17:54 +0100160 select MPC83XX_QUICC_ENGINE
161 select MPC83XX_PCI_SUPPORT
162 select MPC83XX_LDP_PIN
Simon Glass975e7cf2021-07-10 21:14:36 -0600163 select MPC83XX_SECOND_I2C
Tom Riniab92b382021-08-26 11:47:59 -0400164 select SYS_CACHE_SHIFT_5
Mario Six61abced2019-01-21 09:17:28 +0100165
Mario Six8439e992019-01-21 09:17:29 +0100166config ARCH_MPC837X
167 bool
Mario Six21c15022019-01-21 09:17:54 +0100168 select MPC83XX_PCI_SUPPORT
169 select MPC83XX_TSEC1_SUPPORT
170 select MPC83XX_TSEC2_SUPPORT
171 select MPC83XX_PCIE1_SUPPORT
172 select MPC83XX_PCIE2_SUPPORT
173 select MPC83XX_SDHC_SUPPORT
Simon Glassf7560372021-08-08 12:20:17 -0600174 select MPC83XX_SATA
Mario Six21c15022019-01-21 09:17:54 +0100175 select MPC83XX_LDP_PIN
Simon Glass975e7cf2021-07-10 21:14:36 -0600176 select MPC83XX_SECOND_I2C
Tom Riniab92b382021-08-26 11:47:59 -0400177 select SYS_CACHE_SHIFT_5
Rasmus Villemoesa3c1e0e2019-12-12 08:11:46 +0000178 select FSL_ELBC
Mario Six21c15022019-01-21 09:17:54 +0100179
180source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Six30915ab2019-01-21 09:17:57 +0100181source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Six9c5df7a2019-01-21 09:17:58 +0100182source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Sixfe7d6542019-01-21 09:18:03 +0100183source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Sixbe5abb02019-01-21 09:18:09 +0100184source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Sixba463c12019-01-21 09:18:11 +0100185source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Six73df96a2019-01-21 09:18:12 +0100186source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixe35012e2019-01-21 09:18:13 +0100187source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six8439e992019-01-21 09:17:29 +0100188
Tom Rini86e4c4f2021-12-17 18:08:36 -0500189config 83XX_PCICLK
190 hex "PCI clock frequency"
191 default 0xDEADBEEF
192 help
193 If required, the PCI clock frequency to use when configuring
194 the host bridge.
195
Rasmus Villemoesa3c1e0e2019-12-12 08:11:46 +0000196config FSL_ELBC
197 bool
198
Masahiro Yamadadd840582014-07-30 14:08:14 +0900199source "board/freescale/mpc837xerdb/Kconfig"
Dirk Eibach50dcf892014-11-13 19:21:18 +0100200source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadadd840582014-07-30 14:08:14 +0900201
202endmenu