1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/usb/ti,keystone-dwc3.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: TI Keystone Soc USB Controller 8 9maintainers: 10 - Roger Quadros <rogerq@ti.com> 11 12properties: 13 compatible: 14 oneOf: 15 - const: "ti,keystone-dwc3" 16 - const: "ti,am654-dwc3" 17 18 reg: 19 maxItems: 1 20 description: Address and length of the register set for the USB subsystem on 21 the SOC. 22 23 interrupts: 24 maxItems: 1 25 description: The irq number of this device that is used to interrupt the MPU. 26 27 28 clocks: 29 description: Clock ID for USB functional clock. 30 31 power-domains: 32 description: Should contain a phandle to a PM domain provider node 33 and an args specifier containing the USB device id 34 value. This property is as per the binding, 35 Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt 36 37 dwc3: 38 description: This is the node representing the DWC3 controller instance 39 Documentation/devicetree/bindings/usb/dwc3.txt 40 41required: 42 - compatible 43 - reg 44 - interrupts 45 - clocks 46 47examples: 48 - | 49 #include <dt-bindings/interrupt-controller/arm-gic.h> 50 51 usb: usb@2680000 { 52 compatible = "ti,keystone-dwc3"; 53 #address-cells = <1>; 54 #size-cells = <1>; 55 reg = <0x2680000 0x10000>; 56 clocks = <&clkusb>; 57 clock-names = "usb"; 58 interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>; 59 ranges; 60 61 dwc3@2690000 { 62 compatible = "synopsys,dwc3"; 63 reg = <0x2690000 0x70000>; 64 interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>; 65 usb-phy = <&usb_phy>, <&usb_phy>; 66 }; 67 }; 68