usb-ehci.txt 1.4 KB
Newer Older
1 2 3
USB EHCI controllers

Required properties:
4
  - compatible : should be "generic-ehci".
5 6 7 8 9
  - reg : should contain at least address and length of the standard EHCI
    register set for the device. Optional platform-dependent registers
    (debug-port or other) can be also specified here, but only after
    definition of standard EHCI registers.
  - interrupts : one EHCI interrupt should be described here.
10 11 12 13 14

Optional properties:
 - big-endian-regs : boolean, set this for hcds with big-endian registers
 - big-endian-desc : boolean, set this for hcds with big-endian descriptors
 - big-endian : boolean, for hcds with big-endian-regs + big-endian-desc
15
 - needs-reset-on-resume : boolean, set this to force EHCI reset after resume
16 17
 - has-transaction-translator : boolean, set this if EHCI have a Transaction
				Translator built into the root hub.
18 19 20
 - clocks : a list of phandle + clock specifier pairs
 - phys : phandle + phy specifier pair
 - phy-names : "usb"
21
 - resets : phandle + reset specifier pair
22 23 24 25 26 27 28 29 30

Example (Sequoia 440EPx):
    ehci@e0000300 {
	   compatible = "ibm,usb-ehci-440epx", "usb-ehci";
	   interrupt-parent = <&UIC0>;
	   interrupts = <1a 4>;
	   reg = <0 e0000300 90 0 e0000390 70>;
	   big-endian;
   };
31 32

Example (Allwinner sun4i A10 SoC):
33
   ehci0: usb@1c14000 {
34
	   compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
35 36 37 38 39 40
	   reg = <0x01c14000 0x100>;
	   interrupts = <39>;
	   clocks = <&ahb_gates 1>;
	   phys = <&usbphy 1>;
	   phy-names = "usb";
   };