1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/usb/generic-ohci.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: USB OHCI Controller Device Tree Bindings 8 9allOf: 10 - $ref: "usb-hcd.yaml" 11 12maintainers: 13 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 14 15properties: 16 compatible: 17 oneOf: 18 - items: 19 - enum: 20 - allwinner,sun4i-a10-ohci 21 - allwinner,sun50i-a64-ohci 22 - allwinner,sun50i-h6-ohci 23 - allwinner,sun5i-a13-ohci 24 - allwinner,sun6i-a31-ohci 25 - allwinner,sun7i-a20-ohci 26 - allwinner,sun8i-a23-ohci 27 - allwinner,sun8i-h3-ohci 28 - allwinner,sun8i-r40-ohci 29 - allwinner,sun9i-a80-ohci 30 - brcm,bcm3384-ohci 31 - brcm,bcm63268-ohci 32 - brcm,bcm6328-ohci 33 - brcm,bcm6358-ohci 34 - brcm,bcm6362-ohci 35 - brcm,bcm6368-ohci 36 - brcm,bcm7125-ohci 37 - brcm,bcm7346-ohci 38 - brcm,bcm7358-ohci 39 - brcm,bcm7360-ohci 40 - brcm,bcm7362-ohci 41 - brcm,bcm7420-ohci 42 - brcm,bcm7425-ohci 43 - brcm,bcm7435-ohci 44 - ibm,476gtr-ohci 45 - ingenic,jz4740-ohci 46 - snps,hsdk-v1.0-ohci 47 - const: generic-ohci 48 - const: generic-ohci 49 50 reg: 51 maxItems: 1 52 53 interrupts: 54 maxItems: 1 55 56 resets: 57 minItems: 1 58 maxItems: 2 59 60 clocks: 61 minItems: 1 62 maxItems: 3 63 description: | 64 In case the Renesas R-Car Gen3 SoCs: 65 - if a host only channel: first clock should be host. 66 - if a USB DRD channel: first clock should be host and second 67 one should be peripheral 68 69 power-domains: 70 maxItems: 1 71 72 big-endian: 73 $ref: /schemas/types.yaml#/definitions/flag 74 description: 75 Set this flag for HCDs with big endian descriptors and big 76 endian registers. 77 78 big-endian-desc: 79 $ref: /schemas/types.yaml#/definitions/flag 80 description: 81 Set this flag for HCDs with big endian descriptors. 82 83 big-endian-regs: 84 $ref: /schemas/types.yaml#/definitions/flag 85 description: 86 Set this flag for HCDs with big endian registers. 87 88 remote-wakeup-connected: 89 $ref: /schemas/types.yaml#/definitions/flag 90 description: 91 Remote wakeup is wired on the platform. 92 93 no-big-frame-no: 94 $ref: /schemas/types.yaml#/definitions/flag 95 description: 96 Set if frame_no lives in bits [15:0] of HCCA 97 98 num-ports: 99 $ref: /schemas/types.yaml#/definitions/uint32 100 description: 101 Overrides the detected port count 102 103 phys: 104 maxItems: 1 105 106 phy-names: 107 const: usb 108 109 iommus: 110 maxItems: 1 111 112required: 113 - compatible 114 - reg 115 - interrupts 116 117additionalProperties: false 118 119examples: 120 - | 121 ohci0: usb@1c14400 { 122 compatible = "allwinner,sun4i-a10-ohci", "generic-ohci"; 123 reg = <0x01c14400 0x100>; 124 interrupts = <64>; 125 clocks = <&usb_clk 6>, <&ahb_gates 2>; 126 phys = <&usbphy 1>; 127 phy-names = "usb"; 128 }; 129 130... 131