11883a934SRoger Quadros# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 21883a934SRoger Quadros%YAML 1.2 31883a934SRoger Quadros--- 41883a934SRoger Quadros$id: http://devicetree.org/schemas/usb/ti,keystone-dwc3.yaml# 51883a934SRoger Quadros$schema: http://devicetree.org/meta-schemas/core.yaml# 61883a934SRoger Quadros 71883a934SRoger Quadrostitle: TI Keystone Soc USB Controller 81883a934SRoger Quadros 91883a934SRoger Quadrosmaintainers: 10*0c0822bcSKrzysztof Kozlowski - Roger Quadros <rogerq@kernel.org> 111883a934SRoger Quadros 121883a934SRoger Quadrosproperties: 131883a934SRoger Quadros compatible: 14ec396626SRoger Quadros items: 15ec396626SRoger Quadros - enum: 16ec396626SRoger Quadros - ti,keystone-dwc3 17ec396626SRoger Quadros - ti,am654-dwc3 181883a934SRoger Quadros 191883a934SRoger Quadros reg: 201883a934SRoger Quadros maxItems: 1 21ec396626SRoger Quadros 22ec396626SRoger Quadros '#address-cells': 23ec396626SRoger Quadros const: 1 24ec396626SRoger Quadros 25ec396626SRoger Quadros '#size-cells': 26ec396626SRoger Quadros const: 1 27ec396626SRoger Quadros 28ec396626SRoger Quadros ranges: true 291883a934SRoger Quadros 301883a934SRoger Quadros interrupts: 311883a934SRoger Quadros maxItems: 1 321883a934SRoger Quadros 331883a934SRoger Quadros clocks: 34ec396626SRoger Quadros minItems: 1 35ec396626SRoger Quadros maxItems: 2 36ec396626SRoger Quadros 371883a934SRoger Quadros power-domains: 380499220dSRob Herring maxItems: 1 391883a934SRoger Quadros description: Should contain a phandle to a PM domain provider node 401883a934SRoger Quadros and an args specifier containing the USB device id 411883a934SRoger Quadros value. This property is as per the binding, 42f22145f1SMauro Carvalho Chehab Documentation/devicetree/bindings/soc/ti/sci-pm-domain.yaml 431883a934SRoger Quadros 4415aeb360SRoger Quadros phys: 450499220dSRob Herring maxItems: 1 4615aeb360SRoger Quadros description: 4715aeb360SRoger Quadros PHY specifier for the USB3.0 PHY. Some SoCs need the USB3.0 PHY 4815aeb360SRoger Quadros to be turned on before the controller. 4915aeb360SRoger Quadros Documentation/devicetree/bindings/phy/phy-bindings.txt 5015aeb360SRoger Quadros 5115aeb360SRoger Quadros phy-names: 5215aeb360SRoger Quadros items: 53ec396626SRoger Quadros - const: usb3-phy 5415aeb360SRoger Quadros 55ec396626SRoger Quadros dma-coherent: true 56ec396626SRoger Quadros 57ec396626SRoger Quadros dma-ranges: true 58ec396626SRoger Quadros 59ec396626SRoger QuadrospatternProperties: 60ec396626SRoger Quadros "usb@[a-f0-9]+$": 61e9cd0635SSerge Semin $ref: snps,dwc3.yaml# 621883a934SRoger Quadros 631883a934SRoger Quadrosrequired: 641883a934SRoger Quadros - compatible 651883a934SRoger Quadros - reg 66ec396626SRoger Quadros - "#address-cells" 67ec396626SRoger Quadros - "#size-cells" 68ec396626SRoger Quadros - ranges 691883a934SRoger Quadros - interrupts 70ec396626SRoger Quadros 71ec396626SRoger QuadrosadditionalProperties: false 721883a934SRoger Quadros 731883a934SRoger Quadrosexamples: 741883a934SRoger Quadros - | 751883a934SRoger Quadros #include <dt-bindings/interrupt-controller/arm-gic.h> 761883a934SRoger Quadros 77ec396626SRoger Quadros dwc3@2680000 { 781883a934SRoger Quadros compatible = "ti,keystone-dwc3"; 791883a934SRoger Quadros #address-cells = <1>; 801883a934SRoger Quadros #size-cells = <1>; 811883a934SRoger Quadros reg = <0x2680000 0x10000>; 821883a934SRoger Quadros clocks = <&clkusb>; 831883a934SRoger Quadros interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>; 841883a934SRoger Quadros ranges; 851883a934SRoger Quadros 86ec396626SRoger Quadros usb@2690000 { 8716234ef1SKrzysztof Kozlowski compatible = "snps,dwc3"; 881883a934SRoger Quadros reg = <0x2690000 0x70000>; 891883a934SRoger Quadros interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>; 901883a934SRoger Quadros usb-phy = <&usb_phy>, <&usb_phy>; 911883a934SRoger Quadros }; 921883a934SRoger Quadros }; 93