1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/interrupt-c 4 $id: http://devicetree.org/schemas/interrupt-controller/fsl,ls-msi.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Freescale Layerscape SCFG PCIe MSI cont 7 title: Freescale Layerscape SCFG PCIe MSI controller 8 8 9 description: | 9 description: | 10 This interrupt controller hardware is a seco 10 This interrupt controller hardware is a second level interrupt controller that 11 is hooked to a parent interrupt controller: 11 is hooked to a parent interrupt controller: e.g: ARM GIC for ARM-based 12 platforms. If interrupt-parent is not provid 12 platforms. If interrupt-parent is not provided, the default parent interrupt 13 controller will be used. 13 controller will be used. 14 14 15 Each PCIe node needs to have property msi-pa 15 Each PCIe node needs to have property msi-parent that points to 16 MSI controller node 16 MSI controller node 17 17 18 maintainers: 18 maintainers: 19 - Frank Li <Frank.Li@nxp.com> 19 - Frank Li <Frank.Li@nxp.com> 20 20 21 properties: 21 properties: 22 compatible: 22 compatible: 23 enum: 23 enum: 24 - fsl,ls1012a-msi 24 - fsl,ls1012a-msi 25 - fsl,ls1021a-msi 25 - fsl,ls1021a-msi 26 - fsl,ls1043a-msi 26 - fsl,ls1043a-msi 27 - fsl,ls1043a-v1.1-msi 27 - fsl,ls1043a-v1.1-msi 28 - fsl,ls1046a-msi 28 - fsl,ls1046a-msi 29 29 30 reg: 30 reg: 31 maxItems: 1 31 maxItems: 1 32 32 33 '#msi-cells': 33 '#msi-cells': 34 const: 1 34 const: 1 35 35 36 interrupts: 36 interrupts: 37 items: 37 items: 38 - description: Shared MSI interrupt grou 38 - description: Shared MSI interrupt group 0 39 - description: Shared MSI interrupt grou 39 - description: Shared MSI interrupt group 1 40 - description: Shared MSI interrupt grou 40 - description: Shared MSI interrupt group 2 41 - description: Shared MSI interrupt grou 41 - description: Shared MSI interrupt group 3 42 minItems: 1 42 minItems: 1 43 43 44 required: 44 required: 45 - compatible 45 - compatible 46 - reg 46 - reg 47 - msi-controller 47 - msi-controller 48 - interrupts 48 - interrupts 49 49 50 allOf: 50 allOf: 51 - $ref: msi-controller.yaml 51 - $ref: msi-controller.yaml 52 - if: 52 - if: 53 properties: 53 properties: 54 compatible: 54 compatible: 55 contains: 55 contains: 56 enum: 56 enum: 57 - fsl,ls1046a-msi 57 - fsl,ls1046a-msi 58 then: 58 then: 59 properties: 59 properties: 60 interrupts: 60 interrupts: 61 minItems: 4 61 minItems: 4 62 else: 62 else: 63 properties: 63 properties: 64 interrupts: 64 interrupts: 65 maxItems: 1 65 maxItems: 1 66 66 67 unevaluatedProperties: false 67 unevaluatedProperties: false 68 68 69 examples: 69 examples: 70 - | 70 - | 71 #include <dt-bindings/interrupt-controller 71 #include <dt-bindings/interrupt-controller/arm-gic.h> 72 72 73 interrupt-controller@1571000 { 73 interrupt-controller@1571000 { 74 compatible = "fsl,ls1043a-msi"; 74 compatible = "fsl,ls1043a-msi"; 75 reg = <0x1571000 0x8>; 75 reg = <0x1571000 0x8>; 76 msi-controller; 76 msi-controller; 77 #msi-cells = <1>; 77 #msi-cells = <1>; 78 interrupts = <GIC_SPI 116 IRQ_TYPE_LEV 78 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>; 79 }; 79 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.