blob: 1a66abdeb297a2e8ac9ee3e2da1d14b8ed152729 [file] [log] [blame]
Masahiro Yamada420b8162014-08-31 07:11:04 +09001if OMAP54XX
2
Uri Mashiache47ae872017-02-23 15:39:35 +02003config DRA7XX
4 bool
5 help
6 DRA7xx is an OMAP based SOC with Dual Core A-15s.
7
Masahiro Yamada420b8162014-08-31 07:11:04 +09008choice
9 prompt "OMAP5 board select"
Joe Hershbergerf0699602015-05-12 14:46:23 -050010 optional
Masahiro Yamada420b8162014-08-31 07:11:04 +090011
Dmitry Lifshitz10a59d02016-12-28 18:28:33 +020012config TARGET_CL_SOM_AM57X
13 bool "CompuLab CL-SOM-AM57x"
Uri Mashiache47ae872017-02-23 15:39:35 +020014 select DRA7XX
Dmitry Lifshitz10a59d02016-12-28 18:28:33 +020015
Masahiro Yamada420b8162014-08-31 07:11:04 +090016config 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"
Tom Rini22d567e2017-01-22 19:43:11 -050024 select BOARD_LATE_INIT
Uri Mashiache47ae872017-02-23 15:39:35 +020025 select DRA7XX
Lokesh Vutla3c7dc012016-03-08 09:18:05 +053026 select TI_I2C_BOARD_DETECT
Masahiro Yamada653e9fe2016-07-25 19:56:03 +090027 select PHYS_64BIT
Masahiro Yamada420b8162014-08-31 07:11:04 +090028
Lokesh Vutla6c2cfdd2016-06-10 09:35:42 +053029config TARGET_AM57XX_EVM
30 bool "AM57XX"
Tom Rini22d567e2017-01-22 19:43:11 -050031 select BOARD_LATE_INIT
Uri Mashiache47ae872017-02-23 15:39:35 +020032 select DRA7XX
Kipisz, Steven161f1382016-02-24 12:30:58 -060033 select TI_I2C_BOARD_DETECT
Felipe Balbi4750eb62014-11-10 14:02:44 -060034
Masahiro Yamada420b8162014-08-31 07:11:04 +090035endchoice
36
Masahiro Yamada420b8162014-08-31 07:11:04 +090037config SYS_SOC
Masahiro Yamada420b8162014-08-31 07:11:04 +090038 default "omap5"
39
Daniel Allred082384b2016-09-02 00:40:20 -050040config 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
Tom Rini50e221a2017-05-12 22:33:17 -040066config 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
Suman Annaf28b26c2016-11-23 12:54:40 +053083if 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
Dmitry Lifshitz10a59d02016-12-28 18:28:33 +0200176source "board/compulab/cl-som-am57x/Kconfig"
Masahiro Yamada420b8162014-08-31 07:11:04 +0900177source "board/compulab/cm_t54/Kconfig"
178source "board/ti/omap5_uevm/Kconfig"
179source "board/ti/dra7xx/Kconfig"
Kipisz, Steven1dacd0d2015-10-29 16:50:43 -0500180source "board/ti/am57xx/Kconfig"
Masahiro Yamada420b8162014-08-31 07:11:04 +0900181
182endif