1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/usb/generic-ehci.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: USB EHCI Controller 8 9maintainers: 10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 11 12allOf: 13 - $ref: usb-hcd.yaml 14 - if: 15 properties: 16 compatible: 17 not: 18 contains: 19 const: ibm,usb-ehci-440epx 20 then: 21 properties: 22 reg: 23 maxItems: 1 24 25properties: 26 compatible: 27 oneOf: 28 - items: 29 - enum: 30 - allwinner,sun4i-a10-ehci 31 - allwinner,sun50i-a100-ehci 32 - allwinner,sun50i-a64-ehci 33 - allwinner,sun50i-h6-ehci 34 - allwinner,sun50i-h616-ehci 35 - allwinner,sun55i-a523-ehci 36 - allwinner,sun5i-a13-ehci 37 - allwinner,sun6i-a31-ehci 38 - allwinner,sun7i-a20-ehci 39 - allwinner,sun8i-a23-ehci 40 - allwinner,sun8i-a83t-ehci 41 - allwinner,sun8i-h3-ehci 42 - allwinner,sun8i-r40-ehci 43 - allwinner,sun8i-v3s-ehci 44 - allwinner,sun9i-a80-ehci 45 - allwinner,sun20i-d1-ehci 46 - aspeed,ast2400-ehci 47 - aspeed,ast2500-ehci 48 - aspeed,ast2600-ehci 49 - brcm,bcm3384-ehci 50 - brcm,bcm63268-ehci 51 - brcm,bcm6328-ehci 52 - brcm,bcm6358-ehci 53 - brcm,bcm6362-ehci 54 - brcm,bcm6368-ehci 55 - brcm,bcm7125-ehci 56 - brcm,bcm7346-ehci 57 - brcm,bcm7358-ehci 58 - brcm,bcm7360-ehci 59 - brcm,bcm7362-ehci 60 - brcm,bcm7420-ehci 61 - brcm,bcm7425-ehci 62 - brcm,bcm7435-ehci 63 - hpe,gxp-ehci 64 - ibm,476gtr-ehci 65 - nxp,lpc1850-ehci 66 - qca,ar7100-ehci 67 - rockchip,rk3588-ehci 68 - snps,hsdk-v1.0-ehci 69 - socionext,uniphier-ehci 70 - const: generic-ehci 71 - items: 72 - enum: 73 - atmel,at91sam9g45-ehci 74 - cavium,octeon-6335-ehci 75 - ibm,usb-ehci-440epx 76 - ibm,usb-ehci-460ex 77 - nintendo,hollywood-usb-ehci 78 - st,spear600-ehci 79 - const: usb-ehci 80 - enum: 81 - generic-ehci 82 - marvell,ac5-ehci 83 - marvell,armada-3700-ehci 84 - marvell,orion-ehci 85 - nuvoton,npcm750-ehci 86 - nuvoton,npcm845-ehci 87 - ti,ehci-omap 88 - usb-ehci 89 90 reg: 91 minItems: 1 92 maxItems: 2 93 94 interrupts: 95 maxItems: 1 96 97 resets: 98 minItems: 1 99 maxItems: 4 100 101 clocks: 102 minItems: 1 103 maxItems: 4 104 description: | 105 In case the Renesas R-Car Gen3 SoCs: 106 - if a host only channel: first clock should be host. 107 - if a USB DRD channel: first clock should be host and second 108 one should be peripheral 109 110 power-domains: 111 maxItems: 1 112 113 big-endian: 114 $ref: /schemas/types.yaml#/definitions/flag 115 description: 116 Set this flag for HCDs with big endian descriptors and big 117 endian registers. 118 119 big-endian-desc: 120 $ref: /schemas/types.yaml#/definitions/flag 121 description: 122 Set this flag for HCDs with big endian descriptors. 123 124 big-endian-regs: 125 $ref: /schemas/types.yaml#/definitions/flag 126 description: 127 Set this flag for HCDs with big endian registers. 128 129 has-transaction-translator: 130 $ref: /schemas/types.yaml#/definitions/flag 131 description: 132 Set this flag if EHCI has a Transaction Translator built into 133 the root hub. 134 135 needs-reset-on-resume: 136 $ref: /schemas/types.yaml#/definitions/flag 137 description: 138 Set this flag to force EHCI reset after resume. 139 140 spurious-oc: 141 $ref: /schemas/types.yaml#/definitions/flag 142 description: 143 Set this flag to indicate that the hardware sometimes turns on 144 the OC bit when an over-current isn't actually present. 145 146 phys: 147 minItems: 1 148 maxItems: 3 149 150 phy-names: 151 const: usb 152 153 iommus: 154 maxItems: 1 155 156 dr_mode: 157 enum: 158 - host 159 - otg 160 161required: 162 - compatible 163 - reg 164 - interrupts 165 166unevaluatedProperties: false 167 168examples: 169 - | 170 usb@e0000300 { 171 compatible = "ibm,usb-ehci-440epx", "usb-ehci"; 172 interrupt-parent = <&UIC0>; 173 interrupts = <0x1a 4>; 174 reg = <0xe0000300 90>, <0xe0000390 70>; 175 big-endian; 176 }; 177 178 - | 179 ehci0: usb@1c14000 { 180 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci"; 181 reg = <0x01c14000 0x100>; 182 interrupts = <39>; 183 clocks = <&ahb_gates 1>; 184 phys = <&usbphy 1>; 185 phy-names = "usb"; 186 }; 187 188... 189