xref: /openbmc/u-boot/arch/arm/mach-omap2/omap5/Kconfig (revision d87f82967fc90ca23672451f55eeb2a36f2f36c7)
1983e3700STom Riniif OMAP54XX
2983e3700STom Rini
367566ab6SUri Mashiachconfig DRA7XX
467566ab6SUri Mashiach	bool
567566ab6SUri Mashiach	help
667566ab6SUri Mashiach	  DRA7xx is an OMAP based SOC with Dual Core A-15s.
767566ab6SUri Mashiach
8983e3700STom Rinichoice
9983e3700STom Rini	prompt "OMAP5 board select"
10983e3700STom Rini	optional
11983e3700STom Rini
1246650d58SDmitry Lifshitzconfig TARGET_CL_SOM_AM57X
1346650d58SDmitry Lifshitz	bool "CompuLab CL-SOM-AM57x"
1467566ab6SUri Mashiach	select DRA7XX
1546650d58SDmitry Lifshitz
16983e3700STom Riniconfig TARGET_CM_T54
17983e3700STom Rini	bool "CompuLab CM-T54"
18983e3700STom Rini
19983e3700STom Riniconfig TARGET_OMAP5_UEVM
20983e3700STom Rini	bool "TI OMAP5 uEVM board"
21983e3700STom Rini
22983e3700STom Riniconfig TARGET_DRA7XX_EVM
23983e3700STom Rini	bool "TI DRA7XX"
24e5ec4815STom Rini	select BOARD_LATE_INIT
2567566ab6SUri Mashiach	select DRA7XX
26983e3700STom Rini	select TI_I2C_BOARD_DETECT
27983e3700STom Rini	select PHYS_64BIT
28983e3700STom Rini
29983e3700STom Riniconfig TARGET_AM57XX_EVM
30983e3700STom Rini	bool "AM57XX"
31e5ec4815STom Rini	select BOARD_LATE_INIT
3267566ab6SUri Mashiach	select DRA7XX
33983e3700STom Rini	select TI_I2C_BOARD_DETECT
34983e3700STom Rini
35983e3700STom Riniendchoice
36983e3700STom Rini
37983e3700STom Riniconfig SYS_SOC
38983e3700STom Rini	default "omap5"
39983e3700STom Rini
40983e3700STom Riniconfig TI_SECURE_EMIF_REGION_START
41983e3700STom Rini	hex "Reserved EMIF region start address"
42983e3700STom Rini	depends on TI_SECURE_DEVICE
43983e3700STom Rini	default 0x0
44983e3700STom Rini	help
45983e3700STom Rini	  Reserved EMIF region start address. Set to "0" to auto-select
46983e3700STom Rini	  to be at the end of the external memory region.
47983e3700STom Rini
48983e3700STom Riniconfig TI_SECURE_EMIF_TOTAL_REGION_SIZE
49983e3700STom Rini	hex "Reserved EMIF region size"
50983e3700STom Rini	depends on TI_SECURE_DEVICE
51983e3700STom Rini	default 0x0
52983e3700STom Rini	help
53983e3700STom Rini	  Total reserved EMIF region size. Default is 0, which means no reserved EMIF
54983e3700STom Rini	  region on secure devices.
55983e3700STom Rini
56983e3700STom Riniconfig TI_SECURE_EMIF_PROTECTED_REGION_SIZE
57983e3700STom Rini	hex "Size of protected region within reserved EMIF region"
58983e3700STom Rini	depends on TI_SECURE_DEVICE
59983e3700STom Rini	default 0x0
60983e3700STom Rini	help
61983e3700STom Rini	  This config option is used to specify the size of the portion of the total
62983e3700STom Rini	  reserved EMIF region set aside for secure OS needs that will  be protected
63983e3700STom Rini	  using hardware memory firewalls. This value must be smaller than the
64983e3700STom Rini	  TI_SECURE_EMIF_TOTAL_REGION_SIZE value.
65983e3700STom Rini
66*d87f8296STom Riniconfig OMAP_PLATFORM_RESET_TIME_MAX_USEC
67*d87f8296STom Rini	int "Something"
68*d87f8296STom Rini	range 0  31219
69*d87f8296STom Rini	default 31219
70*d87f8296STom Rini	help
71*d87f8296STom Rini	  Most OMAPs' provide a way to specify the time for which the reset
72*d87f8296STom Rini	  should be held low while the voltages and Oscillator outputs
73*d87f8296STom Rini	  stabilize.
74*d87f8296STom Rini	  This time is mostly board and PMIC dependent. Hence the boards are
75*d87f8296STom Rini	  expected to specify a pre-computed time using the above option.
76*d87f8296STom Rini	  This value can be computed using a summation of the below 3
77*d87f8296STom Rini	  parameters
78*d87f8296STom Rini	  1: Time taken by the Osciallator to stop and restart
79*d87f8296STom Rini	  2: PMIC OTP time
80*d87f8296STom Rini	  3: Voltage ramp time, which can be derived using the PMIC slew rate
81*d87f8296STom Rini	     and value of voltage ramp needed.
82*d87f8296STom Rini
83fba82eb7SSuman Annaif TARGET_DRA7XX_EVM || TARGET_AM57XX_EVM
84fba82eb7SSuman Annamenu "Voltage Domain OPP selections"
85fba82eb7SSuman Anna
86fba82eb7SSuman Annachoice
87fba82eb7SSuman Anna	prompt "MPU Voltage Domain"
88fba82eb7SSuman Anna	default DRA7_MPU_OPP_NOM
89fba82eb7SSuman Anna        help
90fba82eb7SSuman Anna	  Select the Operating Performance Point(OPP) for the MPU voltage
91fba82eb7SSuman Anna	  domain on DRA7xx & AM57xx SoCs.
92fba82eb7SSuman Anna
93fba82eb7SSuman Annaconfig DRA7_MPU_OPP_NOM
94fba82eb7SSuman Anna	bool "OPP NOM"
95fba82eb7SSuman Anna	help
96fba82eb7SSuman Anna	  This config option enables Normal OPP for MPU. This is the safest
97fba82eb7SSuman Anna	  option for booting.
98fba82eb7SSuman Anna
99fba82eb7SSuman Annaendchoice
100fba82eb7SSuman Anna
101fba82eb7SSuman Annachoice
102fba82eb7SSuman Anna	prompt "DSPEVE Voltage Domain"
103fba82eb7SSuman Anna        help
104fba82eb7SSuman Anna	  Select the Operating Performance Point(OPP) for the DSPEVE voltage
105fba82eb7SSuman Anna	  domain on DRA7xx & AM57xx SoCs.
106fba82eb7SSuman Anna
107fba82eb7SSuman Annaconfig DRA7_DSPEVE_OPP_NOM
108fba82eb7SSuman Anna	bool "OPP NOM"
109fba82eb7SSuman Anna	help
110fba82eb7SSuman Anna	  This config option enables Normal OPP for DSPEVE. This is the safest
111fba82eb7SSuman Anna	  option for booting and choose this when unsure about other OPPs .
112fba82eb7SSuman Anna
113fba82eb7SSuman Annaconfig DRA7_DSPEVE_OPP_OD
114fba82eb7SSuman Anna	bool "OPP OD"
115fba82eb7SSuman Anna	help
116fba82eb7SSuman Anna	  This config option enables Over drive OPP for DSPEVE.
117fba82eb7SSuman Anna
118fba82eb7SSuman Annaconfig DRA7_DSPEVE_OPP_HIGH
119fba82eb7SSuman Anna	bool "OPP HIGH"
120fba82eb7SSuman Anna	help
121fba82eb7SSuman Anna	  This config option enables High OPP for DSPEVE.
122fba82eb7SSuman Anna
123fba82eb7SSuman Annaendchoice
124fba82eb7SSuman Anna
125fba82eb7SSuman Annachoice
126fba82eb7SSuman Anna	prompt "IVA Voltage Domain"
127fba82eb7SSuman Anna        help
128fba82eb7SSuman Anna	  Select the Operating Performance Point(OPP) for the IVA voltage
129fba82eb7SSuman Anna	  domain on DRA7xx & AM57xx SoCs.
130fba82eb7SSuman Anna
131fba82eb7SSuman Annaconfig DRA7_IVA_OPP_NOM
132fba82eb7SSuman Anna	bool "OPP NOM"
133fba82eb7SSuman Anna	help
134fba82eb7SSuman Anna	  This config option enables Normal OPP for IVA. This is the safest
135fba82eb7SSuman Anna	  option for booting and choose this when unsure about other OPPs .
136fba82eb7SSuman Anna
137fba82eb7SSuman Annaconfig DRA7_IVA_OPP_OD
138fba82eb7SSuman Anna	bool "OPP OD"
139fba82eb7SSuman Anna	help
140fba82eb7SSuman Anna	  This config option enables Over drive OPP for IVA.
141fba82eb7SSuman Anna
142fba82eb7SSuman Annaconfig DRA7_IVA_OPP_HIGH
143fba82eb7SSuman Anna	bool "OPP HIGH"
144fba82eb7SSuman Anna	help
145fba82eb7SSuman Anna	  This config option enables High OPP for IVA.
146fba82eb7SSuman Anna
147fba82eb7SSuman Annaendchoice
148fba82eb7SSuman Anna
149fba82eb7SSuman Annachoice
150fba82eb7SSuman Anna	prompt "GPU Voltage Domain"
151fba82eb7SSuman Anna        help
152fba82eb7SSuman Anna	  Select the Operating Performance Point(OPP) for the GPU voltage
153fba82eb7SSuman Anna	  domain on DRA7xx & AM57xx SoCs.
154fba82eb7SSuman Anna
155fba82eb7SSuman Annaconfig DRA7_GPU_OPP_NOM
156fba82eb7SSuman Anna	bool "OPP NOM"
157fba82eb7SSuman Anna	help
158fba82eb7SSuman Anna	  This config option enables Normal OPP for GPU. This is the safest
159fba82eb7SSuman Anna	  option for booting and choose this when unsure about other OPPs .
160fba82eb7SSuman Anna
161fba82eb7SSuman Annaconfig DRA7_GPU_OPP_OD
162fba82eb7SSuman Anna	bool "OPP OD"
163fba82eb7SSuman Anna	help
164fba82eb7SSuman Anna	  This config option enables Over drive OPP for GPU.
165fba82eb7SSuman Anna
166fba82eb7SSuman Annaconfig DRA7_GPU_OPP_HIGH
167fba82eb7SSuman Anna	bool "OPP HIGH"
168fba82eb7SSuman Anna	help
169fba82eb7SSuman Anna	  This config option enables High OPP for GPU.
170fba82eb7SSuman Anna
171fba82eb7SSuman Annaendchoice
172fba82eb7SSuman Anna
173fba82eb7SSuman Annaendmenu
174fba82eb7SSuman Annaendif
175fba82eb7SSuman Anna
17646650d58SDmitry Lifshitzsource "board/compulab/cl-som-am57x/Kconfig"
177983e3700STom Rinisource "board/compulab/cm_t54/Kconfig"
178983e3700STom Rinisource "board/ti/omap5_uevm/Kconfig"
179983e3700STom Rinisource "board/ti/dra7xx/Kconfig"
180983e3700STom Rinisource "board/ti/am57xx/Kconfig"
181983e3700STom Rini
182983e3700STom Riniendif
183