ufshcd-pltfrm.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. * Universal Flash Storage (UFS) Host Controller
  2. UFSHC nodes are defined to describe on-chip UFS host controllers.
  3. Each UFS controller instance should have its own node.
  4. Required properties:
  5. - compatible : compatible list, contains "jedec,ufs-1.1"
  6. - interrupts : <interrupt mapping for UFS host controller IRQ>
  7. - reg : <registers mapping>
  8. Optional properties:
  9. - vdd-hba-supply : phandle to UFS host controller supply regulator node
  10. - vcc-supply : phandle to VCC supply regulator node
  11. - vccq-supply : phandle to VCCQ supply regulator node
  12. - vccq2-supply : phandle to VCCQ2 supply regulator node
  13. - vcc-supply-1p8 : For embedded UFS devices, valid VCC range is 1.7-1.95V
  14. or 2.7-3.6V. This boolean property when set, specifies
  15. to use low voltage range of 1.7-1.95V. Note for external
  16. UFS cards this property is invalid and valid VCC range is
  17. always 2.7-3.6V.
  18. - vcc-max-microamp : specifies max. load that can be drawn from vcc supply
  19. - vccq-max-microamp : specifies max. load that can be drawn from vccq supply
  20. - vccq2-max-microamp : specifies max. load that can be drawn from vccq2 supply
  21. - <name>-fixed-regulator : boolean property specifying that <name>-supply is a fixed regulator
  22. - clocks : List of phandle and clock specifier pairs
  23. - clock-names : List of clock input name strings sorted in the same
  24. order as the clocks property.
  25. - freq-table-hz : Array of <min max> operating frequencies stored in the same
  26. order as the clocks property. If this property is not
  27. defined or a value in the array is "0" then it is assumed
  28. that the frequency is set by the parent clock or a
  29. fixed rate clock source.
  30. Note: If above properties are not defined it can be assumed that the supply
  31. regulators or clocks are always on.
  32. Example:
  33. ufshc@0xfc598000 {
  34. compatible = "jedec,ufs-1.1";
  35. reg = <0xfc598000 0x800>;
  36. interrupts = <0 28 0>;
  37. vdd-hba-supply = <&xxx_reg0>;
  38. vdd-hba-fixed-regulator;
  39. vcc-supply = <&xxx_reg1>;
  40. vcc-supply-1p8;
  41. vccq-supply = <&xxx_reg2>;
  42. vccq2-supply = <&xxx_reg3>;
  43. vcc-max-microamp = 500000;
  44. vccq-max-microamp = 200000;
  45. vccq2-max-microamp = 200000;
  46. clocks = <&core 0>, <&ref 0>, <&iface 0>;
  47. clock-names = "core_clk", "ref_clk", "iface_clk";
  48. freq-table-hz = <100000000 200000000>, <0 0>, <0 0>;
  49. };