Go to the documentation of this file.
16 #ifndef AT91RM9200_SDRAMC_H
17 #define AT91RM9200_SDRAMC_H
20 #define AT91RM9200_SDRAMC_MR 0x90
21 #define AT91RM9200_SDRAMC_MODE (0xf << 0)
22 #define AT91RM9200_SDRAMC_MODE_NORMAL (0 << 0)
23 #define AT91RM9200_SDRAMC_MODE_NOP (1 << 0)
24 #define AT91RM9200_SDRAMC_MODE_PRECHARGE (2 << 0)
25 #define AT91RM9200_SDRAMC_MODE_LMR (3 << 0)
26 #define AT91RM9200_SDRAMC_MODE_REFRESH (4 << 0)
27 #define AT91RM9200_SDRAMC_DBW (1 << 4)
28 #define AT91RM9200_SDRAMC_DBW_32 (0 << 4)
29 #define AT91RM9200_SDRAMC_DBW_16 (1 << 4)
31 #define AT91RM9200_SDRAMC_TR 0x94
32 #define AT91RM9200_SDRAMC_COUNT (0xfff << 0)
34 #define AT91RM9200_SDRAMC_CR 0x98
35 #define AT91RM9200_SDRAMC_NC (3 << 0)
36 #define AT91RM9200_SDRAMC_NC_8 (0 << 0)
37 #define AT91RM9200_SDRAMC_NC_9 (1 << 0)
38 #define AT91RM9200_SDRAMC_NC_10 (2 << 0)
39 #define AT91RM9200_SDRAMC_NC_11 (3 << 0)
40 #define AT91RM9200_SDRAMC_NR (3 << 2)
41 #define AT91RM9200_SDRAMC_NR_11 (0 << 2)
42 #define AT91RM9200_SDRAMC_NR_12 (1 << 2)
43 #define AT91RM9200_SDRAMC_NR_13 (2 << 2)
44 #define AT91RM9200_SDRAMC_NB (1 << 4)
45 #define AT91RM9200_SDRAMC_NB_2 (0 << 4)
46 #define AT91RM9200_SDRAMC_NB_4 (1 << 4)
47 #define AT91RM9200_SDRAMC_CAS (3 << 5)
48 #define AT91RM9200_SDRAMC_CAS_2 (2 << 5)
49 #define AT91RM9200_SDRAMC_TWR (0xf << 7)
50 #define AT91RM9200_SDRAMC_TRC (0xf << 11)
51 #define AT91RM9200_SDRAMC_TRP (0xf << 15)
52 #define AT91RM9200_SDRAMC_TRCD (0xf << 19)
53 #define AT91RM9200_SDRAMC_TRAS (0xf << 23)
54 #define AT91RM9200_SDRAMC_TXSR (0xf << 27)
56 #define AT91RM9200_SDRAMC_SRR 0x9c
57 #define AT91RM9200_SDRAMC_LPR 0xa0
58 #define AT91RM9200_SDRAMC_IER 0xa4
59 #define AT91RM9200_SDRAMC_IDR 0xa8
60 #define AT91RM9200_SDRAMC_IMR 0xac
61 #define AT91RM9200_SDRAMC_ISR 0xb0