Go to the documentation of this file.
12 #ifndef __LINUX_JEDEC_DDR_H
13 #define __LINUX_JEDEC_DDR_H
15 #include <linux/types.h>
18 #define DDR_DENSITY_64Mb 1
19 #define DDR_DENSITY_128Mb 2
20 #define DDR_DENSITY_256Mb 3
21 #define DDR_DENSITY_512Mb 4
22 #define DDR_DENSITY_1Gb 5
23 #define DDR_DENSITY_2Gb 6
24 #define DDR_DENSITY_4Gb 7
25 #define DDR_DENSITY_8Gb 8
26 #define DDR_DENSITY_16Gb 9
27 #define DDR_DENSITY_32Gb 10
30 #define DDR_TYPE_DDR2 1
31 #define DDR_TYPE_DDR3 2
32 #define DDR_TYPE_LPDDR2_S4 3
33 #define DDR_TYPE_LPDDR2_S2 4
34 #define DDR_TYPE_LPDDR2_NVM 5
37 #define DDR_IO_WIDTH_4 1
38 #define DDR_IO_WIDTH_8 2
39 #define DDR_IO_WIDTH_16 3
40 #define DDR_IO_WIDTH_32 4
67 #define T_REFI_15_6 15600
68 #define T_REFI_7_8 7800
69 #define T_REFI_3_9 3900
72 #define T_RFC_90 90000
73 #define T_RFC_110 110000
74 #define T_RFC_130 130000
75 #define T_RFC_160 160000
76 #define T_RFC_210 210000
77 #define T_RFC_300 300000
78 #define T_RFC_350 350000
102 #define MR4_SDRAM_REF_RATE_SHIFT 0
103 #define MR4_SDRAM_REF_RATE_MASK 7
104 #define MR4_TUF_SHIFT 7
105 #define MR4_TUF_MASK (1 << 7)
108 #define SDRAM_TEMP_NOMINAL 0x3
109 #define SDRAM_TEMP_RESERVED_4 0x4
110 #define SDRAM_TEMP_HIGH_DERATE_REFRESH 0x5
111 #define SDRAM_TEMP_HIGH_DERATE_REFRESH_AND_TIMINGS 0x6
112 #define SDRAM_TEMP_VERY_HIGH_SHUTDOWN 0x7
114 #define NUM_DDR_ADDR_TABLE_ENTRIES 11
115 #define NUM_DDR_TIMING_TABLE_ENTRIES 4