diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2014-09-11 13:02:45 -0400 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2014-09-24 05:48:33 -0400 |
commit | ea1e53c7f147c48e5227f7ba67224ee99b67f865 (patch) | |
tree | b170b7fadc7536324000f1c3da18e146ccba716b | |
parent | 89ae1f5d4c9a62dd32e14d5edfb7221d2f73039e (diff) |
phy: phy-stih407-usb: Add dt documentation for USB picophy found on stih407 SoC family
This patch adds the dt documentation for the usb picophy found on stih407 SoC family
available from STMicroelectronics.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
-rw-r--r-- | Documentation/devicetree/bindings/phy/phy-stih407-usb.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt b/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt new file mode 100644 index 000000000000..1ef8228db73b --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-stih407-usb.txt | |||
@@ -0,0 +1,30 @@ | |||
1 | ST STiH407 USB PHY controller | ||
2 | |||
3 | This file documents the dt bindings for the usb picoPHY driver which is the PHY for both USB2 and USB3 | ||
4 | host controllers (when controlling usb2/1.1 devices) available on STiH407 SoC family from STMicroelectronics. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible : should be "st,stih407-usb2-phy" | ||
8 | - reg : contain the offset and length of the system configuration registers | ||
9 | used as glue logic to control & parameter phy | ||
10 | - reg-names : the names of the system configuration registers in "reg", should be "param" and "reg" | ||
11 | - st,syscfg : sysconfig register to manage phy parameter at driver level | ||
12 | - resets : list of phandle and reset specifier pairs. There should be two entries, one | ||
13 | for the whole phy and one for the port | ||
14 | - reset-names : list of reset signal names. Should be "global" and "port" | ||
15 | See: Documentation/devicetree/bindings/reset/st,sti-powerdown.txt | ||
16 | See: Documentation/devicetree/bindings/reset/reset.txt | ||
17 | |||
18 | Example: | ||
19 | |||
20 | usb2_picophy0: usbpicophy@f8 { | ||
21 | compatible = "st,stih407-usb2-phy"; | ||
22 | reg = <0xf8 0x04>, /* syscfg 5062 */ | ||
23 | <0xf4 0x04>; /* syscfg 5061 */ | ||
24 | reg-names = "param", "ctrl"; | ||
25 | #phy-cells = <0>; | ||
26 | st,syscfg = <&syscfg_core>; | ||
27 | resets = <&softreset STIH407_PICOPHY_SOFTRESET>, | ||
28 | <&picophyreset STIH407_PICOPHY0_RESET>; | ||
29 | reset-names = "global", "port"; | ||
30 | }; | ||