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