blob: bcd8375087897d0fff80196918565500cff32c23 [file] [log] [blame]
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09001menu "mpc83xx CPU"
2 depends on MPC83xx
3
4config SYS_CPU
Masahiro Yamadad3ae6782014-07-30 14:08:14 +09005 default "mpc83xx"
6
7choice
8 prompt "Target select"
Joe Hershbergerf0699602015-05-12 14:46:23 -05009 optional
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090010
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090011config TARGET_MPC837XERDB
12 bool "Support MPC837XERDB"
Mario Six60b11232019-01-21 09:17:29 +010013 select ARCH_MPC837X
Simon Glass7a99a872017-01-23 13:31:20 -070014 select BOARD_EARLY_INIT_F
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090015
16config TARGET_IDS8313
17 bool "Support ids8313"
Mario Six9164bdd2019-01-21 09:17:25 +010018 select ARCH_MPC8313
Masahiro Yamada51995c22015-03-31 12:48:03 +090019 select DM
Michal Simek2e7c8192018-07-23 15:55:14 +020020 imply CMD_DM
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090021
Mario Six92e20d92019-01-21 09:17:35 +010022config TARGET_KMETER1
23 bool "Support kmeter1"
Pascal Linder305329f2019-06-18 13:27:47 +020024 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010025 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six92e20d92019-01-21 09:17:35 +010026
27config TARGET_KMCOGE5NE
28 bool "Support kmcoge5ne"
Pascal Linder305329f2019-06-18 13:27:47 +020029 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010030 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090031
Mario Six5590b152019-01-21 09:17:30 +010032config TARGET_KMTEGR1
33 bool "Support kmtegr1"
Pascal Linder305329f2019-06-18 13:27:47 +020034 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010035 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090036
37config TARGET_TUXX1
38 bool "Support tuxx1"
Pascal Linder305329f2019-06-18 13:27:47 +020039 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010040 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090041
Mario Six190ab402019-01-21 09:17:33 +010042config TARGET_KMSUPX5
43 bool "Support kmsupx5"
Pascal Linder305329f2019-06-18 13:27:47 +020044 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010045 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010046
47config TARGET_TUGE1
48 bool "Support tuge1"
Pascal Linder305329f2019-06-18 13:27:47 +020049 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010050 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010051
52config TARGET_KMOPTI2
53 bool "Support kmopti2"
Pascal Linder305329f2019-06-18 13:27:47 +020054 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010055 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010056
57config TARGET_KMTEPR2
58 bool "Support kmtepr2"
Pascal Linder305329f2019-06-18 13:27:47 +020059 select VENDOR_KM
Heiko Schocher3c521072020-02-03 07:43:57 +010060 select KM_ENABLE_FULL_DM_DTS_SUPPORT
Mario Six190ab402019-01-21 09:17:33 +010061
Dirk Eibach8fc40842019-03-29 10:18:19 +010062config TARGET_GAZERBEAM
63 bool "Support gazerbeam"
64 select ARCH_MPC8308
65 select SYS_FSL_ERRATUM_ESDHC111
66 imply ENV_IS_IN_FLASH
67 help
68 The "Gazerbeam" is a modular system by Guntermann & Drunck GmbH
69 Systementwicklung based on the NXP MPC8308 SoC for usage in KVM
70 appliances.
71
72 Features include:
73 * Two gigabit ethernet ports
74 * Multiple USB ports (depending on variant)
75 * Several gigabit ethernet or optical fiber ports (depending on
76 variant)
77 * Several display port inputs and outputs, and supporting redrivers
78 (depending on variant)
79 * Several FPGAs with custom logic (depending on variant)
80
Masahiro Yamadad3ae6782014-07-30 14:08:14 +090081endchoice
82
Mario Six94867102019-01-21 09:17:54 +010083config MPC83XX_QUICC_ENGINE
84 bool
85
86# TODO: Imply MPC83xx PCI driver
87config MPC83XX_PCI_SUPPORT
88 bool
89
90# TODO: Imply TSEC driver
91config MPC83XX_TSEC1_SUPPORT
92 bool
93
94config MPC83XX_TSEC2_SUPPORT
95 bool
96
97config MPC83XX_PCIE1_SUPPORT
98 bool
99
100config MPC83XX_PCIE2_SUPPORT
101 bool
102
103config MPC83XX_SDHC_SUPPORT
104 bool
105
Simon Glass081a45a2021-08-08 12:20:17 -0600106config MPC83XX_SATA
Mario Six94867102019-01-21 09:17:54 +0100107 bool
108
Simon Glassbccfc2e2021-07-10 21:14:36 -0600109config MPC83XX_SECOND_I2C
Mario Six94867102019-01-21 09:17:54 +0100110 bool
111
112config MPC83XX_LDP_PIN
113 bool
114
Mario Sixb2e701c2019-01-21 09:17:24 +0100115config ARCH_MPC830X
116 bool
Mario Six94867102019-01-21 09:17:54 +0100117 select MPC83XX_SDHC_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400118 select SYS_CACHE_SHIFT_5
Mario Sixb2e701c2019-01-21 09:17:24 +0100119
120config ARCH_MPC8308
121 bool
122 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100123 select MPC83XX_TSEC1_SUPPORT
124 select MPC83XX_TSEC2_SUPPORT
125 select MPC83XX_PCIE1_SUPPORT
Simon Glassbccfc2e2021-07-10 21:14:36 -0600126 select MPC83XX_SECOND_I2C
Mario Sixb2e701c2019-01-21 09:17:24 +0100127
128config ARCH_MPC8309
129 bool
130 select ARCH_MPC830X
Mario Six94867102019-01-21 09:17:54 +0100131 select MPC83XX_QUICC_ENGINE
132 select MPC83XX_PCI_SUPPORT
Simon Glassbccfc2e2021-07-10 21:14:36 -0600133 select MPC83XX_SECOND_I2C
Rasmus Villemoes676f1012019-12-11 09:39:36 +0000134 select SYS_FSL_ERRATUM_ESDHC111
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000135 select FSL_ELBC
Mario Sixb2e701c2019-01-21 09:17:24 +0100136
Mario Six9164bdd2019-01-21 09:17:25 +0100137config ARCH_MPC831X
138 bool
Mario Six94867102019-01-21 09:17:54 +0100139 select MPC83XX_PCI_SUPPORT
140 select MPC83XX_TSEC1_SUPPORT
141 select MPC83XX_TSEC2_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400142 select SYS_CACHE_SHIFT_5
Mario Six9164bdd2019-01-21 09:17:25 +0100143
144config ARCH_MPC8313
145 bool
146 select ARCH_MPC831X
Simon Glassbccfc2e2021-07-10 21:14:36 -0600147 select MPC83XX_SECOND_I2C
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000148 select FSL_ELBC
Mario Six9164bdd2019-01-21 09:17:25 +0100149
Mario Sixbe07e552019-01-21 09:17:26 +0100150config ARCH_MPC832X
151 bool
Mario Six94867102019-01-21 09:17:54 +0100152 select MPC83XX_QUICC_ENGINE
153 select MPC83XX_PCI_SUPPORT
Tom Rini3ef67ae2021-08-26 11:47:59 -0400154 select SYS_CACHE_SHIFT_5
Mario Sixbe07e552019-01-21 09:17:26 +0100155
Mario Six0344f5e2019-01-21 09:17:27 +0100156config ARCH_MPC834X
157 bool
Tom Rini3ef67ae2021-08-26 11:47:59 -0400158 select SYS_CACHE_SHIFT_5
Mario Six0344f5e2019-01-21 09:17:27 +0100159
Mario Six84eb4312019-01-21 09:17:28 +0100160config ARCH_MPC8360
161 bool
Mario Six94867102019-01-21 09:17:54 +0100162 select MPC83XX_QUICC_ENGINE
163 select MPC83XX_PCI_SUPPORT
164 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600165 select MPC83XX_SECOND_I2C
Tom Rini3ef67ae2021-08-26 11:47:59 -0400166 select SYS_CACHE_SHIFT_5
Mario Six84eb4312019-01-21 09:17:28 +0100167
Mario Six60b11232019-01-21 09:17:29 +0100168config ARCH_MPC837X
169 bool
Mario Six94867102019-01-21 09:17:54 +0100170 select MPC83XX_PCI_SUPPORT
171 select MPC83XX_TSEC1_SUPPORT
172 select MPC83XX_TSEC2_SUPPORT
173 select MPC83XX_PCIE1_SUPPORT
174 select MPC83XX_PCIE2_SUPPORT
175 select MPC83XX_SDHC_SUPPORT
Simon Glass081a45a2021-08-08 12:20:17 -0600176 select MPC83XX_SATA
Mario Six94867102019-01-21 09:17:54 +0100177 select MPC83XX_LDP_PIN
Simon Glassbccfc2e2021-07-10 21:14:36 -0600178 select MPC83XX_SECOND_I2C
Tom Rini3ef67ae2021-08-26 11:47:59 -0400179 select SYS_CACHE_SHIFT_5
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000180 select FSL_ELBC
Mario Six94867102019-01-21 09:17:54 +0100181
182source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig"
Mario Sixa861ea62019-01-21 09:17:57 +0100183source "arch/powerpc/cpu/mpc83xx/bats/Kconfig"
Mario Sixb47839c2019-01-21 09:17:58 +0100184source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig"
Mario Six1faf95d2019-01-21 09:18:03 +0100185source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig"
Mario Six8b2141c2019-01-21 09:18:09 +0100186source "arch/powerpc/cpu/mpc83xx/hid/Kconfig"
Mario Six636c1082019-01-21 09:18:11 +0100187source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig"
Mario Sixaa502542019-01-21 09:18:12 +0100188source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig"
Mario Sixf62074e2019-01-21 09:18:13 +0100189source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig"
Mario Six60b11232019-01-21 09:17:29 +0100190
Tom Rini56838602021-12-17 18:08:36 -0500191config 83XX_PCICLK
192 hex "PCI clock frequency"
193 default 0xDEADBEEF
194 help
195 If required, the PCI clock frequency to use when configuring
196 the host bridge.
197
Rasmus Villemoesdafa52a2019-12-12 08:11:46 +0000198config FSL_ELBC
199 bool
200
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900201source "board/freescale/mpc837xerdb/Kconfig"
202source "board/ids/ids8313/Kconfig"
Pascal Linder305329f2019-06-18 13:27:47 +0200203source "board/keymile/Kconfig"
Dirk Eibachf74a0272014-11-13 19:21:18 +0100204source "board/gdsys/mpc8308/Kconfig"
Masahiro Yamadad3ae6782014-07-30 14:08:14 +0900205
206endmenu