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