xref: /linux/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1* EMIF family of TI SDRAM controllers
2
3EMIF - External Memory Interface - is an SDRAM controller used in
4TI SoCs. EMIF supports, based on the IP revision, one or more of
5DDR2/DDR3/LPDDR2 protocols. This binding describes a given instance
6of the EMIF IP and memory parts attached to it.
7
8Required properties:
9- compatible	: Should be of the form "ti,emif-<ip-rev>" where <ip-rev>
10  is the IP revision of the specific EMIF instance.
11		  For am437x should be ti,emif-am4372.
12
13- phy-type	: <u32> indicating the DDR phy type. Following are the
14  allowed values
15  <1>	: Attila PHY
16  <2>	: Intelli PHY
17
18- device-handle	: phandle to a "lpddr2" node representing the memory part
19
20- ti,hwmods	: For TI hwmods processing and omap device creation
21  the value shall be "emif<n>" where <n> is the number of the EMIF
22  instance with base 1.
23
24Optional properties:
25- cs1-used		: Have this property if CS1 of this EMIF
26  instance has a memory part attached to it. If there is a memory
27  part attached to CS1, it should be the same type as the one on CS0,
28  so there is no need to give the details of this memory part.
29
30- cal-resistor-per-cs	: Have this property if the board has one
31  calibration resistor per chip-select.
32
33- hw-caps-read-idle-ctrl: Have this property if the controller
34  supports read idle window programming
35
36- hw-caps-dll-calib-ctrl: Have this property if the controller
37  supports dll calibration control
38
39- hw-caps-ll-interface	: Have this property if the controller
40  has a low latency interface and corresponding interrupt events
41
42- hw-caps-temp-alert	: Have this property if the controller
43  has capability for generating SDRAM temperature alerts
44
45Example:
46
47emif1: emif@0x4c000000 {
48	compatible	= "ti,emif-4d";
49	ti,hwmods	= "emif2";
50	phy-type	= <1>;
51	device-handle	= <&elpida_ECB240ABACN>;
52	cs1-used;
53	hw-caps-read-idle-ctrl;
54	hw-caps-ll-interface;
55	hw-caps-temp-alert;
56};
57