emif.txt 1.8 KB

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