xref: /freebsd/sys/contrib/device-tree/Bindings/usb/nxp,isp1760.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
15956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25956d97fSEmmanuel Vadot%YAML 1.2
35956d97fSEmmanuel Vadot---
45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/usb/nxp,isp1760.yaml#
55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65956d97fSEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: NXP ISP1760 family controller
85956d97fSEmmanuel Vadot
95956d97fSEmmanuel Vadotmaintainers:
105956d97fSEmmanuel Vadot  - Sebastian Siewior <bigeasy@linutronix.de>
115956d97fSEmmanuel Vadot  - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
125956d97fSEmmanuel Vadot
135956d97fSEmmanuel Vadotdescription: |
145956d97fSEmmanuel Vadot  NXP ISP1760 family, which includes ISP1760/1761/1763 devicetree controller
155956d97fSEmmanuel Vadot  bindings
165956d97fSEmmanuel Vadot
175956d97fSEmmanuel Vadotproperties:
185956d97fSEmmanuel Vadot  compatible:
195956d97fSEmmanuel Vadot    enum:
205956d97fSEmmanuel Vadot      - nxp,usb-isp1760
215956d97fSEmmanuel Vadot      - nxp,usb-isp1761
225956d97fSEmmanuel Vadot      - nxp,usb-isp1763
235956d97fSEmmanuel Vadot  reg:
245956d97fSEmmanuel Vadot    maxItems: 1
255956d97fSEmmanuel Vadot
265956d97fSEmmanuel Vadot  interrupts:
275956d97fSEmmanuel Vadot    minItems: 1
285956d97fSEmmanuel Vadot    items:
295956d97fSEmmanuel Vadot      - description: Host controller interrupt
305956d97fSEmmanuel Vadot      - description: Device controller interrupt in isp1761
315956d97fSEmmanuel Vadot
325956d97fSEmmanuel Vadot  interrupt-names:
335956d97fSEmmanuel Vadot    minItems: 1
345956d97fSEmmanuel Vadot    items:
355956d97fSEmmanuel Vadot      - const: host
365956d97fSEmmanuel Vadot      - const: peripheral
375956d97fSEmmanuel Vadot
385956d97fSEmmanuel Vadot  bus-width:
395956d97fSEmmanuel Vadot    description:
405956d97fSEmmanuel Vadot      Number of data lines.
415956d97fSEmmanuel Vadot    enum: [8, 16, 32]
425956d97fSEmmanuel Vadot    default: 32
435956d97fSEmmanuel Vadot
445956d97fSEmmanuel Vadot  dr_mode:
455956d97fSEmmanuel Vadot    enum:
465956d97fSEmmanuel Vadot      - host
475956d97fSEmmanuel Vadot      - peripheral
485956d97fSEmmanuel Vadot
495956d97fSEmmanuel Vadotrequired:
505956d97fSEmmanuel Vadot  - compatible
515956d97fSEmmanuel Vadot  - reg
525956d97fSEmmanuel Vadot  - interrupts
535956d97fSEmmanuel Vadot
545956d97fSEmmanuel VadotadditionalProperties: false
555956d97fSEmmanuel Vadot
565956d97fSEmmanuel Vadotexamples:
575956d97fSEmmanuel Vadot  - |
585956d97fSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
595956d97fSEmmanuel Vadot    usb@40200000 {
605956d97fSEmmanuel Vadot        compatible = "nxp,usb-isp1763";
615956d97fSEmmanuel Vadot        reg = <0x40200000 0x100000>;
625956d97fSEmmanuel Vadot        interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
635956d97fSEmmanuel Vadot        bus-width = <16>;
645956d97fSEmmanuel Vadot        dr_mode = "host";
655956d97fSEmmanuel Vadot    };
665956d97fSEmmanuel Vadot
675956d97fSEmmanuel Vadot...
68