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