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