xref: /freebsd/sys/contrib/device-tree/Bindings/phy/ti,omap-usb2.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
26be33864SEmmanuel Vadot%YAML 1.2
36be33864SEmmanuel Vadot---
46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/ti,omap-usb2.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: OMAP USB2 PHY
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
106be33864SEmmanuel Vadot  - Kishon Vijay Abraham I <kishon@ti.com>
11e67e8565SEmmanuel Vadot  - Roger Quadros <rogerq@kernel.org>
126be33864SEmmanuel Vadot
136be33864SEmmanuel Vadotproperties:
146be33864SEmmanuel Vadot  compatible:
156be33864SEmmanuel Vadot    oneOf:
166be33864SEmmanuel Vadot      - items:
176be33864SEmmanuel Vadot          - enum:
186be33864SEmmanuel Vadot              - ti,dra7x-usb2
196be33864SEmmanuel Vadot              - ti,dra7x-usb2-phy2
206be33864SEmmanuel Vadot              - ti,am654-usb2
216be33864SEmmanuel Vadot          - enum:
226be33864SEmmanuel Vadot              - ti,omap-usb2
236be33864SEmmanuel Vadot      - items:
246be33864SEmmanuel Vadot          - const: ti,am437x-usb2
256be33864SEmmanuel Vadot      - items:
266be33864SEmmanuel Vadot          - const: ti,omap-usb2
276be33864SEmmanuel Vadot
286be33864SEmmanuel Vadot  reg:
296be33864SEmmanuel Vadot    maxItems: 1
306be33864SEmmanuel Vadot
316be33864SEmmanuel Vadot  "#phy-cells":
326be33864SEmmanuel Vadot    const: 0
336be33864SEmmanuel Vadot
346be33864SEmmanuel Vadot  clocks:
356be33864SEmmanuel Vadot    minItems: 1
366be33864SEmmanuel Vadot    items:
376be33864SEmmanuel Vadot      - description: wakeup clock
386be33864SEmmanuel Vadot      - description: reference clock
396be33864SEmmanuel Vadot
406be33864SEmmanuel Vadot  clock-names:
416be33864SEmmanuel Vadot    minItems: 1
426be33864SEmmanuel Vadot    items:
436be33864SEmmanuel Vadot      - const: wkupclk
446be33864SEmmanuel Vadot      - const: refclk
456be33864SEmmanuel Vadot
466be33864SEmmanuel Vadot  syscon-phy-power:
475def4c47SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
48*c9ccf3a3SEmmanuel Vadot    items:
49*c9ccf3a3SEmmanuel Vadot      - items:
50*c9ccf3a3SEmmanuel Vadot          - description: phandle to the system control module
51*c9ccf3a3SEmmanuel Vadot          - description: register offset to power on/off the PHY
526be33864SEmmanuel Vadot    description:
536be33864SEmmanuel Vadot      phandle/offset pair. Phandle to the system control module and
546be33864SEmmanuel Vadot      register offset to power on/off the PHY.
556be33864SEmmanuel Vadot
566be33864SEmmanuel Vadot  ctrl-module:
575def4c47SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
586be33864SEmmanuel Vadot    description:
596be33864SEmmanuel Vadot      (deprecated) phandle of the control module used by PHY driver
606be33864SEmmanuel Vadot      to power on the PHY. Use syscon-phy-power instead.
616be33864SEmmanuel Vadot
626be33864SEmmanuel Vadotrequired:
636be33864SEmmanuel Vadot  - compatible
646be33864SEmmanuel Vadot  - reg
656be33864SEmmanuel Vadot  - "#phy-cells"
666be33864SEmmanuel Vadot  - clocks
676be33864SEmmanuel Vadot  - clock-names
686be33864SEmmanuel Vadot
696be33864SEmmanuel VadotadditionalProperties: false
706be33864SEmmanuel Vadot
716be33864SEmmanuel Vadotexamples:
726be33864SEmmanuel Vadot  - |
736be33864SEmmanuel Vadot    usb0_phy: phy@4100000 {
746be33864SEmmanuel Vadot      compatible = "ti,am654-usb2", "ti,omap-usb2";
756be33864SEmmanuel Vadot      reg = <0x4100000 0x54>;
766be33864SEmmanuel Vadot      syscon-phy-power = <&scm_conf 0x4000>;
776be33864SEmmanuel Vadot      clocks = <&k3_clks 151 0>, <&k3_clks 151 1>;
786be33864SEmmanuel Vadot      clock-names = "wkupclk", "refclk";
796be33864SEmmanuel Vadot      #phy-cells = <0>;
806be33864SEmmanuel Vadot    };
81