Merge commit '33b458d276bb' into kvm-master
[sfrench/cifs-2.6.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  - clocks: a list of phandles and clock-specifier pairs, one for each entry in
36    clock-names.
37  - clock-names: should include:
38    * "wkupclk" - wakeup clock.
39    * "refclk" - reference clock (optional).
40
41 Optional properties:
42  - ctrl-module : phandle of the control module used by PHY driver to power on
43    the PHY.
44
45 This is usually a subnode of ocp2scp to which it is connected.
46
47 usb2phy@4a0ad080 {
48         compatible = "ti,omap-usb2";
49         reg = <0x4a0ad080 0x58>;
50         ctrl-module = <&omap_control_usb>;
51         #phy-cells = <0>;
52         clocks = <&usb_phy_cm_clk32k>, <&usb_otg_ss_refclk960m>;
53         clock-names = "wkupclk", "refclk";
54 };
55
56 TI PIPE3 PHY
57
58 Required properties:
59  - compatible: Should be "ti,phy-usb3" or "ti,phy-pipe3-sata".
60    "ti,omap-usb3" is deprecated.
61  - reg : Address and length of the register set for the device.
62  - reg-names: The names of the register addresses corresponding to the registers
63    filled in "reg".
64  - #phy-cells: determine the number of cells that should be given in the
65    phandle while referencing this phy.
66  - clocks: a list of phandles and clock-specifier pairs, one for each entry in
67    clock-names.
68  - clock-names: should include:
69    * "wkupclk" - wakeup clock.
70    * "sysclk" - system clock.
71    * "refclk" - reference clock.
72
73 Optional properties:
74  - ctrl-module : phandle of the control module used by PHY driver to power on
75    the PHY.
76
77 This is usually a subnode of ocp2scp to which it is connected.
78
79 usb3phy@4a084400 {
80         compatible = "ti,phy-usb3";
81         reg = <0x4a084400 0x80>,
82               <0x4a084800 0x64>,
83               <0x4a084c00 0x40>;
84         reg-names = "phy_rx", "phy_tx", "pll_ctrl";
85         ctrl-module = <&omap_control_usb>;
86         #phy-cells = <0>;
87         clocks = <&usb_phy_cm_clk32k>,
88                  <&sys_clkin>,
89                  <&usb_otg_ss_refclk960m>;
90         clock-names =   "wkupclk",
91                         "sysclk",
92                         "refclk";
93 };