Merge branch 'asoc-4.20' into asoc-linus
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / phy / uniphier-usb2-phy.txt
1 Socionext UniPhier USB2 PHY
2
3 This describes the devicetree bindings for PHY interface built into
4 USB2 controller implemented on Socionext UniPhier SoCs.
5
6 Pro4 SoC has both USB2 and USB3 host controllers, however, this USB3
7 controller doesn't include its own High-Speed PHY. This needs to specify
8 USB2 PHY instead of USB3 HS-PHY.
9
10 Required properties:
11 - compatible: Should contain one of the following:
12     "socionext,uniphier-pro4-usb2-phy" - for Pro4 SoC
13     "socionext,uniphier-ld11-usb2-phy" - for LD11 SoC
14
15 Sub-nodes:
16 Each PHY should be represented as a sub-node.
17
18 Sub-nodes required properties:
19 - #phy-cells: Should be 0.
20 - reg: The number of the PHY.
21
22 Sub-nodes optional properties:
23 - vbus-supply: A phandle to the regulator for USB VBUS.
24
25 Refer to phy/phy-bindings.txt for the generic PHY binding properties.
26
27 Example:
28         soc-glue@5f800000 {
29                 ...
30                 usb-phy {
31                         compatible = "socionext,uniphier-ld11-usb2-phy";
32                         usb_phy0: phy@0 {
33                                 reg = <0>;
34                                 #phy-cells = <0>;
35                         };
36                         ...
37                 };
38         };
39
40         usb@5a800100 {
41                 compatible = "socionext,uniphier-ehci", "generic-ehci";
42                 ...
43                 phy-names = "usb";
44                 phys = <&usb_phy0>;
45         };