76 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/usb/usb-uhci.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Generic Platform UHCI Controller8 9maintainers:10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org>11 12properties:13 compatible:14 oneOf:15 - const: generic-uhci16 - const: platform-uhci17 deprecated: true18 - items:19 - enum:20 - aspeed,ast2400-uhci21 - aspeed,ast2500-uhci22 - aspeed,ast2600-uhci23 - const: generic-uhci24 25 reg:26 maxItems: 127 28 interrupts:29 maxItems: 130 31 '#ports':32 $ref: /schemas/types.yaml#/definitions/uint3233 34 clocks:35 maxItems: 136 37required:38 - compatible39 - reg40 - interrupts41 42allOf:43 - $ref: usb-hcd.yaml44 - if:45 properties:46 compatible:47 contains:48 const: generic-uhci49 then:50 required:51 - clocks52 53unevaluatedProperties: false54 55examples:56 - |57 #include <dt-bindings/clock/aspeed-clock.h>58 59 usb@d8007b00 {60 compatible = "generic-uhci";61 reg = <0xd8007b00 0x200>;62 interrupts = <43>;63 clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;64 };65 - |66 #include <dt-bindings/clock/aspeed-clock.h>67 68 usb@1e6b0000 {69 compatible = "aspeed,ast2500-uhci", "generic-uhci";70 reg = <0x1e6b0000 0x100>;71 interrupts = <14>;72 #ports = <2>;73 clocks = <&syscon ASPEED_CLK_GATE_USBUHCICLK>;74 };75...76