| 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,da830-usb-phy.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: TI DA8xx/OMAP-L1xx/AM18xx USB PHY |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- David Lechner <[email protected]> |
| 11 |
|
| 12 |
description: > |
| 13 |
This device controls the PHY for both the USB 1.1 OHCI and USB 2.0 OTG |
| 14 |
controllers on DA8xx SoCs. |
| 15 |
|
| 16 |
It also requires a "syscon" node with compatible = "ti,da830-cfgchip", "syscon" |
| 17 |
to access the CFGCHIP2 register. |
| 18 |
|
| 19 |
properties: |
| 20 |
compatible: |
| 21 |
items: |
| 22 |
- const: ti,da830-usb-phy |
| 23 |
|
| 24 |
'#phy-cells': |
| 25 |
const: 1 |
| 26 |
description: |
| 27 |
Consumers of this device should use index 0 for the USB 2.0 phy device and |
| 28 |
index 1 for the USB 1.1 phy device. |
| 29 |
|
| 30 |
clocks: |
| 31 |
maxItems: 2 |
| 32 |
|
| 33 |
clock-names: |
| 34 |
items: |
| 35 |
- const: usb0_clk48 |
| 36 |
- const: usb1_clk48 |
| 37 |
|
| 38 |
required: |
| 39 |
- compatible |
| 40 |
- '#phy-cells' |
| 41 |
- clocks |
| 42 |
- clock-names |
| 43 |
|
| 44 |
additionalProperties: false |
| 45 |
|
| 46 |
examples: |
| 47 |
- | |
| 48 |
usb-phy { |
| 49 |
compatible = "ti,da830-usb-phy"; |
| 50 |
#phy-cells = <1>; |
| 51 |
clocks = <&usb_phy_clk 0>, <&usb_phy_clk 1>; |
| 52 |
clock-names = "usb0_clk48", "usb1_clk48"; |
| 53 |
}; |