Go to the documentation of this file.
12 #ifndef AT91SAM9X5_MATRIX_H
13 #define AT91SAM9X5_MATRIX_H
15 #define AT91_MATRIX_EBICSA (AT91_MATRIX + 0x120)
16 #define AT91_MATRIX_EBI_CS1A (1 << 1)
17 #define AT91_MATRIX_EBI_CS1A_SMC (0 << 1)
18 #define AT91_MATRIX_EBI_CS1A_SDRAMC (1 << 1)
19 #define AT91_MATRIX_EBI_CS3A (1 << 3)
20 #define AT91_MATRIX_EBI_CS3A_SMC (0 << 3)
21 #define AT91_MATRIX_EBI_CS3A_SMC_NANDFLASH (1 << 3)
22 #define AT91_MATRIX_EBI_DBPUC (1 << 8)
23 #define AT91_MATRIX_EBI_DBPU_ON (0 << 8)
24 #define AT91_MATRIX_EBI_DBPU_OFF (1 << 8)
25 #define AT91_MATRIX_EBI_VDDIOMSEL (1 << 16)
26 #define AT91_MATRIX_EBI_VDDIOMSEL_1_8V (0 << 16)
27 #define AT91_MATRIX_EBI_VDDIOMSEL_3_3V (1 << 16)
28 #define AT91_MATRIX_EBI_EBI_IOSR (1 << 17)
29 #define AT91_MATRIX_EBI_EBI_IOSR_REDUCED (0 << 17)
30 #define AT91_MATRIX_EBI_EBI_IOSR_NORMAL (1 << 17)
31 #define AT91_MATRIX_EBI_DDR_IOSR (1 << 18)
32 #define AT91_MATRIX_EBI_DDR_IOSR_REDUCED (0 << 18)
33 #define AT91_MATRIX_EBI_DDR_IOSR_NORMAL (1 << 18)
34 #define AT91_MATRIX_NFD0_SELECT (1 << 24)
35 #define AT91_MATRIX_NFD0_ON_D0 (0 << 24)
36 #define AT91_MATRIX_NFD0_ON_D16 (1 << 24)
37 #define AT91_MATRIX_DDR_MP_EN (1 << 25)
38 #define AT91_MATRIX_MP_OFF (0 << 25)
39 #define AT91_MATRIX_MP_ON (1 << 25)
41 #define AT91_MATRIX_WPMR (AT91_MATRIX + 0x1E4)
42 #define AT91_MATRIX_WPMR_WPEN (1 << 0)
43 #define AT91_MATRIX_WPMR_WP_WPDIS (0 << 0)
44 #define AT91_MATRIX_WPMR_WP_WPEN (1 << 0)
45 #define AT91_MATRIX_WPMR_WPKEY (0xFFFFFF << 8)
47 #define AT91_MATRIX_WPSR (AT91_MATRIX + 0x1E8)
48 #define AT91_MATRIX_WPSR_WPVS (1 << 0)
49 #define AT91_MATRIX_WPSR_NO_WPV (0 << 0)
50 #define AT91_MATRIX_WPSR_WPV (1 << 0)
51 #define AT91_MATRIX_WPSR_WPVSRC (0xFFFF << 8)