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