xref: /freebsd-src/sys/contrib/device-tree/Bindings/phy/qcom-pcie2-phy.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotQualcomm PCIe2 PHY controller
2*c66ec88fSEmmanuel Vadot=============================
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThe Qualcomm PCIe2 PHY is a Synopsys based phy found in a number of Qualcomm
5*c66ec88fSEmmanuel Vadotplatforms.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotRequired properties:
8*c66ec88fSEmmanuel Vadot - compatible: compatible list, should be:
9*c66ec88fSEmmanuel Vadot	       "qcom,qcs404-pcie2-phy", "qcom,pcie2-phy"
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot - reg: offset and length of the PHY register set.
12*c66ec88fSEmmanuel Vadot - #phy-cells: must be 0.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot - clocks: a clock-specifier pair for the "pipe" clock
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot - vdda-vp-supply: phandle to low voltage regulator
17*c66ec88fSEmmanuel Vadot - vdda-vph-supply: phandle to high voltage regulator
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot - resets: reset-specifier pairs for the "phy" and "pipe" resets
20*c66ec88fSEmmanuel Vadot - reset-names: list of resets, should contain:
21*c66ec88fSEmmanuel Vadot		"phy" and "pipe"
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot - clock-output-names: name of the outgoing clock signal from the PHY PLL
24*c66ec88fSEmmanuel Vadot - #clock-cells: must be 0
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel VadotExample:
27*c66ec88fSEmmanuel Vadot phy@7786000 {
28*c66ec88fSEmmanuel Vadot	compatible = "qcom,qcs404-pcie2-phy", "qcom,pcie2-phy";
29*c66ec88fSEmmanuel Vadot	reg = <0x07786000 0xb8>;
30*c66ec88fSEmmanuel Vadot
31*c66ec88fSEmmanuel Vadot	clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
32*c66ec88fSEmmanuel Vadot	resets = <&gcc GCC_PCIEPHY_0_PHY_BCR>,
33*c66ec88fSEmmanuel Vadot	         <&gcc GCC_PCIE_0_PIPE_ARES>;
34*c66ec88fSEmmanuel Vadot	reset-names = "phy", "pipe";
35*c66ec88fSEmmanuel Vadot
36*c66ec88fSEmmanuel Vadot	vdda-vp-supply = <&vreg_l3_1p05>;
37*c66ec88fSEmmanuel Vadot	vdda-vph-supply = <&vreg_l5_1p8>;
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot	clock-output-names = "pcie_0_pipe_clk";
40*c66ec88fSEmmanuel Vadot	#clock-cells = <0>;
41*c66ec88fSEmmanuel Vadot	#phy-cells = <0>;
42*c66ec88fSEmmanuel Vadot };
43