hc
2023-03-13 25c72f09e887f85fcff4a3f978d294da97ab1420
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
USB xHCI controllers
 
Required properties:
  - compatible: should be one or more of
 
    - "generic-xhci" for generic XHCI device
    - "marvell,armada3700-xhci" for Armada 37xx SoCs
    - "marvell,armada-375-xhci" for Armada 375 SoCs
    - "marvell,armada-380-xhci" for Armada 38x SoCs
    - "renesas,xhci-r8a7743" for r8a7743 SoC
    - "renesas,xhci-r8a7790" for r8a7790 SoC
    - "renesas,xhci-r8a7791" for r8a7791 SoC
    - "renesas,xhci-r8a7793" for r8a7793 SoC
    - "renesas,xhci-r8a7795" for r8a7795 SoC
    - "renesas,xhci-r8a7796" for r8a7796 SoC
    - "renesas,xhci-r8a77965" for r8a77965 SoC
    - "renesas,xhci-r8a77990" for r8a77990 SoC
    - "renesas,rcar-gen2-xhci" for a generic R-Car Gen2 or RZ/G1 compatible
      device
    - "renesas,rcar-gen3-xhci" for a generic R-Car Gen3 compatible device
    - "xhci-platform" (deprecated)
 
    When compatible with the generic version, nodes must list the
    SoC-specific version corresponding to the platform first
    followed by the generic version.
 
  - reg: should contain address and length of the standard XHCI
    register set for the device.
  - interrupts: one XHCI interrupt should be described here.
 
Optional properties:
  - clocks: reference to the clocks
  - clock-names: mandatory if there is a second clock, in this case
    the name must be "core" for the first clock and "reg" for the
    second one
  - usb2-lpm-disable: indicate if we don't want to enable USB2 HW LPM
  - usb3-lpm-capable: determines if platform is USB3 LPM capable
  - usb3-dis-autosuspend: determines if the xHC supports USB3 autosuspend capable
  - quirk-broken-port-ped: set if the controller has broken port disable mechanism
  - xhci-slow-suspend: set if it needs an extraordinary delay to wait
    for xHC enter the Halted state after the Run/Stop (R/S) bit is cleared to '0'
  - xhci-trb-ent-quirk: set if this xhci platform need to enable the Evaluate
    Next TRB(ENT) flag in the TRB data structure to force xHC to pre-fetch
    the next TRB of a TD.
  - quirk-skip-phy-init: indicate that do not manage the PHY state in the HCD core
    and handle this in the controller's driver.
  - imod-interval-ns: default interrupt moderation interval is 5000ns
  - phys : see usb-hcd.txt in the current directory
 
additionally the properties from usb-hcd.txt (in the current directory) are
supported.
 
 
Example:
   usb@f0931000 {
       compatible = "generic-xhci";
       reg = <0xf0931000 0x8c8>;
       interrupts = <0x0 0x4e 0x0>;
   };