1 Qualcomm QMP PHY controller
2 ===========================
4 QMP phy controller supports physical layer functionality for a number of
5 controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
8 - compatible: compatible list, contains:
9 "qcom,ipq8074-qmp-pcie-phy" for PCIe phy on IPQ8074
10 "qcom,msm8996-qmp-pcie-phy" for 14nm PCIe phy on msm8996,
11 "qcom,msm8996-qmp-usb3-phy" for 14nm USB3 phy on msm8996.
13 - reg: offset and length of register set for PHY's common serdes block.
15 - #clock-cells: must be 1
16 - Phy pll outputs a bunch of clocks for Tx, Rx and Pipe
17 interface (for pipe based PHYs). These clock are then gate-controlled
19 - #address-cells: must be 1
20 - #size-cells: must be 1
21 - ranges: must be present
23 - clocks: a list of phandles and clock-specifier pairs,
24 one for each entry in clock-names.
25 - clock-names: "cfg_ahb" for phy config clock,
26 "aux" for phy aux clock,
27 "ref" for 19.2 MHz ref clk,
28 For "qcom,msm8996-qmp-pcie-phy" must contain:
29 "aux", "cfg_ahb", "ref".
30 For "qcom,msm8996-qmp-usb3-phy" must contain:
31 "aux", "cfg_ahb", "ref".
33 - resets: a list of phandles and reset controller specifier pairs,
34 one for each entry in reset-names.
35 - reset-names: "phy" for reset of phy block,
36 "common" for phy common block reset,
37 "cfg" for phy's ahb cfg block reset (Optional).
38 For "qcom,msm8996-qmp-pcie-phy" must contain:
39 "phy", "common", "cfg".
40 For "qcom,msm8996-qmp-usb3-phy" must contain
42 For "qcom,ipq8074-qmp-pcie-phy" must contain:
45 - vdda-phy-supply: Phandle to a regulator supply to PHY core block.
46 - vdda-pll-supply: Phandle to 1.8V regulator supply to PHY refclk pll block.
49 - vddp-ref-clk-supply: Phandle to a regulator supply to any specific refclk
53 - Each device node of QMP phy is required to have as many child nodes as
54 the number of lanes the PHY has.
56 Required properties for child node:
57 - reg: list of offset and length pairs of register sets for PHY blocks -
60 - #phy-cells: must be 0
62 - clocks: a list of phandles and clock-specifier pairs,
63 one for each entry in clock-names.
64 - clock-names: Must contain following for pcie and usb qmp phys:
65 "pipe<lane-number>" for pipe clock specific to each lane.
66 - clock-output-names: Name of the PHY clock that will be the parent for
69 For "qcom,ipq8074-qmp-pcie-phy":
70 - "pcie20_phy0_pipe_clk" Pipe Clock parent
72 "pcie20_phy1_pipe_clk"
74 - resets: a list of phandles and reset controller specifier pairs,
75 one for each entry in reset-names.
76 - reset-names: Must contain following for pcie qmp phys:
77 "lane<lane-number>" for reset specific to each lane.
81 compatible = "qcom,msm8996-qmp-pcie-phy";
82 reg = <0x34000 0x488>;
88 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
89 <&gcc GCC_PCIE_PHY_CFG_AHB_CLK>,
90 <&gcc GCC_PCIE_CLKREF_CLK>;
91 clock-names = "aux", "cfg_ahb", "ref";
93 vdda-phy-supply = <&pm8994_l28>;
94 vdda-pll-supply = <&pm8994_l12>;
96 resets = <&gcc GCC_PCIE_PHY_BCR>,
97 <&gcc GCC_PCIE_PHY_COM_BCR>,
98 <&gcc GCC_PCIE_PHY_COM_NOCSR_BCR>;
99 reset-names = "phy", "common", "cfg";
101 pciephy_0: lane@35000 {
102 reg = <0x35000 0x130>,
107 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
108 clock-names = "pipe0";
109 clock-output-names = "pcie_0_pipe_clk_src";
110 resets = <&gcc GCC_PCIE_0_PHY_BCR>;
111 reset-names = "lane0";
114 pciephy_1: lane@36000 {