xref: /openbmc/u-boot/arch/arm/mach-omap2/omap5/Kconfig (revision 2ecba112)
1if OMAP54XX
2
3config DRA7XX
4	bool
5	help
6	  DRA7xx is an OMAP based SOC with Dual Core A-15s.
7
8choice
9	prompt "OMAP5 board select"
10	optional
11
12config TARGET_CL_SOM_AM57X
13	bool "CompuLab CL-SOM-AM57x"
14	select DRA7XX
15
16config TARGET_CM_T54
17	bool "CompuLab CM-T54"
18
19config TARGET_OMAP5_UEVM
20	bool "TI OMAP5 uEVM board"
21
22config TARGET_DRA7XX_EVM
23	bool "TI DRA7XX"
24	select BOARD_LATE_INIT
25	select DRA7XX
26	select TI_I2C_BOARD_DETECT
27	select PHYS_64BIT
28	imply SCSI
29
30config TARGET_AM57XX_EVM
31	bool "AM57XX"
32	select BOARD_LATE_INIT
33	select DRA7XX
34	select TI_I2C_BOARD_DETECT
35	imply SCSI
36
37endchoice
38
39config SYS_SOC
40	default "omap5"
41
42config TI_SECURE_EMIF_REGION_START
43	hex "Reserved EMIF region start address"
44	depends on TI_SECURE_DEVICE
45	default 0x0
46	help
47	  Reserved EMIF region start address. Set to "0" to auto-select
48	  to be at the end of the external memory region.
49
50config TI_SECURE_EMIF_TOTAL_REGION_SIZE
51	hex "Reserved EMIF region size"
52	depends on TI_SECURE_DEVICE
53	default 0x0
54	help
55	  Total reserved EMIF region size. Default is 0, which means no reserved EMIF
56	  region on secure devices.
57
58config TI_SECURE_EMIF_PROTECTED_REGION_SIZE
59	hex "Size of protected region within reserved EMIF region"
60	depends on TI_SECURE_DEVICE
61	default 0x0
62	help
63	  This config option is used to specify the size of the portion of the total
64	  reserved EMIF region set aside for secure OS needs that will  be protected
65	  using hardware memory firewalls. This value must be smaller than the
66	  TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
67
68config OMAP_PLATFORM_RESET_TIME_MAX_USEC
69	int "Something"
70	range 0  31219
71	default 31219
72	help
73	  Most OMAPs' provide a way to specify the time for which the reset
74	  should be held low while the voltages and Oscillator outputs
75	  stabilize.
76	  This time is mostly board and PMIC dependent. Hence the boards are
77	  expected to specify a pre-computed time using the above option.
78	  This value can be computed using a summation of the below 3
79	  parameters
80	  1: Time taken by the Osciallator to stop and restart
81	  2: PMIC OTP time
82	  3: Voltage ramp time, which can be derived using the PMIC slew rate
83	     and value of voltage ramp needed.
84
85if TARGET_DRA7XX_EVM || TARGET_AM57XX_EVM
86menu "Voltage Domain OPP selections"
87
88choice
89	prompt "MPU Voltage Domain"
90	default DRA7_MPU_OPP_NOM
91        help
92	  Select the Operating Performance Point(OPP) for the MPU voltage
93	  domain on DRA7xx & AM57xx SoCs.
94
95config DRA7_MPU_OPP_NOM
96	bool "OPP NOM"
97	help
98	  This config option enables Normal OPP for MPU. This is the safest
99	  option for booting.
100
101endchoice
102
103choice
104	prompt "DSPEVE Voltage Domain"
105        help
106	  Select the Operating Performance Point(OPP) for the DSPEVE voltage
107	  domain on DRA7xx & AM57xx SoCs.
108
109config DRA7_DSPEVE_OPP_NOM
110	bool "OPP NOM"
111	help
112	  This config option enables Normal OPP for DSPEVE. This is the safest
113	  option for booting and choose this when unsure about other OPPs .
114
115config DRA7_DSPEVE_OPP_OD
116	bool "OPP OD"
117	help
118	  This config option enables Over drive OPP for DSPEVE.
119
120config DRA7_DSPEVE_OPP_HIGH
121	bool "OPP HIGH"
122	help
123	  This config option enables High OPP for DSPEVE.
124
125endchoice
126
127choice
128	prompt "IVA Voltage Domain"
129        help
130	  Select the Operating Performance Point(OPP) for the IVA voltage
131	  domain on DRA7xx & AM57xx SoCs.
132
133config DRA7_IVA_OPP_NOM
134	bool "OPP NOM"
135	help
136	  This config option enables Normal OPP for IVA. This is the safest
137	  option for booting and choose this when unsure about other OPPs .
138
139config DRA7_IVA_OPP_OD
140	bool "OPP OD"
141	help
142	  This config option enables Over drive OPP for IVA.
143
144config DRA7_IVA_OPP_HIGH
145	bool "OPP HIGH"
146	help
147	  This config option enables High OPP for IVA.
148
149endchoice
150
151choice
152	prompt "GPU Voltage Domain"
153        help
154	  Select the Operating Performance Point(OPP) for the GPU voltage
155	  domain on DRA7xx & AM57xx SoCs.
156
157config DRA7_GPU_OPP_NOM
158	bool "OPP NOM"
159	help
160	  This config option enables Normal OPP for GPU. This is the safest
161	  option for booting and choose this when unsure about other OPPs .
162
163config DRA7_GPU_OPP_OD
164	bool "OPP OD"
165	help
166	  This config option enables Over drive OPP for GPU.
167
168config DRA7_GPU_OPP_HIGH
169	bool "OPP HIGH"
170	help
171	  This config option enables High OPP for GPU.
172
173endchoice
174
175endmenu
176endif
177
178source "board/compulab/cl-som-am57x/Kconfig"
179source "board/compulab/cm_t54/Kconfig"
180source "board/ti/omap5_uevm/Kconfig"
181source "board/ti/dra7xx/Kconfig"
182source "board/ti/am57xx/Kconfig"
183
184endif
185