2 * System MMR Register and memory map for ADSP-BF537
4 * Copyright 2005-2008 Analog Devices Inc.
6 * Licensed under the GPL-2 or later.
9 #ifndef __MACH_BF537_H__
10 #define __MACH_BF537_H__
12 #define OFFSET_(x) ((x) & 0x0000FFFF)
15 #define IMASK_IVG15 0x8000
16 #define IMASK_IVG14 0x4000
17 #define IMASK_IVG13 0x2000
18 #define IMASK_IVG12 0x1000
20 #define IMASK_IVG11 0x0800
21 #define IMASK_IVG10 0x0400
22 #define IMASK_IVG9 0x0200
23 #define IMASK_IVG8 0x0100
25 #define IMASK_IVG7 0x0080
26 #define IMASK_IVGTMR 0x0040
27 #define IMASK_IVGHW 0x0020
29 /***************************/
32 #define BFIN_DSUBBANKS 4
34 #define BFIN_DLINES 64
35 #define BFIN_ISUBBANKS 4
37 #define BFIN_ILINES 32
57 #define DMC_ENABLE (2<<2) /*yes, 2, not 1 */
59 /********************************* EBIU Settings ************************************/
60 #define AMBCTL0VAL ((CONFIG_BANK_1 << 16) | CONFIG_BANK_0)
61 #define AMBCTL1VAL ((CONFIG_BANK_3 << 16) | CONFIG_BANK_2)
63 #ifdef CONFIG_C_AMBEN_ALL
64 #define V_AMBEN AMBEN_ALL
69 #ifdef CONFIG_C_AMBEN_B0
70 #define V_AMBEN AMBEN_B0
72 #ifdef CONFIG_C_AMBEN_B0_B1
73 #define V_AMBEN AMBEN_B0_B1
75 #ifdef CONFIG_C_AMBEN_B0_B1_B2
76 #define V_AMBEN AMBEN_B0_B1_B2
78 #ifdef CONFIG_C_AMCKEN
79 #define V_AMCKEN AMCKEN
83 #ifdef CONFIG_C_CDPRIO
84 #define V_CDPRIO 0x100
89 #define AMGCTLVAL (V_AMBEN | V_AMCKEN | V_CDPRIO)
105 #error "Unknown CPU type - This kernel doesn't seem to be configured properly"
108 #endif /* __MACH_BF537_H__ */