emif.txt 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. For am437x should be ti,emif-am4372.
  10. - phy-type : <u32> indicating the DDR phy type. Following are the
  11. allowed values
  12. <1> : Attila PHY
  13. <2> : Intelli PHY
  14. - device-handle : phandle to a "lpddr2" node representing the memory part
  15. - ti,hwmods : For TI hwmods processing and omap device creation
  16. the value shall be "emif<n>" where <n> is the number of the EMIF
  17. instance with base 1.
  18. Optional properties:
  19. - cs1-used : Have this property if CS1 of this EMIF
  20. instance has a memory part attached to it. If there is a memory
  21. part attached to CS1, it should be the same type as the one on CS0,
  22. so there is no need to give the details of this memory part.
  23. - cal-resistor-per-cs : Have this property if the board has one
  24. calibration resistor per chip-select.
  25. - hw-caps-read-idle-ctrl: Have this property if the controller
  26. supports read idle window programming
  27. - hw-caps-dll-calib-ctrl: Have this property if the controller
  28. supports dll calibration control
  29. - hw-caps-ll-interface : Have this property if the controller
  30. has a low latency interface and corresponding interrupt events
  31. - hw-caps-temp-alert : Have this property if the controller
  32. has capability for generating SDRAM temperature alerts
  33. Example:
  34. emif1: emif@0x4c000000 {
  35. compatible = "ti,emif-4d";
  36. ti,hwmods = "emif2";
  37. phy-type = <1>;
  38. device-handle = <&elpida_ECB240ABACN>;
  39. cs1-used;
  40. hw-caps-read-idle-ctrl;
  41. hw-caps-ll-interface;
  42. hw-caps-temp-alert;
  43. };