xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/clock/rk3399-ddr.h (revision 976227fdc99bb6d4ab950558ecda48116723e145)
1 /*	$NetBSD: rk3399-ddr.h,v 1.1.1.1 2019/01/22 14:57:02 jmcneill Exp $	*/
2 
3 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
4 
5 #ifndef DT_BINDINGS_DDR_H
6 #define DT_BINDINGS_DDR_H
7 
8 /*
9  * DDR3 SDRAM Standard Speed Bins include tCK, tRCD, tRP, tRAS and tRC for
10  * each corresponding bin.
11  */
12 
13 /* DDR3-800 (5-5-5) */
14 #define DDR3_800D	0
15 /* DDR3-800 (6-6-6) */
16 #define DDR3_800E	1
17 /* DDR3-1066 (6-6-6) */
18 #define DDR3_1066E	2
19 /* DDR3-1066 (7-7-7) */
20 #define DDR3_1066F	3
21 /* DDR3-1066 (8-8-8) */
22 #define DDR3_1066G	4
23 /* DDR3-1333 (7-7-7) */
24 #define DDR3_1333F	5
25 /* DDR3-1333 (8-8-8) */
26 #define DDR3_1333G	6
27 /* DDR3-1333 (9-9-9) */
28 #define DDR3_1333H	7
29 /* DDR3-1333 (10-10-10) */
30 #define DDR3_1333J 	8
31 /* DDR3-1600 (8-8-8) */
32 #define DDR3_1600G	9
33 /* DDR3-1600 (9-9-9) */
34 #define DDR3_1600H	10
35 /* DDR3-1600 (10-10-10) */
36 #define DDR3_1600J	11
37 /* DDR3-1600 (11-11-11) */
38 #define DDR3_1600K	12
39 /* DDR3-1600 (10-10-10) */
40 #define DDR3_1866J	13
41 /* DDR3-1866 (11-11-11) */
42 #define DDR3_1866K	14
43 /* DDR3-1866 (12-12-12) */
44 #define DDR3_1866L	15
45 /* DDR3-1866 (13-13-13) */
46 #define DDR3_1866M	16
47 /* DDR3-2133 (11-11-11) */
48 #define DDR3_2133K	17
49 /* DDR3-2133 (12-12-12) */
50 #define DDR3_2133L	18
51 /* DDR3-2133 (13-13-13) */
52 #define DDR3_2133M	19
53 /* DDR3-2133 (14-14-14) */
54 #define DDR3_2133N	20
55 /* DDR3 ATF default */
56 #define DDR3_DEFAULT	21
57 
58 #endif
59