181 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/usb/generic-ohci.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: USB OHCI Controller8 9maintainers:10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org>11 12properties:13 compatible:14 oneOf:15 - items:16 - enum:17 - allwinner,sun4i-a10-ohci18 - allwinner,sun50i-a64-ohci19 - allwinner,sun50i-h6-ohci20 - allwinner,sun50i-h616-ohci21 - allwinner,sun5i-a13-ohci22 - allwinner,sun6i-a31-ohci23 - allwinner,sun7i-a20-ohci24 - allwinner,sun8i-a23-ohci25 - allwinner,sun8i-a83t-ohci26 - allwinner,sun8i-h3-ohci27 - allwinner,sun8i-r40-ohci28 - allwinner,sun8i-v3s-ohci29 - allwinner,sun9i-a80-ohci30 - allwinner,sun20i-d1-ohci31 - brcm,bcm3384-ohci32 - brcm,bcm63268-ohci33 - brcm,bcm6328-ohci34 - brcm,bcm6358-ohci35 - brcm,bcm6362-ohci36 - brcm,bcm6368-ohci37 - brcm,bcm7125-ohci38 - brcm,bcm7346-ohci39 - brcm,bcm7358-ohci40 - brcm,bcm7360-ohci41 - brcm,bcm7362-ohci42 - brcm,bcm7420-ohci43 - brcm,bcm7425-ohci44 - brcm,bcm7435-ohci45 - hpe,gxp-ohci46 - ibm,476gtr-ohci47 - ingenic,jz4740-ohci48 - rockchip,rk3588-ohci49 - snps,hsdk-v1.0-ohci50 - const: generic-ohci51 - enum:52 - generic-ohci53 - ti,ohci-omap354 - items:55 - enum:56 - cavium,octeon-6335-ohci57 - nintendo,hollywood-usb-ohci58 - nxp,ohci-nxp59 - st,spear600-ohci60 - const: usb-ohci61 62 reg:63 maxItems: 164 65 interrupts:66 maxItems: 167 68 resets:69 minItems: 170 maxItems: 271 72 clocks:73 minItems: 174 maxItems: 475 description: |76 In case the Renesas R-Car Gen3 SoCs:77 - if a host only channel: first clock should be host.78 - if a USB DRD channel: first clock should be host and second79 one should be peripheral80 81 power-domains:82 maxItems: 183 84 big-endian:85 $ref: /schemas/types.yaml#/definitions/flag86 description:87 Set this flag for HCDs with big endian descriptors and big88 endian registers.89 90 big-endian-desc:91 $ref: /schemas/types.yaml#/definitions/flag92 description:93 Set this flag for HCDs with big endian descriptors.94 95 big-endian-regs:96 $ref: /schemas/types.yaml#/definitions/flag97 description:98 Set this flag for HCDs with big endian registers.99 100 remote-wakeup-connected:101 $ref: /schemas/types.yaml#/definitions/flag102 description:103 Remote wakeup is wired on the platform.104 105 no-big-frame-no:106 $ref: /schemas/types.yaml#/definitions/flag107 description:108 Set if frame_no lives in bits [15:0] of HCCA109 110 num-ports:111 $ref: /schemas/types.yaml#/definitions/uint32112 description:113 Overrides the detected port count114 115 phys:116 minItems: 1117 maxItems: 3118 119 phy-names:120 const: usb121 122 iommus:123 maxItems: 1124 125 dr_mode:126 enum:127 - host128 - otg129 130 transceiver:131 $ref: /schemas/types.yaml#/definitions/phandle132 description:133 The associated ISP1301 device. Necessary for the UDC controller for134 connecting to the USB physical layer.135 136required:137 - compatible138 - reg139 - interrupts140 141allOf:142 - $ref: usb-hcd.yaml143 - if:144 not:145 properties:146 compatible:147 contains:148 const: nxp,ohci-nxp149 then:150 properties:151 transceiver: false152 - if:153 properties:154 compatible:155 contains:156 const: rockchip,rk3588-ohci157 then:158 properties:159 clocks:160 minItems: 4161 else:162 properties:163 clocks:164 minItems: 1165 maxItems: 3166 167unevaluatedProperties: false168 169examples:170 - |171 ohci0: usb@1c14400 {172 compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";173 reg = <0x01c14400 0x100>;174 interrupts = <64>;175 clocks = <&usb_clk 6>, <&ahb_gates 2>;176 phys = <&usbphy 1>;177 phy-names = "usb";178 };179 180...181