2013-11-25 15:31:26 +05:30
TI PHY: DT DOCUMENTATION FOR PHYs in TI PLATFORMs
2012-09-06 20:27:06 +05:30
2014-03-06 16:38:38 +02:00
OMAP CONTROL PHY
Required properties:
- compatible: Should be one of
"ti,control-phy-otghs" - if it has otghs_control mailbox register as on OMAP4.
"ti,control-phy-usb2" - if it has Power down bit in control_dev_conf register
e.g. USB2_PHY on OMAP5.
"ti,control-phy-pipe3" - if it has DPLL and individual Rx & Tx power control
e.g. USB3 PHY and SATA PHY on OMAP5.
2014-03-07 12:15:01 +02:00
"ti,control-phy-usb2-dra7" - if it has power down register like USB2 PHY on
2014-03-06 16:38:38 +02:00
DRA7 platform.
2014-03-07 12:15:01 +02:00
"ti,control-phy-usb2-am437" - if it has power down register like USB2 PHY on
2014-03-06 16:38:38 +02:00
AM437 platform.
- reg : Address and length of the register set for the device. It contains
the address of "otghs_control" for control-phy-otghs or "power" register
for other types.
- reg-names: should be "otghs_control" control-phy-otghs and "power" for
other types.
omap_control_usb: omap-control-usb@4a002300 {
compatible = "ti,control-phy-otghs";
reg = <0x4a00233c 0x4>;
reg-names = "otghs_control";
};
2012-09-06 20:27:06 +05:30
OMAP USB2 PHY
Required properties:
- compatible: Should be "ti,omap-usb2"
2013-01-25 15:54:00 +05:30
- reg : Address and length of the register set for the device.
2013-09-27 11:53:29 +05:30
- #phy-cells: determine the number of cells that should be given in the
phandle while referencing this phy.
2014-05-05 12:54:41 +03:00
- clocks: a list of phandles and clock-specifier pairs, one for each entry in
clock-names.
- clock-names: should include:
* "wkupclk" - wakeup clock.
* "refclk" - reference clock (optional).
2012-09-06 20:27:06 +05:30
2013-01-25 15:53:57 +05:30
Optional properties:
- ctrl-module : phandle of the control module used by PHY driver to power on
the PHY.
2012-09-06 20:27:06 +05:30
This is usually a subnode of ocp2scp to which it is connected.
usb2phy@4a0ad080 {
compatible = "ti,omap-usb2";
2013-01-25 15:54:00 +05:30
reg = <0x4a0ad080 0x58>;
2013-01-25 15:53:57 +05:30
ctrl-module = <&omap_control_usb>;
2013-09-27 11:53:29 +05:30
#phy-cells = <0>;
2014-05-05 12:54:41 +03:00
clocks = <&usb_phy_cm_clk32k>, <&usb_otg_ss_refclk960m>;
clock-names = "wkupclk", "refclk";
2012-09-06 20:27:06 +05:30
};
2013-01-25 08:21:48 +05:30
2013-11-25 15:31:26 +05:30
TI PIPE3 PHY
2013-01-25 08:21:48 +05:30
Required properties:
2014-03-07 12:15:03 +02:00
- compatible: Should be "ti,phy-usb3" or "ti,phy-pipe3-sata".
"ti,omap-usb3" is deprecated.
2013-01-25 08:21:48 +05:30
- reg : Address and length of the register set for the device.
- reg-names: The names of the register addresses corresponding to the registers
filled in "reg".
2013-09-27 11:53:29 +05:30
- #phy-cells: determine the number of cells that should be given in the
phandle while referencing this phy.
2014-03-07 12:15:02 +02:00
- clocks: a list of phandles and clock-specifier pairs, one for each entry in
clock-names.
- clock-names: should include:
* "wkupclk" - wakeup clock.
* "sysclk" - system clock.
* "refclk" - reference clock.
2013-01-25 08:21:48 +05:30
Optional properties:
- ctrl-module : phandle of the control module used by PHY driver to power on
the PHY.
This is usually a subnode of ocp2scp to which it is connected.
usb3phy@4a084400 {
2013-11-25 15:31:26 +05:30
compatible = "ti,phy-usb3";
2013-01-25 08:21:48 +05:30
reg = <0x4a084400 0x80>,
<0x4a084800 0x64>,
<0x4a084c00 0x40>;
reg-names = "phy_rx", "phy_tx", "pll_ctrl";
ctrl-module = <&omap_control_usb>;
2013-09-27 11:53:29 +05:30
#phy-cells = <0>;
2014-03-07 12:15:02 +02:00
clocks = <&usb_phy_cm_clk32k>,
<&sys_clkin>,
<&usb_otg_ss_refclk960m>;
clock-names = "wkupclk",
"sysclk",
"refclk";
2013-01-25 08:21:48 +05:30
};