AM654 SoC requires USB3.0 PHY to be turned on before the USB controller. For this SoC, the 'phys' property is used to provide the USB3.0 reference. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
78 lines
1.9 KiB
YAML
78 lines
1.9 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/usb/ti,keystone-dwc3.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: TI Keystone Soc USB Controller
|
|
|
|
maintainers:
|
|
- Roger Quadros <rogerq@ti.com>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: "ti,keystone-dwc3"
|
|
- const: "ti,am654-dwc3"
|
|
|
|
reg:
|
|
maxItems: 1
|
|
description: Address and length of the register set for the USB subsystem on
|
|
the SOC.
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
description: The irq number of this device that is used to interrupt the MPU.
|
|
|
|
|
|
clocks:
|
|
description: Clock ID for USB functional clock.
|
|
|
|
power-domains:
|
|
description: Should contain a phandle to a PM domain provider node
|
|
and an args specifier containing the USB device id
|
|
value. This property is as per the binding,
|
|
Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt
|
|
|
|
phys:
|
|
description:
|
|
PHY specifier for the USB3.0 PHY. Some SoCs need the USB3.0 PHY
|
|
to be turned on before the controller.
|
|
Documentation/devicetree/bindings/phy/phy-bindings.txt
|
|
|
|
phy-names:
|
|
items:
|
|
- const: "usb3-phy"
|
|
|
|
dwc3:
|
|
description: This is the node representing the DWC3 controller instance
|
|
Documentation/devicetree/bindings/usb/dwc3.txt
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
|
usb: usb@2680000 {
|
|
compatible = "ti,keystone-dwc3";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
reg = <0x2680000 0x10000>;
|
|
clocks = <&clkusb>;
|
|
clock-names = "usb";
|
|
interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
|
|
ranges;
|
|
|
|
dwc3@2690000 {
|
|
compatible = "synopsys,dwc3";
|
|
reg = <0x2690000 0x70000>;
|
|
interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
|
|
usb-phy = <&usb_phy>, <&usb_phy>;
|
|
};
|
|
};
|