xref: /openbmc/linux/Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1ee626660SRoger Quadros# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2ee626660SRoger Quadros%YAML 1.2
3ee626660SRoger Quadros---
4ee626660SRoger Quadros$id: http://devicetree.org/schemas/phy/ti,omap-usb2.yaml#
5ee626660SRoger Quadros$schema: http://devicetree.org/meta-schemas/core.yaml#
6ee626660SRoger Quadros
7ee626660SRoger Quadrostitle: OMAP USB2 PHY
8ee626660SRoger Quadros
9ee626660SRoger Quadrosmaintainers:
10ee626660SRoger Quadros  - Kishon Vijay Abraham I <kishon@ti.com>
11*0c0822bcSKrzysztof Kozlowski  - Roger Quadros <rogerq@kernel.org>
12ee626660SRoger Quadros
13ee626660SRoger Quadrosproperties:
14ee626660SRoger Quadros  compatible:
15ee626660SRoger Quadros    oneOf:
16ee626660SRoger Quadros      - items:
17ee626660SRoger Quadros          - enum:
18ee626660SRoger Quadros              - ti,dra7x-usb2
19ee626660SRoger Quadros              - ti,dra7x-usb2-phy2
20ee626660SRoger Quadros              - ti,am654-usb2
21ee626660SRoger Quadros          - enum:
22ee626660SRoger Quadros              - ti,omap-usb2
23ee626660SRoger Quadros      - items:
24ee626660SRoger Quadros          - const: ti,am437x-usb2
25ee626660SRoger Quadros      - items:
26ee626660SRoger Quadros          - const: ti,omap-usb2
27ee626660SRoger Quadros
28ee626660SRoger Quadros  reg:
29ee626660SRoger Quadros    maxItems: 1
30ee626660SRoger Quadros
31ee626660SRoger Quadros  "#phy-cells":
32ee626660SRoger Quadros    const: 0
33ee626660SRoger Quadros
34ee626660SRoger Quadros  clocks:
35ee626660SRoger Quadros    minItems: 1
36ee626660SRoger Quadros    items:
37ee626660SRoger Quadros      - description: wakeup clock
38ee626660SRoger Quadros      - description: reference clock
39ee626660SRoger Quadros
40ee626660SRoger Quadros  clock-names:
41ee626660SRoger Quadros    minItems: 1
42ee626660SRoger Quadros    items:
43ee626660SRoger Quadros      - const: wkupclk
44ee626660SRoger Quadros      - const: refclk
45ee626660SRoger Quadros
46ee626660SRoger Quadros  syscon-phy-power:
47d69c6dddSRob Herring    $ref: /schemas/types.yaml#/definitions/phandle-array
4839bd2b6aSRob Herring    items:
4939bd2b6aSRob Herring      - items:
5039bd2b6aSRob Herring          - description: phandle to the system control module
5139bd2b6aSRob Herring          - description: register offset to power on/off the PHY
52ee626660SRoger Quadros    description:
53ee626660SRoger Quadros      phandle/offset pair. Phandle to the system control module and
54ee626660SRoger Quadros      register offset to power on/off the PHY.
55ee626660SRoger Quadros
56ee626660SRoger Quadros  ctrl-module:
57d69c6dddSRob Herring    $ref: /schemas/types.yaml#/definitions/phandle
58ee626660SRoger Quadros    description:
59ee626660SRoger Quadros      (deprecated) phandle of the control module used by PHY driver
60ee626660SRoger Quadros      to power on the PHY. Use syscon-phy-power instead.
61ee626660SRoger Quadros
62ee626660SRoger Quadrosrequired:
63ee626660SRoger Quadros  - compatible
64ee626660SRoger Quadros  - reg
65ee626660SRoger Quadros  - "#phy-cells"
66ee626660SRoger Quadros  - clocks
67ee626660SRoger Quadros  - clock-names
68ee626660SRoger Quadros
69f84e2c5cSRob HerringadditionalProperties: false
70f84e2c5cSRob Herring
71ee626660SRoger Quadrosexamples:
72ee626660SRoger Quadros  - |
73ee626660SRoger Quadros    usb0_phy: phy@4100000 {
74ee626660SRoger Quadros      compatible = "ti,am654-usb2", "ti,omap-usb2";
75ee626660SRoger Quadros      reg = <0x4100000 0x54>;
76ee626660SRoger Quadros      syscon-phy-power = <&scm_conf 0x4000>;
77ee626660SRoger Quadros      clocks = <&k3_clks 151 0>, <&k3_clks 151 1>;
78ee626660SRoger Quadros      clock-names = "wkupclk", "refclk";
79ee626660SRoger Quadros      #phy-cells = <0>;
80ee626660SRoger Quadros    };
81