blob: 57d28c0d5696a62b58c8bcf24e3f2ef8681c84f7 [file] [log] [blame]
Shawn Lin7ed0c962016-01-05 09:07:14 +08001Rockchip EMMC PHY
2-----------------------
3
4Required properties:
5 - compatible: rockchip,rk3399-emmc-phy
Shawn Lin7ed0c962016-01-05 09:07:14 +08006 - #phy-cells: must be 0
Heiko Stuebner5128de852016-03-24 22:29:03 +01007 - reg: PHY register address offset and length in "general
Shawn Lin7ed0c962016-01-05 09:07:14 +08008 register files"
9
Christoph Muellner2c1a4b02019-03-22 12:34:51 +010010Optional properties:
Douglas Anderson11075452016-06-20 10:56:51 -070011 - clock-names: Should contain "emmcclk". Although this is listed as optional
12 (because most boards can get basic functionality without having
13 access to it), it is strongly suggested.
Christoph Muellner2c1a4b02019-03-22 12:34:51 +010014 See ../clock/clock-bindings.txt for details.
Douglas Anderson11075452016-06-20 10:56:51 -070015 - clocks: Should have a phandle to the card clock exported by the SDHCI driver.
Christoph Muellner2c1a4b02019-03-22 12:34:51 +010016 - drive-impedance-ohm: Specifies the drive impedance in Ohm.
17 Possible values are 33, 40, 50, 66 and 100.
18 If not set, the default value of 50 will be applied.
Chris Ruehl88d9f402020-12-15 09:44:07 +080019 - rockchip,enable-strobe-pulldown: Enable internal pull-down for the strobe
20 line. If not set, pull-down is not used.
21 - rockchip,output-tapdelay-select: Specifies the phyctrl_otapdlysec register.
22 If not set, the register defaults to 0x4.
23 Maximum value 0xf.
Douglas Anderson11075452016-06-20 10:56:51 -070024
Shawn Lin7ed0c962016-01-05 09:07:14 +080025Example:
26
Heiko Stuebner332184a2016-03-24 22:29:02 +010027
28grf: syscon@ff770000 {
29 compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
Heiko Stuebner5128de852016-03-24 22:29:03 +010030 #address-cells = <1>;
31 #size-cells = <1>;
Heiko Stuebner332184a2016-03-24 22:29:02 +010032
33...
34
35 emmcphy: phy@f780 {
36 compatible = "rockchip,rk3399-emmc-phy";
Heiko Stuebner5128de852016-03-24 22:29:03 +010037 reg = <0xf780 0x20>;
Douglas Anderson11075452016-06-20 10:56:51 -070038 clocks = <&sdhci>;
39 clock-names = "emmcclk";
Christoph Muellner2c1a4b02019-03-22 12:34:51 +010040 drive-impedance-ohm = <50>;
Heiko Stuebner332184a2016-03-24 22:29:02 +010041 #phy-cells = <0>;
42 };
Shawn Lin7ed0c962016-01-05 09:07:14 +080043};