Merge tag 'powerpc-4.6-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / phy / rockchip-usb-phy.txt
blob68498d5603540343ffbf6c3d72f0c8fc65dc1a83
1 ROCKCHIP USB2 PHY
3 Required properties:
4  - compatible: matching the soc type, one of
5      "rockchip,rk3066a-usb-phy"
6      "rockchip,rk3188-usb-phy"
7      "rockchip,rk3288-usb-phy"
8  - rockchip,grf : phandle to the syscon managing the "general
9    register files"
10  - #address-cells: should be 1
11  - #size-cells: should be 0
13 Sub-nodes:
14 Each PHY should be represented as a sub-node.
16 Sub-nodes
17 required properties:
18 - #phy-cells: should be 0
19 - reg: PHY configure reg address offset in GRF
20                 "0x320" - for PHY attach to OTG controller
21                 "0x334" - for PHY attach to HOST0 controller
22                 "0x348" - for PHY attach to HOST1 controller
24 Optional Properties:
25 - clocks : phandle + clock specifier for the phy clocks
26 - clock-names: string, clock name, must be "phyclk"
27 - #clock-cells: for users of the phy-pll, should be 0
29 Example:
31 usbphy: phy {
32         compatible = "rockchip,rk3288-usb-phy";
33         rockchip,grf = <&grf>;
34         #address-cells = <1>;
35         #size-cells = <0>;
37         usbphy0: usb-phy0 {
38                 #phy-cells = <0>;
39                 reg = <0x320>;
40         };