blob: 305e3df3d9b1eb9a994c845eb28959275d2f20ed [file] [log] [blame]
Kishon Vijay Abraham I8d7212b2013-11-25 15:31:26 +05301TI PHY: DT DOCUMENTATION FOR PHYs in TI PLATFORMs
Kishon Vijay Abraham I657b3062012-09-06 20:27:06 +05302
Roger Quadrosd95faae2014-03-06 16:38:38 +02003OMAP CONTROL PHY
4
5Required 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.
Kishon Vijay Abraham If0e2cf72014-06-25 23:22:57 +053012 "ti,control-phy-pcie" - for pcie to support external clock for pcie and to
13 set PCS delay value.
14 e.g. PCIE PHY in DRA7x
Roger Quadrose9995202014-03-07 12:15:01 +020015 "ti,control-phy-usb2-dra7" - if it has power down register like USB2 PHY on
Roger Quadrosd95faae2014-03-06 16:38:38 +020016 DRA7 platform.
Roger Quadrose9995202014-03-07 12:15:01 +020017 "ti,control-phy-usb2-am437" - if it has power down register like USB2 PHY on
Roger Quadrosd95faae2014-03-06 16:38:38 +020018 AM437 platform.
Kishon Vijay Abraham If0e2cf72014-06-25 23:22:57 +053019 - reg : register ranges as listed in the reg-names property
20 - reg-names: "otghs_control" for control-phy-otghs
21 "power", "pcie_pcs" and "control_sma" for control-phy-pcie
22 "power" for all other types
Roger Quadrosd95faae2014-03-06 16:38:38 +020023
24omap_control_usb: omap-control-usb@4a002300 {
25 compatible = "ti,control-phy-otghs";
26 reg = <0x4a00233c 0x4>;
27 reg-names = "otghs_control";
28};
29
Kishon Vijay Abraham I657b3062012-09-06 20:27:06 +053030OMAP USB2 PHY
31
32Required properties:
33 - compatible: Should be "ti,omap-usb2"
Kishon Vijay Abraham Ica784be2013-01-25 15:54:00 +053034 - reg : Address and length of the register set for the device.
Kishon Vijay Abraham I975d9632013-09-27 11:53:29 +053035 - #phy-cells: determine the number of cells that should be given in the
36 phandle while referencing this phy.
Roger Quadros54f4d144e2014-05-05 12:54:41 +030037 - clocks: a list of phandles and clock-specifier pairs, one for each entry in
38 clock-names.
39 - clock-names: should include:
40 * "wkupclk" - wakeup clock.
41 * "refclk" - reference clock (optional).
Kishon Vijay Abraham I657b3062012-09-06 20:27:06 +053042
Kishon Vijay Abraham I01658f02013-01-25 15:53:57 +053043Optional properties:
44 - ctrl-module : phandle of the control module used by PHY driver to power on
45 the PHY.
46
Kishon Vijay Abraham I657b3062012-09-06 20:27:06 +053047This is usually a subnode of ocp2scp to which it is connected.
48
49usb2phy@4a0ad080 {
50 compatible = "ti,omap-usb2";
Kishon Vijay Abraham Ica784be2013-01-25 15:54:00 +053051 reg = <0x4a0ad080 0x58>;
Kishon Vijay Abraham I01658f02013-01-25 15:53:57 +053052 ctrl-module = <&omap_control_usb>;
Kishon Vijay Abraham I975d9632013-09-27 11:53:29 +053053 #phy-cells = <0>;
Roger Quadros54f4d144e2014-05-05 12:54:41 +030054 clocks = <&usb_phy_cm_clk32k>, <&usb_otg_ss_refclk960m>;
55 clock-names = "wkupclk", "refclk";
Kishon Vijay Abraham I657b3062012-09-06 20:27:06 +053056};
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +053057
Kishon Vijay Abraham I8d7212b2013-11-25 15:31:26 +053058TI PIPE3 PHY
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +053059
60Required properties:
Kishon Vijay Abraham I99bbd482014-06-25 23:22:56 +053061 - compatible: Should be "ti,phy-usb3", "ti,phy-pipe3-sata" or
62 "ti,phy-pipe3-pcie. "ti,omap-usb3" is deprecated.
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +053063 - reg : Address and length of the register set for the device.
64 - reg-names: The names of the register addresses corresponding to the registers
65 filled in "reg".
Kishon Vijay Abraham I975d9632013-09-27 11:53:29 +053066 - #phy-cells: determine the number of cells that should be given in the
67 phandle while referencing this phy.
Roger Quadros57554002014-03-07 12:15:02 +020068 - clocks: a list of phandles and clock-specifier pairs, one for each entry in
69 clock-names.
70 - clock-names: should include:
71 * "wkupclk" - wakeup clock.
72 * "sysclk" - system clock.
73 * "refclk" - reference clock.
Kishon Vijay Abraham I99bbd482014-06-25 23:22:56 +053074 * "dpll_ref" - external dpll ref clk
75 * "dpll_ref_m2" - external dpll ref clk
76 * "phy-div" - divider for apll
77 * "div-clk" - apll clock
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +053078
79Optional properties:
80 - ctrl-module : phandle of the control module used by PHY driver to power on
81 the PHY.
Kishon Vijay Abraham I99bbd482014-06-25 23:22:56 +053082 - id: If there are multiple instance of the same type, in order to
83 differentiate between each instance "id" can be used (e.g., multi-lane PCIe
84 PHY). If "id" is not provided, it is set to default value of '1'.
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +053085
86This is usually a subnode of ocp2scp to which it is connected.
87
88usb3phy@4a084400 {
Kishon Vijay Abraham I8d7212b2013-11-25 15:31:26 +053089 compatible = "ti,phy-usb3";
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +053090 reg = <0x4a084400 0x80>,
91 <0x4a084800 0x64>,
92 <0x4a084c00 0x40>;
93 reg-names = "phy_rx", "phy_tx", "pll_ctrl";
94 ctrl-module = <&omap_control_usb>;
Kishon Vijay Abraham I975d9632013-09-27 11:53:29 +053095 #phy-cells = <0>;
Roger Quadros57554002014-03-07 12:15:02 +020096 clocks = <&usb_phy_cm_clk32k>,
97 <&sys_clkin>,
98 <&usb_otg_ss_refclk960m>;
99 clock-names = "wkupclk",
100 "sysclk",
101 "refclk";
Kishon Vijay Abraham I57f6ce02013-01-25 08:21:48 +0530102};