brintos

brintos / linux-shallow public Read only

0
0
Text · 1.8 KiB · 9ba8d4d Raw
80 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/interrupt-controller/fsl,ls-msi.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Freescale Layerscape SCFG PCIe MSI controller8 9description: |10  This interrupt controller hardware is a second level interrupt controller that11  is hooked to a parent interrupt controller: e.g: ARM GIC for ARM-based12  platforms. If interrupt-parent is not provided, the default parent interrupt13  controller will be used.14 15  Each PCIe node needs to have property msi-parent that points to16  MSI controller node17 18maintainers:19  - Frank Li <Frank.Li@nxp.com>20 21properties:22  compatible:23    enum:24      - fsl,ls1012a-msi25      - fsl,ls1021a-msi26      - fsl,ls1043a-msi27      - fsl,ls1043a-v1.1-msi28      - fsl,ls1046a-msi29 30  reg:31    maxItems: 132 33  '#msi-cells':34    const: 135 36  interrupts:37    items:38      - description: Shared MSI interrupt group 039      - description: Shared MSI interrupt group 140      - description: Shared MSI interrupt group 241      - description: Shared MSI interrupt group 342    minItems: 143 44required:45  - compatible46  - reg47  - msi-controller48  - interrupts49 50allOf:51  - $ref: msi-controller.yaml52  - if:53      properties:54        compatible:55          contains:56            enum:57              - fsl,ls1046a-msi58    then:59      properties:60        interrupts:61          minItems: 462    else:63      properties:64        interrupts:65          maxItems: 166 67unevaluatedProperties: false68 69examples:70  - |71    #include <dt-bindings/interrupt-controller/arm-gic.h>72 73    interrupt-controller@1571000 {74        compatible = "fsl,ls1043a-msi";75        reg = <0x1571000 0x8>;76        msi-controller;77        #msi-cells = <1>;78        interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;79    };80