Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / usb / usb-uhci.yaml
blobd8336f72dc1fca96ea2ccddfef0ce144ad4469a2
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/usb/usb-uhci.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic Platform UHCI Controller
9 maintainers:
10   - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 properties:
13   compatible:
14     oneOf:
15       - const: generic-uhci
16       - const: platform-uhci
17         deprecated: true
18       - items:
19           - enum:
20               - aspeed,ast2400-uhci
21               - aspeed,ast2500-uhci
22               - aspeed,ast2600-uhci
23           - const: generic-uhci
25   reg:
26     maxItems: 1
28   interrupts:
29     maxItems: 1
31   '#ports':
32     $ref: /schemas/types.yaml#/definitions/uint32
34   clocks:
35     maxItems: 1
37 required:
38   - compatible
39   - reg
40   - interrupts
42 allOf:
43   - $ref: usb-hcd.yaml
44   - if:
45       properties:
46         compatible:
47           contains:
48             const: generic-uhci
49     then:
50       required:
51         - clocks
53 unevaluatedProperties: false
55 examples:
56   - |
57     #include <dt-bindings/clock/aspeed-clock.h>
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>
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 ...