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