1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/usb/ti,keys 4 $id: http://devicetree.org/schemas/usb/ti,keystone-dwc3.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: TI Keystone Soc USB Controller 7 title: TI Keystone Soc USB Controller 8 8 9 maintainers: 9 maintainers: 10 - Roger Quadros <rogerq@kernel.org> !! 10 - Roger Quadros <rogerq@ti.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 items: !! 14 oneOf: 15 - enum: !! 15 - const: "ti,keystone-dwc3" 16 - ti,keystone-dwc3 !! 16 - const: "ti,am654-dwc3" 17 - ti,am654-dwc3 << 18 17 19 reg: 18 reg: 20 maxItems: 1 19 maxItems: 1 21 !! 20 description: Address and length of the register set for the USB subsystem on 22 '#address-cells': !! 21 the SOC. 23 const: 1 << 24 << 25 '#size-cells': << 26 const: 1 << 27 << 28 ranges: true << 29 22 30 interrupts: 23 interrupts: 31 maxItems: 1 24 maxItems: 1 >> 25 description: The irq number of this device that is used to interrupt the MPU. >> 26 32 27 33 clocks: 28 clocks: 34 minItems: 1 !! 29 description: Clock ID for USB functional clock. 35 maxItems: 2 << 36 30 37 power-domains: 31 power-domains: 38 maxItems: 1 << 39 description: Should contain a phandle to a 32 description: Should contain a phandle to a PM domain provider node 40 and an args specifier containing the USB 33 and an args specifier containing the USB device id 41 value. This property is as per the bindi 34 value. This property is as per the binding, 42 Documentation/devicetree/bindings/soc/ti !! 35 Documentation/devicetree/bindings/soc/ti/sci-pm-domain.txt 43 36 44 phys: 37 phys: 45 maxItems: 1 << 46 description: 38 description: 47 PHY specifier for the USB3.0 PHY. Some S 39 PHY specifier for the USB3.0 PHY. Some SoCs need the USB3.0 PHY 48 to be turned on before the controller. 40 to be turned on before the controller. 49 Documentation/devicetree/bindings/phy/ph 41 Documentation/devicetree/bindings/phy/phy-bindings.txt 50 42 51 phy-names: 43 phy-names: 52 items: 44 items: 53 - const: usb3-phy !! 45 - const: "usb3-phy" 54 << 55 dma-coherent: true << 56 46 57 dma-ranges: true !! 47 dwc3: 58 !! 48 description: This is the node representing the DWC3 controller instance 59 patternProperties: !! 49 Documentation/devicetree/bindings/usb/dwc3.txt 60 "usb@[a-f0-9]+$": << 61 $ref: snps,dwc3.yaml# << 62 50 63 required: 51 required: 64 - compatible 52 - compatible 65 - reg 53 - reg 66 - "#address-cells" << 67 - "#size-cells" << 68 - ranges << 69 - interrupts 54 - interrupts 70 !! 55 - clocks 71 additionalProperties: false << 72 56 73 examples: 57 examples: 74 - | 58 - | 75 #include <dt-bindings/interrupt-controller 59 #include <dt-bindings/interrupt-controller/arm-gic.h> 76 60 77 dwc3@2680000 { !! 61 usb: usb@2680000 { 78 compatible = "ti,keystone-dwc3"; 62 compatible = "ti,keystone-dwc3"; 79 #address-cells = <1>; 63 #address-cells = <1>; 80 #size-cells = <1>; 64 #size-cells = <1>; 81 reg = <0x2680000 0x10000>; 65 reg = <0x2680000 0x10000>; 82 clocks = <&clkusb>; 66 clocks = <&clkusb>; >> 67 clock-names = "usb"; 83 interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_ 68 interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>; 84 ranges; 69 ranges; 85 70 86 usb@2690000 { !! 71 dwc3@2690000 { 87 compatible = "snps,dwc3"; !! 72 compatible = "synopsys,dwc3"; 88 reg = <0x2690000 0x70000>; 73 reg = <0x2690000 0x70000>; 89 interrupts = <GIC_SPI 393 IRQ_TYPE_EDG 74 interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>; 90 usb-phy = <&usb_phy>, <&usb_phy>; 75 usb-phy = <&usb_phy>, <&usb_phy>; 91 }; 76 }; 92 }; 77 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.