| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/usb/usb-xhci.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Generic USB xHCI Controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Mathias Nyman <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: usb-hcd.yaml# |
| 14 |
|
| 15 |
properties: |
| 16 |
usb2-lpm-disable: |
| 17 |
description: Indicates if we don't want to enable USB2 HW LPM |
| 18 |
type: boolean |
| 19 |
|
| 20 |
usb3-lpm-capable: |
| 21 |
description: Determines if platform is USB3 LPM capable |
| 22 |
type: boolean |
| 23 |
|
| 24 |
quirk-broken-port-ped: |
| 25 |
description: Set if the controller has broken port disable mechanism |
| 26 |
type: boolean |
| 27 |
|
| 28 |
imod-interval-ns: |
| 29 |
description: Interrupt moderation interval |
| 30 |
default: 5000 |
| 31 |
|
| 32 |
num-hc-interrupters: |
| 33 |
description: Maximum number of interrupters to allocate |
| 34 |
$ref: /schemas/types.yaml#/definitions/uint16 |
| 35 |
minimum: 1 |
| 36 |
maximum: 1024 |
| 37 |
|
| 38 |
additionalProperties: true |
| 39 |
|
| 40 |
examples: |
| 41 |
- | |
| 42 |
usb@f0930000 { |
| 43 |
compatible = "generic-xhci"; |
| 44 |
reg = <0xf0930000 0x8c8>; |
| 45 |
interrupts = <0x0 0x4e 0x0>; |
| 46 |
usb2-lpm-disable; |
| 47 |
usb3-lpm-capable; |
| 48 |
}; |