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