xref: /linux/Documentation/devicetree/bindings/phy/qcom,sata-phy.yaml (revision c7546e2c3cb739a3c1a2f5acaf9bb629d401afe5)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/phy/qcom,sata-phy.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm SATA PHY Controller
8
9maintainers:
10  - Bjorn Andersson <andersson@kernel.org>
11  - Konrad Dybcio <konrad.dybcio@linaro.org>
12
13description:
14  The Qualcomm SATA PHY describes on-chip SATA Physical layer controllers.
15
16properties:
17  compatible:
18    enum:
19      - qcom,ipq806x-sata-phy
20      - qcom,apq8064-sata-phy
21
22  reg:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28  clock-names:
29    const: cfg
30
31  '#phy-cells':
32    const: 0
33
34required:
35  - compatible
36  - reg
37  - clocks
38  - clock-names
39  - '#phy-cells'
40
41additionalProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/clock/qcom,gcc-ipq806x.h>
46    sata_phy: sata-phy@1b400000 {
47        compatible = "qcom,ipq806x-sata-phy";
48        reg = <0x1b400000 0x200>;
49
50        clocks = <&gcc SATA_PHY_CFG_CLK>;
51        clock-names = "cfg";
52
53        #phy-cells = <0>;
54    };
55
56