Merge remote-tracking branch 'asoc/fix/cirrus' into asoc-linus
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / phy / rockchip-usb-phy.txt
1 ROCKCHIP USB2 PHY
2
3 Required properties:
4  - compatible: rockchip,rk3288-usb-phy
5  - rockchip,grf : phandle to the syscon managing the "general
6    register files"
7  - #address-cells: should be 1
8  - #size-cells: should be 0
9
10 Sub-nodes:
11 Each PHY should be represented as a sub-node.
12
13 Sub-nodes
14 required properties:
15 - #phy-cells: should be 0
16 - reg: PHY configure reg address offset in GRF
17                 "0x320" - for PHY attach to OTG controller
18                 "0x334" - for PHY attach to HOST0 controller
19                 "0x348" - for PHY attach to HOST1 controller
20
21 Optional Properties:
22 - clocks : phandle + clock specifier for the phy clocks
23 - clock-names: string, clock name, must be "phyclk"
24
25 Example:
26
27 usbphy: phy {
28         compatible = "rockchip,rk3288-usb-phy";
29         rockchip,grf = <&grf>;
30         #address-cells = <1>;
31         #size-cells = <0>;
32
33         usbphy0: usb-phy0 {
34                 #phy-cells = <0>;
35                 reg = <0x320>;
36         };
37 };