summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb/marvell,pxau2o-ehci.yaml
blob: 3cf93dd45eb706470a526064054bb6b9ba26d181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
# Copyright 2019,2020 Lubomir Rintel <lkundrak@v3.sk>
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/marvell,pxau2o-ehci.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell PXA/MMP EHCI bindings

maintainers:
  - Lubomir Rintel <lkundrak@v3.sk>

allOf:
  - $ref: usb-hcd.yaml#

properties:
  compatible:
    const: marvell,pxau2o-ehci

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-names:
    const: USBCLK

  phys:
    maxItems: 1

  phy-names:
    const: usb

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - clock-names
  - phys
  - phy-names

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/clock/marvell,mmp2.h>
    usb@d4208000 {
        compatible = "marvell,pxau2o-ehci";
        reg = <0xd4208000 0x200>;
        interrupts = <44>;
        clocks = <&soc_clocks MMP2_CLK_USB>;
        clock-names = "USBCLK";
        phys = <&usb_otg_phy>;
        phy-names = "usb";
    };

...