Documentation: rockchip-emmc-phy: add ctrl-base support
[firefly-linux-kernel-4.4.55.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  - rockchip,grf : phandle to the syscon managing the "general
7    register files"
8  - #phy-cells: must be 0
9  - reg-offset: PHY configure reg address offset in "general
10    register files"
11  - ctrl-base: controller digital block's physical address.
12
13 Optional Properties:
14  - freq-sel: must match the freq of emmc clock, only support the
15    following frequency: 50000000, 100000000, 150000000, 200000000.
16    If not assigned any freq, default use 200000000Hz.
17  - dr-sel: select the drive strength of phy IO.
18  - opdelay: select the output delay count number for clk IO and data IO
19
20 Example:
21
22 emmcphy: phy {
23         compatible = "rockchip,rk3399-emmc-phy";
24         rockchip,grf = <&grf>;
25         reg-offset = <0xf780>;
26         ctrl-base = <0xfe330000>;
27         #phy-cells = <0>;
28 };