xref: /linux/Documentation/devicetree/bindings/usb/fsl,ls1028a.yaml (revision 06a130e42a5bfc84795464bff023bff4c16f58c5)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/usb/fsl,ls1028a.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale layerscape SuperSpeed DWC3 USB SoC controller
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12select:
13  properties:
14    compatible:
15      contains:
16        enum:
17          - fsl,ls1028a-dwc3
18  required:
19    - compatible
20
21properties:
22  compatible:
23    items:
24      - enum:
25          - fsl,ls1028a-dwc3
26      - const: snps,dwc3
27
28  reg:
29    maxItems: 1
30
31  interrupts:
32    maxItems: 1
33
34unevaluatedProperties: false
35
36required:
37  - compatible
38  - reg
39  - interrupts
40
41allOf:
42  - $ref: snps,dwc3.yaml#
43
44examples:
45  - |
46    #include <dt-bindings/interrupt-controller/arm-gic.h>
47
48    usb@fe800000 {
49        compatible = "fsl,ls1028a-dwc3", "snps,dwc3";
50        reg = <0xfe800000 0x100000>;
51        interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
52    };
53