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