~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/usb/generic-ehci.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 
  7 title: USB EHCI Controller
  8 
  9 maintainers:
 10   - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 11 
 12 allOf:
 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 
 25 properties:
 26   compatible:
 27     oneOf:
 28       - items:
 29           - enum:
 30               - allwinner,sun4i-a10-ehci
 31               - allwinner,sun50i-a64-ehci
 32               - allwinner,sun50i-h6-ehci
 33               - allwinner,sun50i-h616-ehci
 34               - allwinner,sun5i-a13-ehci
 35               - allwinner,sun6i-a31-ehci
 36               - allwinner,sun7i-a20-ehci
 37               - allwinner,sun8i-a23-ehci
 38               - allwinner,sun8i-a83t-ehci
 39               - allwinner,sun8i-h3-ehci
 40               - allwinner,sun8i-r40-ehci
 41               - allwinner,sun8i-v3s-ehci
 42               - allwinner,sun9i-a80-ehci
 43               - allwinner,sun20i-d1-ehci
 44               - aspeed,ast2400-ehci
 45               - aspeed,ast2500-ehci
 46               - aspeed,ast2600-ehci
 47               - brcm,bcm3384-ehci
 48               - brcm,bcm63268-ehci
 49               - brcm,bcm6328-ehci
 50               - brcm,bcm6358-ehci
 51               - brcm,bcm6362-ehci
 52               - brcm,bcm6368-ehci
 53               - brcm,bcm7125-ehci
 54               - brcm,bcm7346-ehci
 55               - brcm,bcm7358-ehci
 56               - brcm,bcm7360-ehci
 57               - brcm,bcm7362-ehci
 58               - brcm,bcm7420-ehci
 59               - brcm,bcm7425-ehci
 60               - brcm,bcm7435-ehci
 61               - hpe,gxp-ehci
 62               - ibm,476gtr-ehci
 63               - nxp,lpc1850-ehci
 64               - qca,ar7100-ehci
 65               - rockchip,rk3588-ehci
 66               - snps,hsdk-v1.0-ehci
 67               - socionext,uniphier-ehci
 68           - const: generic-ehci
 69       - items:
 70           - enum:
 71               - atmel,at91sam9g45-ehci
 72               - cavium,octeon-6335-ehci
 73               - ibm,usb-ehci-440epx
 74               - ibm,usb-ehci-460ex
 75               - nintendo,hollywood-usb-ehci
 76               - st,spear600-ehci
 77           - const: usb-ehci
 78       - enum:
 79           - generic-ehci
 80           - marvell,ac5-ehci
 81           - marvell,armada-3700-ehci
 82           - marvell,orion-ehci
 83           - nuvoton,npcm750-ehci
 84           - nuvoton,npcm845-ehci
 85           - ti,ehci-omap
 86           - usb-ehci
 87 
 88   reg:
 89     minItems: 1
 90     maxItems: 2
 91 
 92   interrupts:
 93     maxItems: 1
 94 
 95   resets:
 96     minItems: 1
 97     maxItems: 4
 98 
 99   clocks:
100     minItems: 1
101     maxItems: 4
102     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 second
106           one should be peripheral
107 
108   power-domains:
109     maxItems: 1
110 
111   big-endian:
112     $ref: /schemas/types.yaml#/definitions/flag
113     description:
114       Set this flag for HCDs with big endian descriptors and big
115       endian registers.
116 
117   big-endian-desc:
118     $ref: /schemas/types.yaml#/definitions/flag
119     description:
120       Set this flag for HCDs with big endian descriptors.
121 
122   big-endian-regs:
123     $ref: /schemas/types.yaml#/definitions/flag
124     description:
125       Set this flag for HCDs with big endian registers.
126 
127   has-transaction-translator:
128     $ref: /schemas/types.yaml#/definitions/flag
129     description:
130       Set this flag if EHCI has a Transaction Translator built into
131       the root hub.
132 
133   needs-reset-on-resume:
134     $ref: /schemas/types.yaml#/definitions/flag
135     description:
136       Set this flag to force EHCI reset after resume.
137 
138   spurious-oc:
139     $ref: /schemas/types.yaml#/definitions/flag
140     description:
141       Set this flag to indicate that the hardware sometimes turns on
142       the OC bit when an over-current isn't actually present.
143 
144   phys:
145     minItems: 1
146     maxItems: 3
147 
148   phy-names:
149     const: usb
150 
151   iommus:
152     maxItems: 1
153 
154   dr_mode:
155     enum:
156       - host
157       - otg
158 
159 required:
160   - compatible
161   - reg
162   - interrupts
163 
164 unevaluatedProperties: false
165 
166 examples:
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 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php