Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
89 lines
1.7 KiB
YAML
89 lines
1.7 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/usb/usb-uhci.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Generic Platform UHCI Controller
|
|
|
|
maintainers:
|
|
- Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: generic-uhci
|
|
- const: platform-uhci
|
|
deprecated: true
|
|
- items:
|
|
- enum:
|
|
- aspeed,ast2400-uhci
|
|
- aspeed,ast2500-uhci
|
|
- aspeed,ast2600-uhci
|
|
- aspeed,ast2700-uhci
|
|
- const: generic-uhci
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
resets:
|
|
maxItems: 1
|
|
|
|
'#ports':
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
|
|
allOf:
|
|
- $ref: usb-hcd.yaml
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
const: generic-uhci
|
|
then:
|
|
required:
|
|
- clocks
|
|
|
|
- if:
|
|
properties:
|
|
compatible:
|
|
contains:
|
|
const: aspeed,ast2700-uhci
|
|
then:
|
|
required:
|
|
- resets
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/aspeed-clock.h>
|
|
|
|
usb@d8007b00 {
|
|
compatible = "generic-uhci";
|
|
reg = <0xd8007b00 0x200>;
|
|
interrupts = <43>;
|
|
clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;
|
|
};
|
|
- |
|
|
#include <dt-bindings/clock/aspeed-clock.h>
|
|
|
|
usb@1e6b0000 {
|
|
compatible = "aspeed,ast2500-uhci", "generic-uhci";
|
|
reg = <0x1e6b0000 0x100>;
|
|
interrupts = <14>;
|
|
#ports = <2>;
|
|
clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;
|
|
};
|
|
...
|