1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-ufs-phy.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm QMP PHY controller (UFS, SC8280XP)
8
9maintainers:
10  - Vinod Koul <vkoul@kernel.org>
11
12description:
13  The QMP PHY controller supports physical layer functionality for a number of
14  controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
15
16properties:
17  compatible:
18    enum:
19      - qcom,sc8280xp-qmp-ufs-phy
20
21  reg:
22    maxItems: 1
23
24  clocks:
25    maxItems: 2
26
27  clock-names:
28    items:
29      - const: ref
30      - const: ref_aux
31
32  power-domains:
33    maxItems: 1
34
35  resets:
36    maxItems: 1
37
38  reset-names:
39    items:
40      - const: ufsphy
41
42  vdda-phy-supply: true
43
44  vdda-pll-supply: true
45
46  "#clock-cells":
47    const: 1
48
49  "#phy-cells":
50    const: 0
51
52required:
53  - compatible
54  - reg
55  - clocks
56  - clock-names
57  - power-domains
58  - resets
59  - reset-names
60  - vdda-phy-supply
61  - vdda-pll-supply
62  - "#phy-cells"
63
64additionalProperties: false
65
66examples:
67  - |
68    #include <dt-bindings/clock/qcom,gcc-sc8280xp.h>
69
70    ufs_mem_phy: phy@1d87000 {
71        compatible = "qcom,sc8280xp-qmp-ufs-phy";
72        reg = <0x01d87000 0x1000>;
73
74        clocks = <&gcc GCC_UFS_REF_CLKREF_CLK>, <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
75        clock-names = "ref", "ref_aux";
76
77        power-domains = <&gcc UFS_PHY_GDSC>;
78
79        resets = <&ufs_mem_hc 0>;
80        reset-names = "ufsphy";
81
82        vdda-phy-supply = <&vreg_l6b>;
83        vdda-pll-supply = <&vreg_l3b>;
84
85        #phy-cells = <0>;
86    };
87