xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom-usb-ipq4019-phy.yaml (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/phy/qcom-usb-ipq4019-phy.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: Qualcom IPQ40xx Dakota HS/SS USB PHY
8
9maintainers:
10  - Robert Marko <robert.marko@sartura.hr>
11
12properties:
13  compatible:
14    enum:
15      - qcom,usb-ss-ipq4019-phy
16      - qcom,usb-hs-ipq4019-phy
17
18  reg:
19    maxItems: 1
20
21  resets:
22    maxItems: 2
23
24  reset-names:
25    items:
26      - const: por_rst
27      - const: srif_rst
28
29  "#phy-cells":
30    const: 0
31
32required:
33  - compatible
34  - reg
35  - resets
36  - reset-names
37  - "#phy-cells"
38
39examples:
40  - |
41    #include <dt-bindings/clock/qcom,gcc-ipq4019.h>
42
43    hsphy@a8000 {
44      #phy-cells = <0>;
45      compatible = "qcom,usb-hs-ipq4019-phy";
46      reg = <0xa8000 0x40>;
47      resets = <&gcc USB2_HSPHY_POR_ARES>,
48               <&gcc USB2_HSPHY_S_ARES>;
49      reset-names = "por_rst", "srif_rst";
50    };
51