17ed0c961SShawn LinRockchip EMMC PHY
27ed0c961SShawn Lin-----------------------
37ed0c961SShawn Lin
47ed0c961SShawn LinRequired properties:
57ed0c961SShawn Lin - compatible: rockchip,rk3399-emmc-phy
67ed0c961SShawn Lin - #phy-cells: must be 0
75128de85SHeiko Stuebner - reg: PHY register address offset and length in "general
87ed0c961SShawn Lin   register files"
97ed0c961SShawn Lin
102c1a4b0cSChristoph MuellnerOptional properties:
1111075456SDouglas Anderson - clock-names: Should contain "emmcclk".  Although this is listed as optional
1211075456SDouglas Anderson		(because most boards can get basic functionality without having
1311075456SDouglas Anderson		access to it), it is strongly suggested.
142c1a4b0cSChristoph Muellner		See ../clock/clock-bindings.txt for details.
1511075456SDouglas Anderson - clocks: Should have a phandle to the card clock exported by the SDHCI driver.
162c1a4b0cSChristoph Muellner - drive-impedance-ohm: Specifies the drive impedance in Ohm.
172c1a4b0cSChristoph Muellner                        Possible values are 33, 40, 50, 66 and 100.
182c1a4b0cSChristoph Muellner                        If not set, the default value of 50 will be applied.
19*88d9f40cSChris Ruehl - rockchip,enable-strobe-pulldown: Enable internal pull-down for the strobe
20*88d9f40cSChris Ruehl                                    line.  If not set, pull-down is not used.
21*88d9f40cSChris Ruehl - rockchip,output-tapdelay-select: Specifies the phyctrl_otapdlysec register.
2286e21677SChris Ruehl                                    If not set, the register defaults to 0x4.
2386e21677SChris Ruehl                                    Maximum value 0xf.
2411075456SDouglas Anderson
257ed0c961SShawn LinExample:
267ed0c961SShawn Lin
27332184adSHeiko Stuebner
28332184adSHeiko Stuebnergrf: syscon@ff770000 {
29332184adSHeiko Stuebner	compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
305128de85SHeiko Stuebner	#address-cells = <1>;
315128de85SHeiko Stuebner	#size-cells = <1>;
32332184adSHeiko Stuebner
33332184adSHeiko Stuebner...
34332184adSHeiko Stuebner
35332184adSHeiko Stuebner	emmcphy: phy@f780 {
367ed0c961SShawn Lin		compatible = "rockchip,rk3399-emmc-phy";
375128de85SHeiko Stuebner		reg = <0xf780 0x20>;
3811075456SDouglas Anderson		clocks = <&sdhci>;
3911075456SDouglas Anderson		clock-names = "emmcclk";
402c1a4b0cSChristoph Muellner		drive-impedance-ohm = <50>;
417ed0c961SShawn Lin		#phy-cells = <0>;
427ed0c961SShawn Lin	};
43332184adSHeiko Stuebner};
44