Prepare v2023.10
[platform/kernel/u-boot.git] / arch / arm / mach-omap2 / am33xx / Kconfig
1 if AM33XX
2
3 config AM33XX_CHILISOM
4         bool
5         select SUPPORT_SPL
6
7 choice
8         prompt "AM33xx board select"
9
10 config TARGET_AM335X_EVM
11         bool "Support am335x_evm"
12         select BOARD_LATE_INIT
13         select DM
14         select DM_GPIO
15         select DM_SERIAL
16         select TI_I2C_BOARD_DETECT
17         select SUPPORT_EXTENSION_SCAN
18         imply CMD_DM
19         imply SPL_DM
20         imply SPL_DM_SEQ_ALIAS
21         imply SPL_ENV_SUPPORT
22         imply SPL_FS_EXT4
23         imply SPL_FS_FAT
24         imply SPL_GPIO
25         imply SPL_I2C
26         imply SPL_LIBCOMMON_SUPPORT
27         imply SPL_LIBDISK_SUPPORT
28         imply SPL_LIBGENERIC_SUPPORT
29         imply SPL_MMC
30         imply SPL_NAND_SUPPORT
31         imply SPL_OF_LIBFDT
32         imply SPL_POWER
33         imply SPL_SEPARATE_BSS
34         imply SPL_SERIAL
35         imply SPL_SYS_MALLOC_SIMPLE
36         imply SPL_WATCHDOG
37         imply SPL_YMODEM_SUPPORT
38         help
39           This option specifies support for the AM335x
40           GP and HS EVM development platforms. The AM335x
41           GP EVM is a standalone test, development, and
42           evaluation module system that enables developers
43           to write software and develop hardware around
44           an AM335x processor subsystem.
45
46 config TARGET_AM335X_BALTOS
47         bool "Support am335x_baltos"
48         select BOARD_LATE_INIT
49         select DM
50         select DM_GPIO
51         select DM_SERIAL
52         imply CMD_DM
53
54 config TARGET_AM335X_IGEP003X
55         bool "Support am335x_igep003x"
56         select BOARD_LATE_INIT
57         select DM
58         select DM_GPIO
59         select DM_SERIAL
60         imply CMD_DM
61
62 config TARGET_AM335X_SHC
63         bool "Support am335x based shc board from bosch"
64         select BOARD_LATE_INIT
65         select DM
66         select DM_GPIO
67         select DM_SERIAL
68         imply CMD_DM
69         imply CMD_SPL
70
71 config TARGET_AM335X_GUARDIAN
72         bool "Support am335x based guardian board from bosch"
73         select BOARD_LATE_INIT
74         select DM
75         select DM_SERIAL
76         select DM_GPIO
77         select VIDEO
78         select PANEL_HX8238D
79
80 config TARGET_AM335X_SL50
81         bool "Support am335x_sl50"
82         select BOARD_LATE_INIT
83         select DM
84         select DM_GPIO
85         select DM_SERIAL
86         imply CMD_DM
87
88 config TARGET_BRXRE1
89         bool "Support BRXRE1"
90         select BOARD_LATE_INIT
91
92 config TARGET_BRSMARC1
93         bool "Support BRSMARC1"
94         select BOARD_LATE_INIT
95
96 config TARGET_BRPPT1
97         bool "Support BRPPT1"
98         select BOARD_LATE_INIT
99
100 config TARGET_CHILIBOARD
101         bool "Grinn chiliBoard"
102         select AM33XX_CHILISOM
103         select BOARD_LATE_INIT
104         select DM
105         select DM_SERIAL
106         imply CMD_DM
107
108 config TARGET_DRACO
109         bool "Support draco"
110         select BOARD_LATE_INIT
111         select DM
112         select DM_GPIO
113         select DM_SERIAL
114         select FACTORYSET
115         imply CMD_DM
116
117 config TARGET_ETAMIN
118         bool "Support etamin"
119         select BOARD_LATE_INIT
120         select DM
121         select DM_GPIO
122         select DM_SERIAL
123         select FACTORYSET
124         imply CMD_DM
125
126 config TARGET_PCM051
127         bool "Support pcm051"
128         select DM
129         select DM_GPIO
130         select DM_SERIAL
131         imply CMD_DM
132
133 config TARGET_PHYCORE_AM335X_R2
134         bool "Support phyCORE AM335X R2"
135         select DM
136         select DM_GPIO
137         select DM_SERIAL
138         imply CMD_DM
139
140 config TARGET_PXM2
141         bool "Support pxm2"
142         select BOARD_LATE_INIT
143         select DM
144         select DM_GPIO
145         select DM_SERIAL
146         select FACTORYSET
147         imply CMD_DM
148
149 config TARGET_RASTABAN
150         bool "Support rastaban"
151         select BOARD_LATE_INIT
152         select DM
153         select DM_GPIO
154         select DM_SERIAL
155         select FACTORYSET
156         imply CMD_DM
157
158 config TARGET_RUT
159         bool "Support rut"
160         select BOARD_LATE_INIT
161         select DM
162         select DM_GPIO
163         select DM_SERIAL
164         select FACTORYSET
165         imply CMD_DM
166
167 config TARGET_THUBAN
168         bool "Support thuban"
169         select BOARD_LATE_INIT
170         select DM
171         select DM_GPIO
172         select DM_SERIAL
173         select FACTORYSET
174         imply CMD_DM
175
176 config TARGET_PDU001
177         bool "Support PDU001"
178         select DM
179         select DM_SERIAL
180         imply SPL_SEPARATE_BSS
181         imply CMD_DM
182         help
183           Support for PDU001 platform developed by EETS GmbH.
184           The PDU001 is a processor and display unit developed around
185           the Computing-Module m2 from bytes at work AG.
186
187 endchoice
188
189 config CLOCK_SYNTHESIZER
190         bool "CDCE913 and CDCEL913 clock synthesizer support"
191         help
192           The CDCE913 and CDCEL913 devices are modular PLL-based, low cost,
193           high performance , programmable clock synthesizers. They generate
194           up to 3 output clocks from a single input frequency. Each output can
195           be programmed for any clock-frequency.
196
197 config CLK_SYNTHESIZER_I2C_ADDR
198         hex "Clock synthesizer i2c bus address"
199         depends on CLOCK_SYNTHESIZER
200         default 0x65
201
202 endif
203
204 if AM43XX
205
206 choice
207         prompt "AM43xx board select"
208
209 config TARGET_AM43XX_EVM
210         bool "Support am43xx_evm"
211         select BOARD_LATE_INIT
212         select TI_I2C_BOARD_DETECT
213         imply DM_I2C
214         imply DM_SPI
215         imply DM_SPI_FLASH
216         imply SPL_ENV_SUPPORT
217         imply SPL_FS_EXT4
218         imply SPL_FS_FAT
219         imply SPL_GPIO
220         imply SPL_I2C
221         imply SPL_LIBCOMMON_SUPPORT
222         imply SPL_LIBDISK_SUPPORT
223         imply SPL_LIBGENERIC_SUPPORT
224         imply SPL_MMC
225         imply SPL_NAND_SUPPORT
226         imply SPL_POWER
227         imply SPL_SERIAL
228         imply SPL_WATCHDOG
229         imply SPL_YMODEM_SUPPORT
230         help
231           This option specifies support for the AM43xx
232           GP and HS EVM development platforms.The AM437x
233           GP EVM is a standalone test, development, and
234           evaluation module system that enables developers
235           to write software and develop hardware around
236           an AM43xx processor subsystem.
237
238 config TARGET_CM_T43
239         bool "Support cm_t43"
240
241 endchoice
242
243 config SPL_RTC_DDR_SUPPORT
244         bool
245         depends on SPL
246         prompt "Enable RTC-DDR ONLY Support"
247         help
248           If you want RTC-DDR ONLY Support, say Y. RTC Only with DDR in
249           self-refresh mode is a special power saving mode where in all
250           the other voltages are turned off apart from the RTC domain and DDR.
251           So only RTC is alive and ticking and one can program it to wake
252           up after a predetermined period. Once RTC alarm fires, the PMIC
253           powers up all the voltage domains. U-Boot takes a special path
254           as the DDR has contents is in self-refresh and restore path is
255           followed.
256
257 endif
258
259 if AM43XX || AM33XX
260 config PUB_ROM_DATA_SIZE
261         hex "Size in bytes of the L3 SRAM reserved by ROM to store data"
262         default 0x8400
263         help
264           During the device boot, the public ROM uses the top of
265           the public L3 OCMC RAM to store r/w data like stack,
266           heap, globals etc. When the ROM is copying the boot
267           image from the boot media into memory, the image must
268           not spill over into this area. This value can be used
269           during compile time to determine the maximum size of a
270           boot image. Once the ROM transfers control to the boot
271           image, this area is no longer used, and can be reclaimed
272           for run time use by the boot image.
273 endif
274
275 config AM335X_USB0
276         bool "Static mode configuration for USB0 in SPL"
277         depends on AM33XX && SPL_MUSB_NEW && !SPL_OF_CONTROL
278
279 choice
280         prompt "USB0 port configuration"
281         depends on AM335X_USB0
282
283 config AM335X_USB0_HOST
284         bool "Port is used in host mode"
285
286 config AM335X_USB0_PERIPHERAL
287         bool "Port is used in peripheral mode"
288
289 endchoice
290
291 config AM335X_USB1
292         bool "Static mode configuration for USB1 in SPL"
293         depends on AM33XX && SPL_MUSB_NEW && !SPL_OF_CONTROL
294
295 choice
296         prompt "USB1 port configuration"
297         depends on AM335X_USB1
298
299 config AM335X_USB1_HOST
300         bool "Port is used in host mode"
301
302 config AM335X_USB1_PERIPHERAL
303         bool "Port is used in peripheral mode"
304
305 endchoice