| 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 |
|
| 7 |
title: OMAP USB2 PHY |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Kishon Vijay Abraham I <[email protected]> |
| 11 |
- Roger Quadros <[email protected]> |
| 12 |
|
| 13 |
properties: |
| 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 |
items: |
| 49 |
- items: |
| 50 |
- description: phandle to the system control module |
| 51 |
- description: register offset to power on/off the PHY |
| 52 |
description: |
| 53 |
phandle/offset pair. Phandle to the system control module and |
| 54 |
register offset to power on/off the PHY. |
| 55 |
|
| 56 |
ctrl-module: |
| 57 |
$ref: /schemas/types.yaml#/definitions/phandle |
| 58 |
description: |
| 59 |
(deprecated) phandle of the control module used by PHY driver |
| 60 |
to power on the PHY. Use syscon-phy-power instead. |
| 61 |
|
| 62 |
required: |
| 63 |
- compatible |
| 64 |
- reg |
| 65 |
- "#phy-cells" |
| 66 |
- clocks |
| 67 |
- clock-names |
| 68 |
|
| 69 |
additionalProperties: false |
| 70 |
|
| 71 |
examples: |
| 72 |
- | |
| 73 |
usb0_phy: phy@4100000 { |
| 74 |
compatible = "ti,am654-usb2", "ti,omap-usb2"; |
| 75 |
reg = <0x4100000 0x54>; |
| 76 |
syscon-phy-power = <&scm_conf 0x4000>; |
| 77 |
clocks = <&k3_clks 151 0>, <&k3_clks 151 1>; |
| 78 |
clock-names = "wkupclk", "refclk"; |
| 79 |
#phy-cells = <0>; |
| 80 |
}; |