Merge branch 'async-scsi-resume' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / Documentation / devicetree / bindings / phy / ti-phy.txt
1 TI PHY: DT DOCUMENTATION FOR PHYs in TI PLATFORMs
2
3 OMAP CONTROL PHY
4
5 Required properties:
6  - compatible: Should be one of
7  "ti,control-phy-otghs" - if it has otghs_control mailbox register as on OMAP4.
8  "ti,control-phy-usb2" - if it has Power down bit in control_dev_conf register
9                         e.g. USB2_PHY on OMAP5.
10  "ti,control-phy-pipe3" - if it has DPLL and individual Rx & Tx power control
11                         e.g. USB3 PHY and SATA PHY on OMAP5.
12  "ti,control-phy-usb2-dra7" - if it has power down register like USB2 PHY on
13                         DRA7 platform.
14  "ti,control-phy-usb2-am437" - if it has power down register like USB2 PHY on
15                         AM437 platform.
16  - reg : Address and length of the register set for the device. It contains
17    the address of "otghs_control" for control-phy-otghs or "power" register
18    for other types.
19  - reg-names: should be "otghs_control" control-phy-otghs and "power" for
20    other types.
21
22 omap_control_usb: omap-control-usb@4a002300 {
23         compatible = "ti,control-phy-otghs";
24         reg = <0x4a00233c 0x4>;
25         reg-names = "otghs_control";
26 };
27
28 OMAP USB2 PHY
29
30 Required properties:
31  - compatible: Should be "ti,omap-usb2"
32  - reg : Address and length of the register set for the device.
33  - #phy-cells: determine the number of cells that should be given in the
34    phandle while referencing this phy.
35
36 Optional properties:
37  - ctrl-module : phandle of the control module used by PHY driver to power on
38    the PHY.
39
40 This is usually a subnode of ocp2scp to which it is connected.
41
42 usb2phy@4a0ad080 {
43         compatible = "ti,omap-usb2";
44         reg = <0x4a0ad080 0x58>;
45         ctrl-module = <&omap_control_usb>;
46         #phy-cells = <0>;
47 };
48
49 TI PIPE3 PHY
50
51 Required properties:
52  - compatible: Should be "ti,phy-usb3" or "ti,phy-pipe3-sata".
53    "ti,omap-usb3" is deprecated.
54  - reg : Address and length of the register set for the device.
55  - reg-names: The names of the register addresses corresponding to the registers
56    filled in "reg".
57  - #phy-cells: determine the number of cells that should be given in the
58    phandle while referencing this phy.
59  - clocks: a list of phandles and clock-specifier pairs, one for each entry in
60    clock-names.
61  - clock-names: should include:
62    * "wkupclk" - wakeup clock.
63    * "sysclk" - system clock.
64    * "refclk" - reference clock.
65
66 Optional properties:
67  - ctrl-module : phandle of the control module used by PHY driver to power on
68    the PHY.
69
70 This is usually a subnode of ocp2scp to which it is connected.
71
72 usb3phy@4a084400 {
73         compatible = "ti,phy-usb3";
74         reg = <0x4a084400 0x80>,
75               <0x4a084800 0x64>,
76               <0x4a084c00 0x40>;
77         reg-names = "phy_rx", "phy_tx", "pll_ctrl";
78         ctrl-module = <&omap_control_usb>;
79         #phy-cells = <0>;
80         clocks = <&usb_phy_cm_clk32k>,
81                  <&sys_clkin>,
82                  <&usb_otg_ss_refclk960m>;
83         clock-names =   "wkupclk",
84                         "sysclk",
85                         "refclk";
86 };