Kumar Gala | b053dc5 | 2009-06-19 08:31:05 -0500 | [diff] [blame] | 1 | USB EHCI controllers |
| 2 | |
| 3 | Required properties: |
Hans de Goede | 915974c | 2014-02-11 17:35:29 +0100 | [diff] [blame] | 4 | - compatible : should be "generic-ehci". |
Kumar Gala | b053dc5 | 2009-06-19 08:31:05 -0500 | [diff] [blame] | 5 | - reg : should contain at least address and length of the standard EHCI |
| 6 | register set for the device. Optional platform-dependent registers |
| 7 | (debug-port or other) can be also specified here, but only after |
| 8 | definition of standard EHCI registers. |
| 9 | - interrupts : one EHCI interrupt should be described here. |
Hans de Goede | a4aeb21 | 2014-02-07 16:36:41 +0100 | [diff] [blame] | 10 | |
| 11 | Optional properties: |
| 12 | - big-endian-regs : boolean, set this for hcds with big-endian registers |
| 13 | - big-endian-desc : boolean, set this for hcds with big-endian descriptors |
| 14 | - big-endian : boolean, for hcds with big-endian-regs + big-endian-desc |
Wu Liang feng | 96e4185 | 2014-12-24 18:22:18 +0800 | [diff] [blame] | 15 | - needs-reset-on-resume : boolean, set this to force EHCI reset after resume |
Joachim Eastwood | 40f2f2a | 2015-05-16 17:17:40 +0200 | [diff] [blame] | 16 | - has-transaction-translator : boolean, set this if EHCI have a Transaction |
| 17 | Translator built into the root hub. |
Hans de Goede | a4aeb21 | 2014-02-07 16:36:41 +0100 | [diff] [blame] | 18 | - clocks : a list of phandle + clock specifier pairs |
| 19 | - phys : phandle + phy specifier pair |
| 20 | - phy-names : "usb" |
Boris BREZILLON | 2d87bbd | 2014-05-13 17:44:19 +0200 | [diff] [blame] | 21 | - resets : phandle + reset specifier pair |
Kumar Gala | b053dc5 | 2009-06-19 08:31:05 -0500 | [diff] [blame] | 22 | |
| 23 | Example (Sequoia 440EPx): |
| 24 | ehci@e0000300 { |
| 25 | compatible = "ibm,usb-ehci-440epx", "usb-ehci"; |
| 26 | interrupt-parent = <&UIC0>; |
| 27 | interrupts = <1a 4>; |
| 28 | reg = <0 e0000300 90 0 e0000390 70>; |
| 29 | big-endian; |
| 30 | }; |
Hans de Goede | a4aeb21 | 2014-02-07 16:36:41 +0100 | [diff] [blame] | 31 | |
| 32 | Example (Allwinner sun4i A10 SoC): |
Marco Franchi | 48c926c | 2017-11-08 14:27:48 -0200 | [diff] [blame] | 33 | ehci0: usb@1c14000 { |
Hans de Goede | 915974c | 2014-02-11 17:35:29 +0100 | [diff] [blame] | 34 | compatible = "allwinner,sun4i-a10-ehci", "generic-ehci"; |
Hans de Goede | a4aeb21 | 2014-02-07 16:36:41 +0100 | [diff] [blame] | 35 | reg = <0x01c14000 0x100>; |
| 36 | interrupts = <39>; |
| 37 | clocks = <&ahb_gates 1>; |
| 38 | phys = <&usbphy 1>; |
| 39 | phy-names = "usb"; |
| 40 | }; |