16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 26be33864SEmmanuel Vadot%YAML 1.2 36be33864SEmmanuel Vadot--- 46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/actions,owl-sirq.yaml# 56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 66be33864SEmmanuel Vadot 76be33864SEmmanuel Vadottitle: Actions Semi Owl SoCs SIRQ interrupt controller 86be33864SEmmanuel Vadot 96be33864SEmmanuel Vadotmaintainers: 106be33864SEmmanuel Vadot - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 116be33864SEmmanuel Vadot - Cristian Ciocaltea <cristian.ciocaltea@gmail.com> 126be33864SEmmanuel Vadot 136be33864SEmmanuel Vadotdescription: | 146be33864SEmmanuel Vadot This interrupt controller is found in the Actions Semi Owl SoCs (S500, S700 156be33864SEmmanuel Vadot and S900) and provides support for handling up to 3 external interrupt lines. 166be33864SEmmanuel Vadot 176be33864SEmmanuel Vadotproperties: 186be33864SEmmanuel Vadot compatible: 196be33864SEmmanuel Vadot enum: 206be33864SEmmanuel Vadot - actions,s500-sirq 216be33864SEmmanuel Vadot - actions,s700-sirq 226be33864SEmmanuel Vadot - actions,s900-sirq 236be33864SEmmanuel Vadot 246be33864SEmmanuel Vadot reg: 256be33864SEmmanuel Vadot maxItems: 1 266be33864SEmmanuel Vadot 276be33864SEmmanuel Vadot interrupt-controller: true 286be33864SEmmanuel Vadot 296be33864SEmmanuel Vadot '#interrupt-cells': 306be33864SEmmanuel Vadot const: 2 316be33864SEmmanuel Vadot description: 326be33864SEmmanuel Vadot The first cell is the input IRQ number, between 0 and 2, while the second 336be33864SEmmanuel Vadot cell is the trigger type as defined in interrupt.txt in this directory. 346be33864SEmmanuel Vadot 35*fac71e4eSEmmanuel Vadot interrupts: 366be33864SEmmanuel Vadot description: | 376be33864SEmmanuel Vadot Contains the GIC SPI IRQs mapped to the external interrupt lines. 386be33864SEmmanuel Vadot They shall be specified sequentially from output 0 to 2. 396be33864SEmmanuel Vadot minItems: 3 406be33864SEmmanuel Vadot maxItems: 3 416be33864SEmmanuel Vadot 426be33864SEmmanuel Vadotrequired: 436be33864SEmmanuel Vadot - compatible 446be33864SEmmanuel Vadot - reg 456be33864SEmmanuel Vadot - interrupt-controller 466be33864SEmmanuel Vadot - '#interrupt-cells' 47*fac71e4eSEmmanuel Vadot - interrupts 486be33864SEmmanuel Vadot 496be33864SEmmanuel VadotadditionalProperties: false 506be33864SEmmanuel Vadot 516be33864SEmmanuel Vadotexamples: 526be33864SEmmanuel Vadot - | 536be33864SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 546be33864SEmmanuel Vadot 556be33864SEmmanuel Vadot sirq: interrupt-controller@b01b0200 { 566be33864SEmmanuel Vadot compatible = "actions,s500-sirq"; 576be33864SEmmanuel Vadot reg = <0xb01b0200 0x4>; 586be33864SEmmanuel Vadot interrupt-controller; 596be33864SEmmanuel Vadot #interrupt-cells = <2>; 606be33864SEmmanuel Vadot interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, /* SIRQ0 */ 616be33864SEmmanuel Vadot <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, /* SIRQ1 */ 626be33864SEmmanuel Vadot <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; /* SIRQ2 */ 636be33864SEmmanuel Vadot }; 646be33864SEmmanuel Vadot 656be33864SEmmanuel Vadot... 66