1b2bd271cSCristian Ciocaltea# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2b2bd271cSCristian Ciocaltea%YAML 1.2 3b2bd271cSCristian Ciocaltea--- 4b2bd271cSCristian Ciocaltea$id: http://devicetree.org/schemas/interrupt-controller/actions,owl-sirq.yaml# 5b2bd271cSCristian Ciocaltea$schema: http://devicetree.org/meta-schemas/core.yaml# 6b2bd271cSCristian Ciocaltea 7b2bd271cSCristian Ciocalteatitle: Actions Semi Owl SoCs SIRQ interrupt controller 8b2bd271cSCristian Ciocaltea 9b2bd271cSCristian Ciocalteamaintainers: 10b2bd271cSCristian Ciocaltea - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 11b2bd271cSCristian Ciocaltea - Cristian Ciocaltea <cristian.ciocaltea@gmail.com> 12b2bd271cSCristian Ciocaltea 13b2bd271cSCristian Ciocalteadescription: | 14b2bd271cSCristian Ciocaltea This interrupt controller is found in the Actions Semi Owl SoCs (S500, S700 15b2bd271cSCristian Ciocaltea and S900) and provides support for handling up to 3 external interrupt lines. 16b2bd271cSCristian Ciocaltea 17b2bd271cSCristian Ciocalteaproperties: 18b2bd271cSCristian Ciocaltea compatible: 19b2bd271cSCristian Ciocaltea enum: 20b2bd271cSCristian Ciocaltea - actions,s500-sirq 21b2bd271cSCristian Ciocaltea - actions,s700-sirq 22b2bd271cSCristian Ciocaltea - actions,s900-sirq 23b2bd271cSCristian Ciocaltea 24b2bd271cSCristian Ciocaltea reg: 25b2bd271cSCristian Ciocaltea maxItems: 1 26b2bd271cSCristian Ciocaltea 27b2bd271cSCristian Ciocaltea interrupt-controller: true 28b2bd271cSCristian Ciocaltea 29b2bd271cSCristian Ciocaltea '#interrupt-cells': 30b2bd271cSCristian Ciocaltea const: 2 31b2bd271cSCristian Ciocaltea description: 32b2bd271cSCristian Ciocaltea The first cell is the input IRQ number, between 0 and 2, while the second 33b2bd271cSCristian Ciocaltea cell is the trigger type as defined in interrupt.txt in this directory. 34b2bd271cSCristian Ciocaltea 35*43d78445SRob Herring interrupts: 36b2bd271cSCristian Ciocaltea description: | 37b2bd271cSCristian Ciocaltea Contains the GIC SPI IRQs mapped to the external interrupt lines. 38b2bd271cSCristian Ciocaltea They shall be specified sequentially from output 0 to 2. 39b2bd271cSCristian Ciocaltea minItems: 3 40b2bd271cSCristian Ciocaltea maxItems: 3 41b2bd271cSCristian Ciocaltea 42b2bd271cSCristian Ciocaltearequired: 43b2bd271cSCristian Ciocaltea - compatible 44b2bd271cSCristian Ciocaltea - reg 45b2bd271cSCristian Ciocaltea - interrupt-controller 46b2bd271cSCristian Ciocaltea - '#interrupt-cells' 47*43d78445SRob Herring - interrupts 48b2bd271cSCristian Ciocaltea 49b2bd271cSCristian CiocalteaadditionalProperties: false 50b2bd271cSCristian Ciocaltea 51b2bd271cSCristian Ciocalteaexamples: 52b2bd271cSCristian Ciocaltea - | 53b2bd271cSCristian Ciocaltea #include <dt-bindings/interrupt-controller/arm-gic.h> 54b2bd271cSCristian Ciocaltea 55b2bd271cSCristian Ciocaltea sirq: interrupt-controller@b01b0200 { 56b2bd271cSCristian Ciocaltea compatible = "actions,s500-sirq"; 57b2bd271cSCristian Ciocaltea reg = <0xb01b0200 0x4>; 58b2bd271cSCristian Ciocaltea interrupt-controller; 59b2bd271cSCristian Ciocaltea #interrupt-cells = <2>; 60b2bd271cSCristian Ciocaltea interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, /* SIRQ0 */ 61b2bd271cSCristian Ciocaltea <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, /* SIRQ1 */ 62b2bd271cSCristian Ciocaltea <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; /* SIRQ2 */ 63b2bd271cSCristian Ciocaltea }; 64b2bd271cSCristian Ciocaltea 65b2bd271cSCristian Ciocaltea... 66