Skip to content

Commit dc26aec

Browse files
mhennerichBryan Wu
authored andcommitted
Blackfin arch: BF538/9 Linux kernel Support
Add supporing for Blackfin BF538 and BF539 processors. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
1 parent f940260 commit dc26aec

29 files changed

Lines changed: 10587 additions & 16 deletions

‎arch/blackfin/Kconfig‎

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,16 @@ config BF537
137137
help
138138
BF537 Processor Support.
139139

140+
config BF538
141+
bool "BF538"
142+
help
143+
BF538 Processor Support.
144+
145+
config BF539
146+
bool "BF539"
147+
help
148+
BF539 Processor Support.
149+
140150
config BF542
141151
bool "BF542"
142152
help
@@ -174,12 +184,13 @@ config BF_REV_MIN
174184
default 0 if (BF52x || BF54x)
175185
default 2 if (BF537 || BF536 || BF534)
176186
default 3 if (BF561 ||BF533 || BF532 || BF531)
187+
default 4 if (BF538 || BF539)
177188

178189
config BF_REV_MAX
179190
int
180191
default 2 if (BF52x || BF54x)
181192
default 3 if (BF537 || BF536 || BF534)
182-
default 5 if (BF561)
193+
default 5 if (BF561|| BF538 || BF539)
183194
default 6 if (BF533 || BF532 || BF531)
184195

185196
choice
@@ -206,11 +217,11 @@ config BF_REV_0_3
206217

207218
config BF_REV_0_4
208219
bool "0.4"
209-
depends on (BF561 || BF533 || BF532 || BF531)
220+
depends on (BF561 || BF533 || BF532 || BF531 || BF538 || BF539)
210221

211222
config BF_REV_0_5
212223
bool "0.5"
213-
depends on (BF561 || BF533 || BF532 || BF531)
224+
depends on (BF561 || BF533 || BF532 || BF531 || BF538 || BF539)
214225

215226
config BF_REV_0_6
216227
bool "0.6"
@@ -258,7 +269,7 @@ config MEM_MT48LC16M16A2TG_75
258269

259270
config MEM_MT48LC32M8A2_75
260271
bool
261-
depends on (BFIN537_STAMP || PNAV10)
272+
depends on (BFIN537_STAMP || PNAV10 || BFIN538_EZKIT)
262273
default y
263274

264275
config MEM_MT48LC8M32B2B5_7
@@ -275,6 +286,7 @@ source "arch/blackfin/mach-bf527/Kconfig"
275286
source "arch/blackfin/mach-bf533/Kconfig"
276287
source "arch/blackfin/mach-bf561/Kconfig"
277288
source "arch/blackfin/mach-bf537/Kconfig"
289+
source "arch/blackfin/mach-bf538/Kconfig"
278290
source "arch/blackfin/mach-bf548/Kconfig"
279291

280292
menu "Board customizations"
@@ -318,7 +330,7 @@ config CLKIN_HZ
318330
int "Frequency of the crystal on the board in Hz"
319331
default "11059200" if BFIN533_STAMP
320332
default "27000000" if BFIN533_EZKIT
321-
default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD)
333+
default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS || BLACKSTAMP || BFIN526_EZBRD || BFIN538_EZKIT)
322334
default "30000000" if BFIN561_EZKIT
323335
default "24576000" if PNAV10
324336
default "10000000" if BFIN532_IP0X
@@ -354,7 +366,7 @@ config VCO_MULT
354366
range 1 64
355367
default "22" if BFIN533_EZKIT
356368
default "45" if BFIN533_STAMP
357-
default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM)
369+
default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM || BFIN538_EZKIT)
358370
default "22" if BFIN533_BLUETECHNIX_CM
359371
default "20" if (BFIN537_BLUETECHNIX_CM || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM)
360372
default "20" if BFIN561_EZKIT
@@ -716,7 +728,7 @@ config BFIN_GPTIMERS
716728

717729
config BFIN_DMA_5XX
718730
bool "Enable DMA Support"
719-
depends on (BF52x || BF53x || BF561 || BF54x)
731+
depends on (BF52x || BF53x || BF561 || BF54x || BF538 || BF539)
720732
default y
721733
help
722734
DMA driver for BF5xx.

‎arch/blackfin/Makefile‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ machine-$(CONFIG_BF533) := bf533
3333
machine-$(CONFIG_BF534) := bf537
3434
machine-$(CONFIG_BF536) := bf537
3535
machine-$(CONFIG_BF537) := bf537
36+
machine-$(CONFIG_BF538) := bf538
37+
machine-$(CONFIG_BF539) := bf538
3638
machine-$(CONFIG_BF542) := bf548
3739
machine-$(CONFIG_BF544) := bf548
3840
machine-$(CONFIG_BF547) := bf548
@@ -54,6 +56,8 @@ cpu-$(CONFIG_BF533) := bf533
5456
cpu-$(CONFIG_BF534) := bf534
5557
cpu-$(CONFIG_BF536) := bf536
5658
cpu-$(CONFIG_BF537) := bf537
59+
cpu-$(CONFIG_BF538) := bf538
60+
cpu-$(CONFIG_BF539) := bf539
5761
cpu-$(CONFIG_BF542) := bf542
5862
cpu-$(CONFIG_BF544) := bf544
5963
cpu-$(CONFIG_BF547) := bf547

0 commit comments

Comments
 (0)