summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt
blob: 73eda56201907988f3cdc44fd4cd3afd4e28b16a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Rockchip EMMC PHY
-----------------------

Required properties:
 - compatible: rockchip,rk3399-emmc-phy
 - rockchip,grf : phandle to the syscon managing the "general
   register files"
 - #phy-cells: must be 0
 - reg-offset: PHY configure reg address offset in "general
   register files"
 - ctrl-base: controller digital block's physical address.

Optional Properties:
 - freq-sel: must match the freq of emmc clock, only support the
   following frequency: 50000000, 100000000, 150000000, 200000000.
   If not assigned any freq, default use 200000000Hz.
 - dr-sel: select the drive strength of phy IO.
 - opdelay: select the output delay count number for clk IO and data IO

Example:

emmcphy: phy {
	compatible = "rockchip,rk3399-emmc-phy";
	rockchip,grf = <&grf>;
	reg-offset = <0xf780>;
	ctrl-base = <0xfe330000>;
	#phy-cells = <0>;
};