Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / phy / rockchip-usb-phy.txt
1 ROCKCHIP USB2 PHY
2
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  - #address-cells: should be 1
9  - #size-cells: should be 0
10
11 Deprecated properties:
12  - rockchip,grf : phandle to the syscon managing the "general
13    register files" - phy should be a child of the GRF instead
14
15 Sub-nodes:
16 Each PHY should be represented as a sub-node.
17
18 Sub-nodes
19 required properties:
20 - #phy-cells: should be 0
21 - reg: PHY configure reg address offset in GRF
22                 "0x320" - for PHY attach to OTG controller
23                 "0x334" - for PHY attach to HOST0 controller
24                 "0x348" - for PHY attach to HOST1 controller
25
26 Optional Properties:
27 - clocks : phandle + clock specifier for the phy clocks
28 - clock-names: string, clock name, must be "phyclk"
29 - #clock-cells: for users of the phy-pll, should be 0
30
31 Example:
32
33 grf: syscon@ff770000 {
34         compatible = "rockchip,rk3288-grf", "syscon", "simple-mfd";
35
36 ...
37
38         usbphy: phy {
39                 compatible = "rockchip,rk3288-usb-phy";
40                 #address-cells = <1>;
41                 #size-cells = <0>;
42
43                 usbphy0: usb-phy0 {
44                         #phy-cells = <0>;
45                         reg = <0x320>;
46                 };
47         };
48 };