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
39additionalProperties: false
40
41examples:
42  - |
43    #include <dt-bindings/clock/qcom,gcc-ipq4019.h>
44
45    hsphy@a8000 {
46      #phy-cells = <0>;
47      compatible = "qcom,usb-hs-ipq4019-phy";
48      reg = <0xa8000 0x40>;
49      resets = <&gcc USB2_HSPHY_POR_ARES>,
50               <&gcc USB2_HSPHY_S_ARES>;
51      reset-names = "por_rst", "srif_rst";
52    };
53