aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/Kconfig
diff options
context:
space:
mode:
authorBryan Wu <cooloney@kernel.org>2008-11-18 04:48:21 -0500
committerBryan Wu <cooloney@kernel.org>2008-11-18 04:48:21 -0500
commit2f6f4bcdd611cb968b800f7569c4383727856668 (patch)
treee9de0755bfa40a932c2ca44e532aef8ae704ab9b /arch/blackfin/Kconfig
parent2563265bdb5fb21396cdc2125c8260e57f7c3991 (diff)
Blackfin arch: add support for Blackfin latest processor family BF51x
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r--arch/blackfin/Kconfig48
1 files changed, 39 insertions, 9 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index be54e36e8b69..19b43f37e1a3 100644
--- a/arch/blackfin/Kconfig
+++ b/arch/blackfin/Kconfig
@@ -77,6 +77,26 @@ choice
77 prompt "CPU" 77 prompt "CPU"
78 default BF533 78 default BF533
79 79
80config BF512
81 bool "BF512"
82 help
83 BF512 Processor Support.
84
85config BF514
86 bool "BF514"
87 help
88 BF514 Processor Support.
89
90config BF516
91 bool "BF516"
92 help
93 BF516 Processor Support.
94
95config BF518
96 bool "BF518"
97 help
98 BF518 Processor Support.
99
80config BF522 100config BF522
81 bool "BF522" 101 bool "BF522"
82 help 102 help
@@ -181,27 +201,27 @@ endchoice
181 201
182config BF_REV_MIN 202config BF_REV_MIN
183 int 203 int
184 default 0 if (BF52x || BF54x) 204 default 0 if (BF51x || BF52x || BF54x)
185 default 2 if (BF537 || BF536 || BF534) 205 default 2 if (BF537 || BF536 || BF534)
186 default 3 if (BF561 ||BF533 || BF532 || BF531) 206 default 3 if (BF561 ||BF533 || BF532 || BF531)
187 default 4 if (BF538 || BF539) 207 default 4 if (BF538 || BF539)
188 208
189config BF_REV_MAX 209config BF_REV_MAX
190 int 210 int
191 default 2 if (BF52x || BF54x) 211 default 2 if (BF51x || BF52x || BF54x)
192 default 3 if (BF537 || BF536 || BF534) 212 default 3 if (BF537 || BF536 || BF534)
193 default 5 if (BF561|| BF538 || BF539) 213 default 5 if (BF561 || BF538 || BF539)
194 default 6 if (BF533 || BF532 || BF531) 214 default 6 if (BF533 || BF532 || BF531)
195 215
196choice 216choice
197 prompt "Silicon Rev" 217 prompt "Silicon Rev"
198 default BF_REV_0_1 if (BF52x || BF54x) 218 default BF_REV_0_1 if (BF51x || BF52x || BF54x)
199 default BF_REV_0_2 if (BF534 || BF536 || BF537) 219 default BF_REV_0_2 if (BF534 || BF536 || BF537)
200 default BF_REV_0_3 if (BF531 || BF532 || BF533 || BF561) 220 default BF_REV_0_3 if (BF531 || BF532 || BF533 || BF561)
201 221
202config BF_REV_0_0 222config BF_REV_0_0
203 bool "0.0" 223 bool "0.0"
204 depends on (BF52x || BF54x) 224 depends on (BF51x || BF52x || BF54x)
205 225
206config BF_REV_0_1 226config BF_REV_0_1
207 bool "0.1" 227 bool "0.1"
@@ -235,6 +255,11 @@ config BF_REV_NONE
235 255
236endchoice 256endchoice
237 257
258config BF51x
259 bool
260 depends on (BF512 || BF514 || BF516 || BF518)
261 default y
262
238config BF52x 263config BF52x
239 bool 264 bool
240 depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527) 265 depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527)
@@ -282,6 +307,7 @@ config MEM_MT48LC32M16A2TG_75
282 depends on (BFIN527_EZKIT || BFIN532_IP0X || BLACKSTAMP || BFIN526_EZBRD) 307 depends on (BFIN527_EZKIT || BFIN532_IP0X || BLACKSTAMP || BFIN526_EZBRD)
283 default y 308 default y
284 309
310source "arch/blackfin/mach-bf518/Kconfig"
285source "arch/blackfin/mach-bf527/Kconfig" 311source "arch/blackfin/mach-bf527/Kconfig"
286source "arch/blackfin/mach-bf533/Kconfig" 312source "arch/blackfin/mach-bf533/Kconfig"
287source "arch/blackfin/mach-bf561/Kconfig" 313source "arch/blackfin/mach-bf561/Kconfig"
@@ -330,7 +356,7 @@ config CLKIN_HZ
330 int "Frequency of the crystal on the board in Hz" 356 int "Frequency of the crystal on the board in Hz"
331 default "11059200" if BFIN533_STAMP 357 default "11059200" if BFIN533_STAMP
332 default "27000000" if BFIN533_EZKIT 358 default "27000000" if BFIN533_EZKIT
333 default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD || BFIN538_EZKIT) 359 default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD || BFIN538_EZKIT || BFIN518F-EZBRD)
334 default "30000000" if BFIN561_EZKIT 360 default "30000000" if BFIN561_EZKIT
335 default "24576000" if PNAV10 361 default "24576000" if PNAV10
336 default "10000000" if BFIN532_IP0X 362 default "10000000" if BFIN532_IP0X
@@ -370,7 +396,7 @@ config VCO_MULT
370 default "22" if BFIN533_BLUETECHNIX_CM 396 default "22" if BFIN533_BLUETECHNIX_CM
371 default "20" if (BFIN537_BLUETECHNIX_CM || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM) 397 default "20" if (BFIN537_BLUETECHNIX_CM || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM)
372 default "20" if BFIN561_EZKIT 398 default "20" if BFIN561_EZKIT
373 default "16" if (H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD) 399 default "16" if (H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD || BFIN518F_EZBRD)
374 help 400 help
375 This controls the frequency of the on-chip PLL. This can be between 1 and 64. 401 This controls the frequency of the on-chip PLL. This can be between 1 and 64.
376 PLL Frequency = (Crystal Frequency) * (this setting) 402 PLL Frequency = (Crystal Frequency) * (this setting)
@@ -432,6 +458,10 @@ config MAX_MEM_SIZE
432# 458#
433config MAX_VCO_HZ 459config MAX_VCO_HZ
434 int 460 int
461 default 400000000 if BF512
462 default 400000000 if BF514
463 default 400000000 if BF516
464 default 400000000 if BF518
435 default 600000000 if BF522 465 default 600000000 if BF522
436 default 400000000 if BF523 466 default 400000000 if BF523
437 default 400000000 if BF524 467 default 400000000 if BF524
@@ -1025,7 +1055,7 @@ comment "Possible Suspend Mem / Hibernate Wake-Up Sources"
1025 1055
1026config PM_BFIN_WAKE_PH6 1056config PM_BFIN_WAKE_PH6
1027 bool "Allow Wake-Up from on-chip PHY or PH6 GP" 1057 bool "Allow Wake-Up from on-chip PHY or PH6 GP"
1028 depends on PM && (BF52x || BF534 || BF536 || BF537) 1058 depends on PM && (BF51x || BF52x || BF534 || BF536 || BF537)
1029 default n 1059 default n
1030 help 1060 help
1031 Enable PHY and PH6 GP Wake-Up (Voltage Regulator Power-Up) 1061 Enable PHY and PH6 GP Wake-Up (Voltage Regulator Power-Up)