blob: 5394529658bc5e1e6258bcc513f2926a6f0720b6 [file] [log] [blame]
Masahiro Yamada6c5431a2014-08-31 07:11:04 +09001if OMAP54XX
2
Tom Rinid5c77532022-11-19 18:45:21 -05003config IODELAY_RECALIBRATION
4 bool
5
Uri Mashiach67566ab2017-02-23 15:39:35 +02006config DRA7XX
7 bool
Tom Rinid5c77532022-11-19 18:45:21 -05008 select IODELAY_RECALIBRATION
Tom Rini789bb952022-11-16 13:10:32 -05009 select SYS_OMAP_ABE_SYSCK
Uri Mashiach67566ab2017-02-23 15:39:35 +020010 help
11 DRA7xx is an OMAP based SOC with Dual Core A-15s.
12
Masahiro Yamada6c5431a2014-08-31 07:11:04 +090013choice
14 prompt "OMAP5 board select"
Joe Hershbergera26cd042015-05-12 14:46:23 -050015 optional
Masahiro Yamada6c5431a2014-08-31 07:11:04 +090016
17config TARGET_CM_T54
18 bool "CompuLab CM-T54"
19
Masahiro Yamada6c5431a2014-08-31 07:11:04 +090020config TARGET_DRA7XX_EVM
21 bool "TI DRA7XX"
Tom Rinie5ec4812017-01-22 19:43:11 -050022 select BOARD_LATE_INIT
Uri Mashiach67566ab2017-02-23 15:39:35 +020023 select DRA7XX
Masahiro Yamadabb6b1422016-07-25 19:56:03 +090024 select PHYS_64BIT
Michal Simek58008cb2018-07-23 15:55:15 +020025 select TI_I2C_BOARD_DETECT
Lokesh Vutla0537e092017-08-21 12:50:51 +053026 imply DM_PMIC
Lokesh Vutla0537e092017-08-21 12:50:51 +053027 imply DM_REGULATOR
28 imply DM_REGULATOR_LP87565
Faiz Abbas16fa2eb2017-11-14 16:12:33 +053029 imply DM_THERMAL
Michal Simek58008cb2018-07-23 15:55:15 +020030 imply PMIC_LP87565
31 imply SCSI
32 imply SPL_THERMAL
Faiz Abbas16fa2eb2017-11-14 16:12:33 +053033 imply TI_DRA7_THERMAL
Masahiro Yamada6c5431a2014-08-31 07:11:04 +090034
Lokesh Vutla165bd7a2016-06-10 09:35:42 +053035config TARGET_AM57XX_EVM
36 bool "AM57XX"
Tom Rinie5ec4812017-01-22 19:43:11 -050037 select BOARD_LATE_INIT
Michal Simek58008cb2018-07-23 15:55:15 +020038 select CMD_DDR3
Uri Mashiach67566ab2017-02-23 15:39:35 +020039 select DRA7XX
Kipisz, Steven212f96f2016-02-24 12:30:58 -060040 select TI_I2C_BOARD_DETECT
Kory Maincent0705e252021-05-04 19:31:25 +020041 select SUPPORT_EXTENSION_SCAN
Michal Simek58008cb2018-07-23 15:55:15 +020042 imply DM_THERMAL
Simon Glassfedb4282017-06-14 21:28:21 -060043 imply SCSI
Faiz Abbas16fa2eb2017-11-14 16:12:33 +053044 imply SPL_THERMAL
Faiz Abbas16fa2eb2017-11-14 16:12:33 +053045 imply TI_DRA7_THERMAL
Felipe Balbi1e4ad742014-11-10 14:02:44 -060046
Masahiro Yamada6c5431a2014-08-31 07:11:04 +090047endchoice
48
Masahiro Yamada6c5431a2014-08-31 07:11:04 +090049config SYS_SOC
Masahiro Yamada6c5431a2014-08-31 07:11:04 +090050 default "omap5"
51
Tom Rinid87f8292017-05-12 22:33:17 -040052config OMAP_PLATFORM_RESET_TIME_MAX_USEC
53 int "Something"
54 range 0 31219
55 default 31219
56 help
57 Most OMAPs' provide a way to specify the time for which the reset
58 should be held low while the voltages and Oscillator outputs
59 stabilize.
60 This time is mostly board and PMIC dependent. Hence the boards are
61 expected to specify a pre-computed time using the above option.
62 This value can be computed using a summation of the below 3
63 parameters
64 1: Time taken by the Osciallator to stop and restart
65 2: PMIC OTP time
66 3: Voltage ramp time, which can be derived using the PMIC slew rate
67 and value of voltage ramp needed.
68
Suman Annafba82eb2016-11-23 12:54:40 +053069if TARGET_DRA7XX_EVM || TARGET_AM57XX_EVM
70menu "Voltage Domain OPP selections"
71
72choice
73 prompt "MPU Voltage Domain"
74 default DRA7_MPU_OPP_NOM
75 help
76 Select the Operating Performance Point(OPP) for the MPU voltage
77 domain on DRA7xx & AM57xx SoCs.
78
79config DRA7_MPU_OPP_NOM
80 bool "OPP NOM"
81 help
82 This config option enables Normal OPP for MPU. This is the safest
83 option for booting.
84
85endchoice
86
87choice
88 prompt "DSPEVE Voltage Domain"
89 help
90 Select the Operating Performance Point(OPP) for the DSPEVE voltage
91 domain on DRA7xx & AM57xx SoCs.
92
93config DRA7_DSPEVE_OPP_NOM
94 bool "OPP NOM"
95 help
96 This config option enables Normal OPP for DSPEVE. This is the safest
97 option for booting and choose this when unsure about other OPPs .
98
99config DRA7_DSPEVE_OPP_OD
100 bool "OPP OD"
101 help
102 This config option enables Over drive OPP for DSPEVE.
103
104config DRA7_DSPEVE_OPP_HIGH
105 bool "OPP HIGH"
106 help
107 This config option enables High OPP for DSPEVE.
108
109endchoice
110
111choice
112 prompt "IVA Voltage Domain"
113 help
114 Select the Operating Performance Point(OPP) for the IVA voltage
115 domain on DRA7xx & AM57xx SoCs.
116
117config DRA7_IVA_OPP_NOM
118 bool "OPP NOM"
119 help
120 This config option enables Normal OPP for IVA. This is the safest
121 option for booting and choose this when unsure about other OPPs .
122
123config DRA7_IVA_OPP_OD
124 bool "OPP OD"
125 help
126 This config option enables Over drive OPP for IVA.
127
128config DRA7_IVA_OPP_HIGH
129 bool "OPP HIGH"
130 help
131 This config option enables High OPP for IVA.
132
133endchoice
134
135choice
136 prompt "GPU Voltage Domain"
137 help
138 Select the Operating Performance Point(OPP) for the GPU voltage
139 domain on DRA7xx & AM57xx SoCs.
140
141config DRA7_GPU_OPP_NOM
142 bool "OPP NOM"
143 help
144 This config option enables Normal OPP for GPU. This is the safest
145 option for booting and choose this when unsure about other OPPs .
146
147config DRA7_GPU_OPP_OD
148 bool "OPP OD"
149 help
150 This config option enables Over drive OPP for GPU.
151
152config DRA7_GPU_OPP_HIGH
153 bool "OPP HIGH"
154 help
155 This config option enables High OPP for GPU.
156
157endchoice
158
159endmenu
160endif
161
Masahiro Yamada6c5431a2014-08-31 07:11:04 +0900162source "board/ti/dra7xx/Kconfig"
Kipisz, Steven74cc8b02015-10-29 16:50:43 -0500163source "board/ti/am57xx/Kconfig"
Masahiro Yamada6c5431a2014-08-31 07:11:04 +0900164
165endif