Merge tag 'tegra-for-4.8-i2c' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra...
[cascardo/linux.git] / Documentation / devicetree / bindings / phy / rockchip-emmc-phy.txt
1 Rockchip EMMC PHY
2 -----------------------
3
4 Required properties:
5  - compatible: rockchip,rk3399-emmc-phy
6  - #phy-cells: must be 0
7  - reg: PHY register address offset and length in "general
8    register files"
9
10 Optional clocks using the clock bindings (see ../clock/clock-bindings.txt),
11 specified by name:
12  - clock-names: Should contain "emmcclk".  Although this is listed as optional
13                 (because most boards can get basic functionality without having
14                 access to it), it is strongly suggested.
15  - clocks: Should have a phandle to the card clock exported by the SDHCI driver.
16
17 Example:
18
19
20 grf: syscon@ff770000 {
21         compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
22         #address-cells = <1>;
23         #size-cells = <1>;
24
25 ...
26
27         emmcphy: phy@f780 {
28                 compatible = "rockchip,rk3399-emmc-phy";
29                 reg = <0xf780 0x20>;
30                 clocks = <&sdhci>;
31                 clock-names = "emmcclk";
32                 #phy-cells = <0>;
33         };
34 };