summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml
blob: a44bdf391887f9c7d565c01d2c3aede99c4a9fc3 (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
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/fsl,ls1028a.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale layerscape SuperSpeed DWC3 USB SoC controller

maintainers:
  - Frank Li <Frank.Li@nxp.com>

select:
  properties:
    compatible:
      contains:
        enum:
          - fsl,ls1028a-dwc3
  required:
    - compatible

properties:
  compatible:
    items:
      - enum:
          - fsl,ls1028a-dwc3
      - const: snps,dwc3

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

unevaluatedProperties: false

required:
  - compatible
  - reg
  - interrupts

allOf:
  - $ref: snps,dwc3.yaml#

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>

    usb@fe800000 {
        compatible = "fsl,ls1028a-dwc3", "snps,dwc3";
        reg = <0xfe800000 0x100000>;
        interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
    };