Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 <mathias.nyman@intel.com> |
| 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 | |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 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 | |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | }; |