1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/usb/nxp,isp1760.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP ISP1760 family controller bindings
8
9maintainers:
10  - Sebastian Siewior <bigeasy@linutronix.de>
11  - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
12
13description: |
14  NXP ISP1760 family, which includes ISP1760/1761/1763 devicetree controller
15  bindings
16
17properties:
18  compatible:
19    enum:
20      - nxp,usb-isp1760
21      - nxp,usb-isp1761
22      - nxp,usb-isp1763
23  reg:
24    maxItems: 1
25
26  interrupts:
27    minItems: 1
28    maxItems: 2
29    items:
30      - description: Host controller interrupt
31      - description: Device controller interrupt in isp1761
32
33  interrupt-names:
34    minItems: 1
35    maxItems: 2
36    items:
37      - const: host
38      - const: peripheral
39
40  bus-width:
41    description:
42      Number of data lines.
43    enum: [8, 16, 32]
44    default: 32
45
46  dr_mode:
47    enum:
48      - host
49      - peripheral
50
51required:
52  - compatible
53  - reg
54  - interrupts
55
56additionalProperties: false
57
58examples:
59  - |
60    #include <dt-bindings/interrupt-controller/arm-gic.h>
61    usb@40200000 {
62        compatible = "nxp,usb-isp1763";
63        reg = <0x40200000 0x100000>;
64        interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
65        bus-width = <16>;
66        dr_mode = "host";
67    };
68
69...
70