Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/usb/nxp,isp1760.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: NXP ISP1760 family controller bindings
0008 
0009 maintainers:
0010   - Sebastian Siewior <bigeasy@linutronix.de>
0011   - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
0012 
0013 description: |
0014   NXP ISP1760 family, which includes ISP1760/1761/1763 devicetree controller
0015   bindings
0016 
0017 properties:
0018   compatible:
0019     enum:
0020       - nxp,usb-isp1760
0021       - nxp,usb-isp1761
0022       - nxp,usb-isp1763
0023   reg:
0024     maxItems: 1
0025 
0026   interrupts:
0027     minItems: 1
0028     items:
0029       - description: Host controller interrupt
0030       - description: Device controller interrupt in isp1761
0031 
0032   interrupt-names:
0033     minItems: 1
0034     items:
0035       - const: host
0036       - const: peripheral
0037 
0038   bus-width:
0039     description:
0040       Number of data lines.
0041     enum: [8, 16, 32]
0042     default: 32
0043 
0044   dr_mode:
0045     enum:
0046       - host
0047       - peripheral
0048 
0049 required:
0050   - compatible
0051   - reg
0052   - interrupts
0053 
0054 additionalProperties: false
0055 
0056 examples:
0057   - |
0058     #include <dt-bindings/interrupt-controller/arm-gic.h>
0059     usb@40200000 {
0060         compatible = "nxp,usb-isp1763";
0061         reg = <0x40200000 0x100000>;
0062         interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
0063         bus-width = <16>;
0064         dr_mode = "host";
0065     };
0066 
0067 ...