xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom,ipq5332-usb-hsphy.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2aa1a8ff2SEmmanuel Vadot%YAML 1.2
3aa1a8ff2SEmmanuel Vadot---
4aa1a8ff2SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/qcom,ipq5332-usb-hsphy.yaml#
5aa1a8ff2SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6aa1a8ff2SEmmanuel Vadot
7aa1a8ff2SEmmanuel Vadottitle: M31 USB PHY
8aa1a8ff2SEmmanuel Vadot
9aa1a8ff2SEmmanuel Vadotmaintainers:
10aa1a8ff2SEmmanuel Vadot  - Sricharan Ramabadhran <quic_srichara@quicinc.com>
11aa1a8ff2SEmmanuel Vadot  - Varadarajan Narayanan <quic_varada@quicinc.com>
12aa1a8ff2SEmmanuel Vadot
13aa1a8ff2SEmmanuel Vadotdescription:
14aa1a8ff2SEmmanuel Vadot  USB M31 PHY (https://www.m31tech.com) found in Qualcomm
15aa1a8ff2SEmmanuel Vadot  IPQ5018, IPQ5332 SoCs.
16aa1a8ff2SEmmanuel Vadot
17aa1a8ff2SEmmanuel Vadotproperties:
18aa1a8ff2SEmmanuel Vadot  compatible:
19aa1a8ff2SEmmanuel Vadot    items:
20*84943d6fSEmmanuel Vadot      - enum:
21*84943d6fSEmmanuel Vadot          - qcom,ipq5018-usb-hsphy
22*84943d6fSEmmanuel Vadot          - qcom,ipq5332-usb-hsphy
23aa1a8ff2SEmmanuel Vadot
24aa1a8ff2SEmmanuel Vadot  "#phy-cells":
25aa1a8ff2SEmmanuel Vadot    const: 0
26aa1a8ff2SEmmanuel Vadot
27aa1a8ff2SEmmanuel Vadot  reg:
28aa1a8ff2SEmmanuel Vadot    maxItems: 1
29aa1a8ff2SEmmanuel Vadot
30aa1a8ff2SEmmanuel Vadot  clocks:
31aa1a8ff2SEmmanuel Vadot    maxItems: 1
32aa1a8ff2SEmmanuel Vadot
33aa1a8ff2SEmmanuel Vadot  clock-names:
34aa1a8ff2SEmmanuel Vadot    items:
35aa1a8ff2SEmmanuel Vadot      - const: cfg_ahb
36aa1a8ff2SEmmanuel Vadot
37aa1a8ff2SEmmanuel Vadot  resets:
38aa1a8ff2SEmmanuel Vadot    maxItems: 1
39aa1a8ff2SEmmanuel Vadot
40aa1a8ff2SEmmanuel Vadot  vdd-supply:
41aa1a8ff2SEmmanuel Vadot    description:
42aa1a8ff2SEmmanuel Vadot      Phandle to 5V regulator supply to PHY digital circuit.
43aa1a8ff2SEmmanuel Vadot
44aa1a8ff2SEmmanuel VadotadditionalProperties: false
45aa1a8ff2SEmmanuel Vadot
46aa1a8ff2SEmmanuel Vadotexamples:
47aa1a8ff2SEmmanuel Vadot  - |
48aa1a8ff2SEmmanuel Vadot    #include <dt-bindings/clock/qcom,ipq5332-gcc.h>
49aa1a8ff2SEmmanuel Vadot    usb-phy@7b000 {
50aa1a8ff2SEmmanuel Vadot        compatible = "qcom,ipq5332-usb-hsphy";
51aa1a8ff2SEmmanuel Vadot        reg = <0x0007b000 0x12c>;
52aa1a8ff2SEmmanuel Vadot
53aa1a8ff2SEmmanuel Vadot        clocks = <&gcc GCC_USB0_PHY_CFG_AHB_CLK>;
54aa1a8ff2SEmmanuel Vadot        clock-names = "cfg_ahb";
55aa1a8ff2SEmmanuel Vadot
56aa1a8ff2SEmmanuel Vadot        #phy-cells = <0>;
57aa1a8ff2SEmmanuel Vadot
58aa1a8ff2SEmmanuel Vadot        resets = <&gcc GCC_QUSB2_0_PHY_BCR>;
59aa1a8ff2SEmmanuel Vadot
60aa1a8ff2SEmmanuel Vadot        vdd-supply = <&regulator_fixed_5p0>;
61aa1a8ff2SEmmanuel Vadot    };
62