summaryrefslogblamecommitdiffstats
path: root/Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt
blob: e3ea55763b0ac5945b108d6f1d6a4fb443a8d9b2 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                       
                        
                                                          

                  






                                                                                

        


                                                                   

                             




                                                        
                                    

                                        

                                 
  
Rockchip EMMC PHY
-----------------------

Required properties:
 - compatible: rockchip,rk3399-emmc-phy
 - #phy-cells: must be 0
 - reg: PHY register address offset and length in "general
   register files"

Optional clocks using the clock bindings (see ../clock/clock-bindings.txt),
specified by name:
 - clock-names: Should contain "emmcclk".  Although this is listed as optional
		(because most boards can get basic functionality without having
		access to it), it is strongly suggested.
 - clocks: Should have a phandle to the card clock exported by the SDHCI driver.

Example:


grf: syscon@ff770000 {
	compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd";
	#address-cells = <1>;
	#size-cells = <1>;

...

	emmcphy: phy@f780 {
		compatible = "rockchip,rk3399-emmc-phy";
		reg = <0xf780 0x20>;
		clocks = <&sdhci>;
		clock-names = "emmcclk";
		#phy-cells = <0>;
	};
};