Go to the documentation of this file.
15 #ifndef AT91SAM9260_MATRIX_H
16 #define AT91SAM9260_MATRIX_H
18 #define AT91_MATRIX_MCFG0 0x00
19 #define AT91_MATRIX_MCFG1 0x04
20 #define AT91_MATRIX_MCFG2 0x08
21 #define AT91_MATRIX_MCFG3 0x0C
22 #define AT91_MATRIX_MCFG4 0x10
23 #define AT91_MATRIX_MCFG5 0x14
24 #define AT91_MATRIX_ULBT (7 << 0)
25 #define AT91_MATRIX_ULBT_INFINITE (0 << 0)
26 #define AT91_MATRIX_ULBT_SINGLE (1 << 0)
27 #define AT91_MATRIX_ULBT_FOUR (2 << 0)
28 #define AT91_MATRIX_ULBT_EIGHT (3 << 0)
29 #define AT91_MATRIX_ULBT_SIXTEEN (4 << 0)
31 #define AT91_MATRIX_SCFG0 0x40
32 #define AT91_MATRIX_SCFG1 0x44
33 #define AT91_MATRIX_SCFG2 0x48
34 #define AT91_MATRIX_SCFG3 0x4C
35 #define AT91_MATRIX_SCFG4 0x50
36 #define AT91_MATRIX_SLOT_CYCLE (0xff << 0)
37 #define AT91_MATRIX_DEFMSTR_TYPE (3 << 16)
38 #define AT91_MATRIX_DEFMSTR_TYPE_NONE (0 << 16)
39 #define AT91_MATRIX_DEFMSTR_TYPE_LAST (1 << 16)
40 #define AT91_MATRIX_DEFMSTR_TYPE_FIXED (2 << 16)
41 #define AT91_MATRIX_FIXED_DEFMSTR (7 << 18)
42 #define AT91_MATRIX_ARBT (3 << 24)
43 #define AT91_MATRIX_ARBT_ROUND_ROBIN (0 << 24)
44 #define AT91_MATRIX_ARBT_FIXED_PRIORITY (1 << 24)
46 #define AT91_MATRIX_PRAS0 0x80
47 #define AT91_MATRIX_PRAS1 0x88
48 #define AT91_MATRIX_PRAS2 0x90
49 #define AT91_MATRIX_PRAS3 0x98
50 #define AT91_MATRIX_PRAS4 0xA0
51 #define AT91_MATRIX_M0PR (3 << 0)
52 #define AT91_MATRIX_M1PR (3 << 4)
53 #define AT91_MATRIX_M2PR (3 << 8)
54 #define AT91_MATRIX_M3PR (3 << 12)
55 #define AT91_MATRIX_M4PR (3 << 16)
56 #define AT91_MATRIX_M5PR (3 << 20)
58 #define AT91_MATRIX_MRCR 0x100
59 #define AT91_MATRIX_RCB0 (1 << 0)
60 #define AT91_MATRIX_RCB1 (1 << 1)
62 #define AT91_MATRIX_EBICSA 0x11C
63 #define AT91_MATRIX_CS1A (1 << 1)
64 #define AT91_MATRIX_CS1A_SMC (0 << 1)
65 #define AT91_MATRIX_CS1A_SDRAMC (1 << 1)
66 #define AT91_MATRIX_CS3A (1 << 3)
67 #define AT91_MATRIX_CS3A_SMC (0 << 3)
68 #define AT91_MATRIX_CS3A_SMC_SMARTMEDIA (1 << 3)
69 #define AT91_MATRIX_CS4A (1 << 4)
70 #define AT91_MATRIX_CS4A_SMC (0 << 4)
71 #define AT91_MATRIX_CS4A_SMC_CF1 (1 << 4)
72 #define AT91_MATRIX_CS5A (1 << 5)
73 #define AT91_MATRIX_CS5A_SMC (0 << 5)
74 #define AT91_MATRIX_CS5A_SMC_CF2 (1 << 5)
75 #define AT91_MATRIX_DBPUC (1 << 8)
76 #define AT91_MATRIX_VDDIOMSEL (1 << 16)
77 #define AT91_MATRIX_VDDIOMSEL_1_8V (0 << 16)
78 #define AT91_MATRIX_VDDIOMSEL_3_3V (1 << 16)