Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 1 | menu "mpc83xx CPU" |
2 | depends on MPC83xx | ||||
3 | |||||
Tom Rini | a5fd089 | 2022-03-30 18:07:29 -0400 | [diff] [blame] | 4 | config DEFAULT_IMMR |
5 | hex | ||||
6 | default 0xFF400000 | ||||
7 | |||||
Tom Rini | c1c04bd | 2022-03-24 17:18:01 -0400 | [diff] [blame] | 8 | config E300 |
9 | def_bool y | ||||
10 | |||||
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 11 | config SYS_CPU |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 12 | default "mpc83xx" |
13 | |||||
Tom Rini | 5d673de | 2022-06-25 11:02:41 -0400 | [diff] [blame] | 14 | config 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 Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 19 | choice |
20 | prompt "Target select" | ||||
Joe Hershberger | f069960 | 2015-05-12 14:46:23 -0500 | [diff] [blame] | 21 | optional |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 22 | |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 23 | config TARGET_MPC837XERDB |
24 | bool "Support MPC837XERDB" | ||||
Mario Six | 60b1123 | 2019-01-21 09:17:29 +0100 | [diff] [blame] | 25 | select ARCH_MPC837X |
Simon Glass | 7a99a87 | 2017-01-23 13:31:20 -0700 | [diff] [blame] | 26 | select BOARD_EARLY_INIT_F |
Tom Rini | 5d673de | 2022-06-25 11:02:41 -0400 | [diff] [blame] | 27 | select SYS_83XX_DDR_USES_CS0 |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 28 | |
Mario Six | 92e20d9 | 2019-01-21 09:17:35 +0100 | [diff] [blame] | 29 | config TARGET_KMETER1 |
30 | bool "Support kmeter1" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 31 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 32 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Mario Six | 92e20d9 | 2019-01-21 09:17:35 +0100 | [diff] [blame] | 33 | |
34 | config TARGET_KMCOGE5NE | ||||
35 | bool "Support kmcoge5ne" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 36 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 37 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 38 | |
Mario Six | 5590b15 | 2019-01-21 09:17:30 +0100 | [diff] [blame] | 39 | config TARGET_KMTEGR1 |
40 | bool "Support kmtegr1" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 41 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 42 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 43 | |
44 | config TARGET_TUXX1 | ||||
45 | bool "Support tuxx1" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 46 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 47 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 48 | |
Mario Six | 190ab40 | 2019-01-21 09:17:33 +0100 | [diff] [blame] | 49 | config TARGET_KMSUPX5 |
50 | bool "Support kmsupx5" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 51 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 52 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Mario Six | 190ab40 | 2019-01-21 09:17:33 +0100 | [diff] [blame] | 53 | |
54 | config TARGET_TUGE1 | ||||
55 | bool "Support tuge1" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 56 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 57 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Mario Six | 190ab40 | 2019-01-21 09:17:33 +0100 | [diff] [blame] | 58 | |
59 | config TARGET_KMOPTI2 | ||||
60 | bool "Support kmopti2" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 61 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 62 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Mario Six | 190ab40 | 2019-01-21 09:17:33 +0100 | [diff] [blame] | 63 | |
64 | config TARGET_KMTEPR2 | ||||
65 | bool "Support kmtepr2" | ||||
Pascal Linder | 305329f | 2019-06-18 13:27:47 +0200 | [diff] [blame] | 66 | select VENDOR_KM |
Heiko Schocher | 3c52107 | 2020-02-03 07:43:57 +0100 | [diff] [blame] | 67 | select KM_ENABLE_FULL_DM_DTS_SUPPORT |
Mario Six | 190ab40 | 2019-01-21 09:17:33 +0100 | [diff] [blame] | 68 | |
Dirk Eibach | 8fc4084 | 2019-03-29 10:18:19 +0100 | [diff] [blame] | 69 | config 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 Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 88 | endchoice |
89 | |||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 90 | config MPC83XX_QUICC_ENGINE |
91 | bool | ||||
92 | |||||
93 | # TODO: Imply MPC83xx PCI driver | ||||
94 | config MPC83XX_PCI_SUPPORT | ||||
95 | bool | ||||
96 | |||||
97 | # TODO: Imply TSEC driver | ||||
98 | config MPC83XX_TSEC1_SUPPORT | ||||
99 | bool | ||||
100 | |||||
101 | config MPC83XX_TSEC2_SUPPORT | ||||
102 | bool | ||||
103 | |||||
104 | config MPC83XX_PCIE1_SUPPORT | ||||
105 | bool | ||||
106 | |||||
107 | config MPC83XX_PCIE2_SUPPORT | ||||
108 | bool | ||||
109 | |||||
110 | config MPC83XX_SDHC_SUPPORT | ||||
111 | bool | ||||
112 | |||||
Simon Glass | 081a45a | 2021-08-08 12:20:17 -0600 | [diff] [blame] | 113 | config MPC83XX_SATA |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 114 | bool |
115 | |||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 116 | config MPC83XX_SECOND_I2C |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 117 | bool |
118 | |||||
119 | config MPC83XX_LDP_PIN | ||||
120 | bool | ||||
121 | |||||
Mario Six | b2e701c | 2019-01-21 09:17:24 +0100 | [diff] [blame] | 122 | config ARCH_MPC830X |
123 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 124 | select MPC83XX_SDHC_SUPPORT |
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame] | 125 | select SYS_CACHE_SHIFT_5 |
Mario Six | b2e701c | 2019-01-21 09:17:24 +0100 | [diff] [blame] | 126 | |
127 | config ARCH_MPC8308 | ||||
128 | bool | ||||
129 | select ARCH_MPC830X | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 130 | select MPC83XX_TSEC1_SUPPORT |
131 | select MPC83XX_TSEC2_SUPPORT | ||||
132 | select MPC83XX_PCIE1_SUPPORT | ||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 133 | select MPC83XX_SECOND_I2C |
Mario Six | b2e701c | 2019-01-21 09:17:24 +0100 | [diff] [blame] | 134 | |
Mario Six | 9164bdd | 2019-01-21 09:17:25 +0100 | [diff] [blame] | 135 | config ARCH_MPC831X |
136 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 137 | select MPC83XX_PCI_SUPPORT |
138 | select MPC83XX_TSEC1_SUPPORT | ||||
139 | select MPC83XX_TSEC2_SUPPORT | ||||
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame] | 140 | select SYS_CACHE_SHIFT_5 |
Mario Six | 9164bdd | 2019-01-21 09:17:25 +0100 | [diff] [blame] | 141 | |
142 | config ARCH_MPC8313 | ||||
143 | bool | ||||
144 | select ARCH_MPC831X | ||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 145 | select MPC83XX_SECOND_I2C |
Rasmus Villemoes | dafa52a | 2019-12-12 08:11:46 +0000 | [diff] [blame] | 146 | select FSL_ELBC |
Mario Six | 9164bdd | 2019-01-21 09:17:25 +0100 | [diff] [blame] | 147 | |
Mario Six | be07e55 | 2019-01-21 09:17:26 +0100 | [diff] [blame] | 148 | config ARCH_MPC832X |
149 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 150 | select MPC83XX_QUICC_ENGINE |
151 | select MPC83XX_PCI_SUPPORT | ||||
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame] | 152 | select SYS_CACHE_SHIFT_5 |
Mario Six | be07e55 | 2019-01-21 09:17:26 +0100 | [diff] [blame] | 153 | |
Mario Six | 0344f5e | 2019-01-21 09:17:27 +0100 | [diff] [blame] | 154 | config ARCH_MPC834X |
155 | bool | ||||
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame] | 156 | select SYS_CACHE_SHIFT_5 |
Mario Six | 0344f5e | 2019-01-21 09:17:27 +0100 | [diff] [blame] | 157 | |
Mario Six | 84eb431 | 2019-01-21 09:17:28 +0100 | [diff] [blame] | 158 | config ARCH_MPC8360 |
159 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 160 | select MPC83XX_QUICC_ENGINE |
161 | select MPC83XX_PCI_SUPPORT | ||||
162 | select MPC83XX_LDP_PIN | ||||
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 163 | select MPC83XX_SECOND_I2C |
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame] | 164 | select SYS_CACHE_SHIFT_5 |
Mario Six | 84eb431 | 2019-01-21 09:17:28 +0100 | [diff] [blame] | 165 | |
Mario Six | 60b1123 | 2019-01-21 09:17:29 +0100 | [diff] [blame] | 166 | config ARCH_MPC837X |
167 | bool | ||||
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 168 | 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 Glass | 081a45a | 2021-08-08 12:20:17 -0600 | [diff] [blame] | 174 | select MPC83XX_SATA |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 175 | select MPC83XX_LDP_PIN |
Simon Glass | bccfc2e | 2021-07-10 21:14:36 -0600 | [diff] [blame] | 176 | select MPC83XX_SECOND_I2C |
Tom Rini | 3ef67ae | 2021-08-26 11:47:59 -0400 | [diff] [blame] | 177 | select SYS_CACHE_SHIFT_5 |
Rasmus Villemoes | dafa52a | 2019-12-12 08:11:46 +0000 | [diff] [blame] | 178 | select FSL_ELBC |
Mario Six | 9486710 | 2019-01-21 09:17:54 +0100 | [diff] [blame] | 179 | |
180 | source "arch/powerpc/cpu/mpc83xx/hrcw/Kconfig" | ||||
Mario Six | a861ea6 | 2019-01-21 09:17:57 +0100 | [diff] [blame] | 181 | source "arch/powerpc/cpu/mpc83xx/bats/Kconfig" |
Mario Six | b47839c | 2019-01-21 09:17:58 +0100 | [diff] [blame] | 182 | source "arch/powerpc/cpu/mpc83xx/lblaw/Kconfig" |
Mario Six | 1faf95d | 2019-01-21 09:18:03 +0100 | [diff] [blame] | 183 | source "arch/powerpc/cpu/mpc83xx/elbc/Kconfig" |
Mario Six | 8b2141c | 2019-01-21 09:18:09 +0100 | [diff] [blame] | 184 | source "arch/powerpc/cpu/mpc83xx/hid/Kconfig" |
Mario Six | 636c108 | 2019-01-21 09:18:11 +0100 | [diff] [blame] | 185 | source "arch/powerpc/cpu/mpc83xx/sysio/Kconfig" |
Mario Six | aa50254 | 2019-01-21 09:18:12 +0100 | [diff] [blame] | 186 | source "arch/powerpc/cpu/mpc83xx/arbiter/Kconfig" |
Mario Six | f62074e | 2019-01-21 09:18:13 +0100 | [diff] [blame] | 187 | source "arch/powerpc/cpu/mpc83xx/initreg/Kconfig" |
Mario Six | 60b1123 | 2019-01-21 09:17:29 +0100 | [diff] [blame] | 188 | |
Tom Rini | 5683860 | 2021-12-17 18:08:36 -0500 | [diff] [blame] | 189 | config 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 Villemoes | dafa52a | 2019-12-12 08:11:46 +0000 | [diff] [blame] | 196 | config FSL_ELBC |
197 | bool | ||||
198 | |||||
Tom Rini | 7579523 | 2022-11-19 18:45:13 -0500 | [diff] [blame] | 199 | config FSL_SERDES |
200 | bool "SerDes initialization" | ||||
201 | depends on !MPC83XX_SERDES | ||||
202 | |||||
Tom Rini | f9c0235 | 2022-12-04 10:03:28 -0500 | [diff] [blame] | 203 | config NEVER_ASSERT_ODT_TO_CPU |
204 | bool "Never assert ODT to internal IOs" | ||||
205 | |||||
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 206 | source "board/freescale/mpc837xerdb/Kconfig" |
Dirk Eibach | f74a027 | 2014-11-13 19:21:18 +0100 | [diff] [blame] | 207 | source "board/gdsys/mpc8308/Kconfig" |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 208 | |
209 | endmenu |