187 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/usb/generic-ehci.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: USB EHCI Controller8 9maintainers:10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org>11 12allOf:13 - $ref: usb-hcd.yaml14 - if:15 properties:16 compatible:17 not:18 contains:19 const: ibm,usb-ehci-440epx20 then:21 properties:22 reg:23 maxItems: 124 25properties:26 compatible:27 oneOf:28 - items:29 - enum:30 - allwinner,sun4i-a10-ehci31 - allwinner,sun50i-a64-ehci32 - allwinner,sun50i-h6-ehci33 - allwinner,sun50i-h616-ehci34 - allwinner,sun5i-a13-ehci35 - allwinner,sun6i-a31-ehci36 - allwinner,sun7i-a20-ehci37 - allwinner,sun8i-a23-ehci38 - allwinner,sun8i-a83t-ehci39 - allwinner,sun8i-h3-ehci40 - allwinner,sun8i-r40-ehci41 - allwinner,sun8i-v3s-ehci42 - allwinner,sun9i-a80-ehci43 - allwinner,sun20i-d1-ehci44 - aspeed,ast2400-ehci45 - aspeed,ast2500-ehci46 - aspeed,ast2600-ehci47 - brcm,bcm3384-ehci48 - brcm,bcm63268-ehci49 - brcm,bcm6328-ehci50 - brcm,bcm6358-ehci51 - brcm,bcm6362-ehci52 - brcm,bcm6368-ehci53 - brcm,bcm7125-ehci54 - brcm,bcm7346-ehci55 - brcm,bcm7358-ehci56 - brcm,bcm7360-ehci57 - brcm,bcm7362-ehci58 - brcm,bcm7420-ehci59 - brcm,bcm7425-ehci60 - brcm,bcm7435-ehci61 - hpe,gxp-ehci62 - ibm,476gtr-ehci63 - nxp,lpc1850-ehci64 - qca,ar7100-ehci65 - rockchip,rk3588-ehci66 - snps,hsdk-v1.0-ehci67 - socionext,uniphier-ehci68 - const: generic-ehci69 - items:70 - enum:71 - atmel,at91sam9g45-ehci72 - cavium,octeon-6335-ehci73 - ibm,usb-ehci-440epx74 - ibm,usb-ehci-460ex75 - nintendo,hollywood-usb-ehci76 - st,spear600-ehci77 - const: usb-ehci78 - enum:79 - generic-ehci80 - marvell,ac5-ehci81 - marvell,armada-3700-ehci82 - marvell,orion-ehci83 - nuvoton,npcm750-ehci84 - nuvoton,npcm845-ehci85 - ti,ehci-omap86 - usb-ehci87 88 reg:89 minItems: 190 maxItems: 291 92 interrupts:93 maxItems: 194 95 resets:96 minItems: 197 maxItems: 498 99 clocks:100 minItems: 1101 maxItems: 4102 description: |103 In case the Renesas R-Car Gen3 SoCs:104 - if a host only channel: first clock should be host.105 - if a USB DRD channel: first clock should be host and second106 one should be peripheral107 108 power-domains:109 maxItems: 1110 111 big-endian:112 $ref: /schemas/types.yaml#/definitions/flag113 description:114 Set this flag for HCDs with big endian descriptors and big115 endian registers.116 117 big-endian-desc:118 $ref: /schemas/types.yaml#/definitions/flag119 description:120 Set this flag for HCDs with big endian descriptors.121 122 big-endian-regs:123 $ref: /schemas/types.yaml#/definitions/flag124 description:125 Set this flag for HCDs with big endian registers.126 127 has-transaction-translator:128 $ref: /schemas/types.yaml#/definitions/flag129 description:130 Set this flag if EHCI has a Transaction Translator built into131 the root hub.132 133 needs-reset-on-resume:134 $ref: /schemas/types.yaml#/definitions/flag135 description:136 Set this flag to force EHCI reset after resume.137 138 spurious-oc:139 $ref: /schemas/types.yaml#/definitions/flag140 description:141 Set this flag to indicate that the hardware sometimes turns on142 the OC bit when an over-current isn't actually present.143 144 phys:145 minItems: 1146 maxItems: 3147 148 phy-names:149 const: usb150 151 iommus:152 maxItems: 1153 154 dr_mode:155 enum:156 - host157 - otg158 159required:160 - compatible161 - reg162 - interrupts163 164unevaluatedProperties: false165 166examples:167 - |168 usb@e0000300 {169 compatible = "ibm,usb-ehci-440epx", "usb-ehci";170 interrupt-parent = <&UIC0>;171 interrupts = <0x1a 4>;172 reg = <0xe0000300 90>, <0xe0000390 70>;173 big-endian;174 };175 176 - |177 ehci0: usb@1c14000 {178 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";179 reg = <0x01c14000 0x100>;180 interrupts = <39>;181 clocks = <&ahb_gates 1>;182 phys = <&usbphy 1>;183 phy-names = "usb";184 };185 186...187