xref: /freebsd/sys/contrib/device-tree/Bindings/usb/usb-xhci.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/usb/usb-xhci.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: Generic USB xHCI Controller
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Mathias Nyman <mathias.nyman@intel.com>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel VadotallOf:
13fac71e4eSEmmanuel Vadot  - $ref: usb-hcd.yaml#
145def4c47SEmmanuel Vadot
155def4c47SEmmanuel Vadotproperties:
165def4c47SEmmanuel Vadot  usb2-lpm-disable:
175def4c47SEmmanuel Vadot    description: Indicates if we don't want to enable USB2 HW LPM
185def4c47SEmmanuel Vadot    type: boolean
195def4c47SEmmanuel Vadot
205def4c47SEmmanuel Vadot  usb3-lpm-capable:
215def4c47SEmmanuel Vadot    description: Determines if platform is USB3 LPM capable
225def4c47SEmmanuel Vadot    type: boolean
235def4c47SEmmanuel Vadot
245def4c47SEmmanuel Vadot  quirk-broken-port-ped:
255def4c47SEmmanuel Vadot    description: Set if the controller has broken port disable mechanism
265def4c47SEmmanuel Vadot    type: boolean
275def4c47SEmmanuel Vadot
285def4c47SEmmanuel Vadot  imod-interval-ns:
295def4c47SEmmanuel Vadot    description: Interrupt moderation interval
305def4c47SEmmanuel Vadot    default: 5000
315def4c47SEmmanuel Vadot
32*8d13bc63SEmmanuel Vadot  num-hc-interrupters:
33*8d13bc63SEmmanuel Vadot    description: Maximum number of interrupters to allocate
34*8d13bc63SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint16
35*8d13bc63SEmmanuel Vadot    minimum: 1
36*8d13bc63SEmmanuel Vadot    maximum: 1024
37*8d13bc63SEmmanuel Vadot
385def4c47SEmmanuel VadotadditionalProperties: true
395def4c47SEmmanuel Vadot
405def4c47SEmmanuel Vadotexamples:
415def4c47SEmmanuel Vadot  - |
425def4c47SEmmanuel Vadot    usb@f0930000 {
435def4c47SEmmanuel Vadot      compatible = "generic-xhci";
445def4c47SEmmanuel Vadot      reg = <0xf0930000 0x8c8>;
455def4c47SEmmanuel Vadot      interrupts = <0x0 0x4e 0x0>;
465def4c47SEmmanuel Vadot      usb2-lpm-disable;
475def4c47SEmmanuel Vadot      usb3-lpm-capable;
485def4c47SEmmanuel Vadot    };
49