18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28c2ecf20Sopenharmony_ci%YAML 1.2 38c2ecf20Sopenharmony_ci--- 48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/interrupt-controller/actions,owl-sirq.yaml# 58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cititle: Actions Semi Owl SoCs SIRQ interrupt controller 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cimaintainers: 108c2ecf20Sopenharmony_ci - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 118c2ecf20Sopenharmony_ci - Cristian Ciocaltea <cristian.ciocaltea@gmail.com> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_cidescription: | 148c2ecf20Sopenharmony_ci This interrupt controller is found in the Actions Semi Owl SoCs (S500, S700 158c2ecf20Sopenharmony_ci and S900) and provides support for handling up to 3 external interrupt lines. 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciproperties: 188c2ecf20Sopenharmony_ci compatible: 198c2ecf20Sopenharmony_ci enum: 208c2ecf20Sopenharmony_ci - actions,s500-sirq 218c2ecf20Sopenharmony_ci - actions,s700-sirq 228c2ecf20Sopenharmony_ci - actions,s900-sirq 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci reg: 258c2ecf20Sopenharmony_ci maxItems: 1 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci interrupt-controller: true 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci '#interrupt-cells': 308c2ecf20Sopenharmony_ci const: 2 318c2ecf20Sopenharmony_ci description: 328c2ecf20Sopenharmony_ci The first cell is the input IRQ number, between 0 and 2, while the second 338c2ecf20Sopenharmony_ci cell is the trigger type as defined in interrupt.txt in this directory. 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci 'interrupts': 368c2ecf20Sopenharmony_ci description: | 378c2ecf20Sopenharmony_ci Contains the GIC SPI IRQs mapped to the external interrupt lines. 388c2ecf20Sopenharmony_ci They shall be specified sequentially from output 0 to 2. 398c2ecf20Sopenharmony_ci minItems: 3 408c2ecf20Sopenharmony_ci maxItems: 3 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_cirequired: 438c2ecf20Sopenharmony_ci - compatible 448c2ecf20Sopenharmony_ci - reg 458c2ecf20Sopenharmony_ci - interrupt-controller 468c2ecf20Sopenharmony_ci - '#interrupt-cells' 478c2ecf20Sopenharmony_ci - 'interrupts' 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ciadditionalProperties: false 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ciexamples: 528c2ecf20Sopenharmony_ci - | 538c2ecf20Sopenharmony_ci #include <dt-bindings/interrupt-controller/arm-gic.h> 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ci sirq: interrupt-controller@b01b0200 { 568c2ecf20Sopenharmony_ci compatible = "actions,s500-sirq"; 578c2ecf20Sopenharmony_ci reg = <0xb01b0200 0x4>; 588c2ecf20Sopenharmony_ci interrupt-controller; 598c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 608c2ecf20Sopenharmony_ci interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, /* SIRQ0 */ 618c2ecf20Sopenharmony_ci <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, /* SIRQ1 */ 628c2ecf20Sopenharmony_ci <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; /* SIRQ2 */ 638c2ecf20Sopenharmony_ci }; 648c2ecf20Sopenharmony_ci 658c2ecf20Sopenharmony_ci... 66