ti-phy.txt 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. TI PHY: DT DOCUMENTATION FOR PHYs in TI PLATFORMs
  2. OMAP CONTROL PHY
  3. Required properties:
  4. - compatible: Should be one of
  5. "ti,control-phy-otghs" - if it has otghs_control mailbox register as on OMAP4.
  6. "ti,control-phy-usb2" - if it has Power down bit in control_dev_conf register
  7. e.g. USB2_PHY on OMAP5.
  8. "ti,control-phy-pipe3" - if it has DPLL and individual Rx & Tx power control
  9. e.g. USB3 PHY and SATA PHY on OMAP5.
  10. "ti,control-phy-pcie" - for pcie to support external clock for pcie and to
  11. set PCS delay value.
  12. e.g. PCIE PHY in DRA7x
  13. "ti,control-phy-usb2-dra7" - if it has power down register like USB2 PHY on
  14. DRA7 platform.
  15. "ti,control-phy-usb2-am437" - if it has power down register like USB2 PHY on
  16. AM437 platform.
  17. - reg : register ranges as listed in the reg-names property
  18. - reg-names: "otghs_control" for control-phy-otghs
  19. "power", "pcie_pcs" and "control_sma" for control-phy-pcie
  20. "power" for all other types
  21. omap_control_usb: omap-control-usb@4a002300 {
  22. compatible = "ti,control-phy-otghs";
  23. reg = <0x4a00233c 0x4>;
  24. reg-names = "otghs_control";
  25. };
  26. OMAP USB2 PHY
  27. Required properties:
  28. - compatible: Should be "ti,omap-usb2"
  29. - reg : Address and length of the register set for the device.
  30. - #phy-cells: determine the number of cells that should be given in the
  31. phandle while referencing this phy.
  32. - clocks: a list of phandles and clock-specifier pairs, one for each entry in
  33. clock-names.
  34. - clock-names: should include:
  35. * "wkupclk" - wakeup clock.
  36. * "refclk" - reference clock (optional).
  37. Optional properties:
  38. - ctrl-module : phandle of the control module used by PHY driver to power on
  39. the PHY.
  40. This is usually a subnode of ocp2scp to which it is connected.
  41. usb2phy@4a0ad080 {
  42. compatible = "ti,omap-usb2";
  43. reg = <0x4a0ad080 0x58>;
  44. ctrl-module = <&omap_control_usb>;
  45. #phy-cells = <0>;
  46. clocks = <&usb_phy_cm_clk32k>, <&usb_otg_ss_refclk960m>;
  47. clock-names = "wkupclk", "refclk";
  48. };
  49. TI PIPE3 PHY
  50. Required properties:
  51. - compatible: Should be "ti,phy-usb3", "ti,phy-pipe3-sata" or
  52. "ti,phy-pipe3-pcie. "ti,omap-usb3" is deprecated.
  53. - reg : Address and length of the register set for the device.
  54. - reg-names: The names of the register addresses corresponding to the registers
  55. filled in "reg".
  56. - #phy-cells: determine the number of cells that should be given in the
  57. phandle while referencing this phy.
  58. - clocks: a list of phandles and clock-specifier pairs, one for each entry in
  59. clock-names.
  60. - clock-names: should include:
  61. * "wkupclk" - wakeup clock.
  62. * "sysclk" - system clock.
  63. * "refclk" - reference clock.
  64. * "dpll_ref" - external dpll ref clk
  65. * "dpll_ref_m2" - external dpll ref clk
  66. * "phy-div" - divider for apll
  67. * "div-clk" - apll clock
  68. Optional properties:
  69. - ctrl-module : phandle of the control module used by PHY driver to power on
  70. the PHY.
  71. - id: If there are multiple instance of the same type, in order to
  72. differentiate between each instance "id" can be used (e.g., multi-lane PCIe
  73. PHY). If "id" is not provided, it is set to default value of '1'.
  74. This is usually a subnode of ocp2scp to which it is connected.
  75. usb3phy@4a084400 {
  76. compatible = "ti,phy-usb3";
  77. reg = <0x4a084400 0x80>,
  78. <0x4a084800 0x64>,
  79. <0x4a084c00 0x40>;
  80. reg-names = "phy_rx", "phy_tx", "pll_ctrl";
  81. ctrl-module = <&omap_control_usb>;
  82. #phy-cells = <0>;
  83. clocks = <&usb_phy_cm_clk32k>,
  84. <&sys_clkin>,
  85. <&usb_otg_ss_refclk960m>;
  86. clock-names = "wkupclk",
  87. "sysclk",
  88. "refclk";
  89. };