|
@@ -778,3 +778,54 @@
|
|
|
#define TRAS_10 0x00000280 /* SDRAM tRAS = 10 cycles */
|
|
|
#define TRAS_11 0x000002C0 /* SDRAM tRAS = 11 cycles */
|
|
|
#define TRAS_12 0x00000300 /* SDRAM tRAS = 12 cycles */
|
|
|
+#define TRAS_13 0x00000340 /* SDRAM tRAS = 13 cycles */
|
|
|
+#define TRAS_14 0x00000380 /* SDRAM tRAS = 14 cycles */
|
|
|
+#define TRAS_15 0x000003C0 /* SDRAM tRAS = 15 cycles */
|
|
|
+#define TRP_1 0x00000800 /* SDRAM tRP = 1 cycle */
|
|
|
+#define TRP_2 0x00001000 /* SDRAM tRP = 2 cycles */
|
|
|
+#define TRP_3 0x00001800 /* SDRAM tRP = 3 cycles */
|
|
|
+#define TRP_4 0x00002000 /* SDRAM tRP = 4 cycles */
|
|
|
+#define TRP_5 0x00002800 /* SDRAM tRP = 5 cycles */
|
|
|
+#define TRP_6 0x00003000 /* SDRAM tRP = 6 cycles */
|
|
|
+#define TRP_7 0x00003800 /* SDRAM tRP = 7 cycles */
|
|
|
+#define TRCD_1 0x00008000 /* SDRAM tRCD = 1 cycle */
|
|
|
+#define TRCD_2 0x00010000 /* SDRAM tRCD = 2 cycles */
|
|
|
+#define TRCD_3 0x00018000 /* SDRAM tRCD = 3 cycles */
|
|
|
+#define TRCD_4 0x00020000 /* SDRAM tRCD = 4 cycles */
|
|
|
+#define TRCD_5 0x00028000 /* SDRAM tRCD = 5 cycles */
|
|
|
+#define TRCD_6 0x00030000 /* SDRAM tRCD = 6 cycles */
|
|
|
+#define TRCD_7 0x00038000 /* SDRAM tRCD = 7 cycles */
|
|
|
+#define TWR_1 0x00080000 /* SDRAM tWR = 1 cycle */
|
|
|
+#define TWR_2 0x00100000 /* SDRAM tWR = 2 cycles */
|
|
|
+#define TWR_3 0x00180000 /* SDRAM tWR = 3 cycles */
|
|
|
+#define PUPSD 0x00200000 /*Power-up start delay */
|
|
|
+#define PSM 0x00400000 /* SDRAM power-up sequence = Precharge, mode register set, 8 CBR refresh cycles */
|
|
|
+#define PSS 0x00800000 /* enable SDRAM power-up sequence on next SDRAM access */
|
|
|
+#define SRFS 0x01000000 /* Start SDRAM self-refresh mode */
|
|
|
+#define EBUFE 0x02000000 /* Enable external buffering timing */
|
|
|
+#define FBBRW 0x04000000 /* Fast back-to-back read write enable */
|
|
|
+#define EMREN 0x10000000 /* Extended mode register enable */
|
|
|
+#define TCSR 0x20000000 /* Temp compensated self refresh value 85 deg C */
|
|
|
+#define CDDBG 0x40000000 /* Tristate SDRAM controls during bus grant */
|
|
|
+
|
|
|
+/* EBIU_SDBCTL Masks */
|
|
|
+#define EBE 0x00000001 /* Enable SDRAM external bank */
|
|
|
+#define EBSZ_16 0x00000000 /* SDRAM external bank size = 16MB */
|
|
|
+#define EBSZ_32 0x00000002 /* SDRAM external bank size = 32MB */
|
|
|
+#define EBSZ_64 0x00000004 /* SDRAM external bank size = 64MB */
|
|
|
+#define EBSZ_128 0x00000006 /* SDRAM external bank size = 128MB */
|
|
|
+#define EBCAW_8 0x00000000 /* SDRAM external bank column address width = 8 bits */
|
|
|
+#define EBCAW_9 0x00000010 /* SDRAM external bank column address width = 9 bits */
|
|
|
+#define EBCAW_10 0x00000020 /* SDRAM external bank column address width = 9 bits */
|
|
|
+#define EBCAW_11 0x00000030 /* SDRAM external bank column address width = 9 bits */
|
|
|
+
|
|
|
+/* EBIU_SDSTAT Masks */
|
|
|
+#define SDCI 0x00000001 /* SDRAM controller is idle */
|
|
|
+#define SDSRA 0x00000002 /* SDRAM SDRAM self refresh is active */
|
|
|
+#define SDPUA 0x00000004 /* SDRAM power up active */
|
|
|
+#define SDRS 0x00000008 /* SDRAM is in reset state */
|
|
|
+#define SDEASE 0x00000010 /* SDRAM EAB sticky error status - W1C */
|
|
|
+#define BGSTAT 0x00000020 /* Bus granted */
|
|
|
+
|
|
|
+
|
|
|
+#endif /* _DEF_BF532_H */
|