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/renesas,rza1-irqc.yaml# 58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cititle: Renesas RZ/A1 Interrupt Controller 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cimaintainers: 108c2ecf20Sopenharmony_ci - Chris Brandt <chris.brandt@renesas.com> 118c2ecf20Sopenharmony_ci - Geert Uytterhoeven <geert+renesas@glider.be> 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_cidescription: | 148c2ecf20Sopenharmony_ci The RZ/A1 Interrupt Controller is a front-end for the GIC found on Renesas RZ/A1 and 158c2ecf20Sopenharmony_ci RZ/A2 SoCs: 168c2ecf20Sopenharmony_ci - IRQ sense select for 8 external interrupts, 1:1-mapped to 8 GIC SPI interrupts, 178c2ecf20Sopenharmony_ci - NMI edge select. 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciallOf: 208c2ecf20Sopenharmony_ci - $ref: /schemas/interrupt-controller.yaml# 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciproperties: 238c2ecf20Sopenharmony_ci compatible: 248c2ecf20Sopenharmony_ci items: 258c2ecf20Sopenharmony_ci - enum: 268c2ecf20Sopenharmony_ci - renesas,r7s72100-irqc # RZ/A1H 278c2ecf20Sopenharmony_ci - renesas,r7s9210-irqc # RZ/A2M 288c2ecf20Sopenharmony_ci - const: renesas,rza1-irqc 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci '#interrupt-cells': 318c2ecf20Sopenharmony_ci const: 2 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci '#address-cells': 348c2ecf20Sopenharmony_ci const: 0 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci interrupt-controller: true 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci reg: 398c2ecf20Sopenharmony_ci maxItems: 1 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci interrupt-map: 428c2ecf20Sopenharmony_ci maxItems: 8 438c2ecf20Sopenharmony_ci description: Specifies the mapping from external interrupts to GIC interrupts. 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci interrupt-map-mask: 468c2ecf20Sopenharmony_ci items: 478c2ecf20Sopenharmony_ci - const: 7 488c2ecf20Sopenharmony_ci - const: 0 498c2ecf20Sopenharmony_ci 508c2ecf20Sopenharmony_cirequired: 518c2ecf20Sopenharmony_ci - compatible 528c2ecf20Sopenharmony_ci - '#interrupt-cells' 538c2ecf20Sopenharmony_ci - '#address-cells' 548c2ecf20Sopenharmony_ci - interrupt-controller 558c2ecf20Sopenharmony_ci - reg 568c2ecf20Sopenharmony_ci - interrupt-map 578c2ecf20Sopenharmony_ci - interrupt-map-mask 588c2ecf20Sopenharmony_ci 598c2ecf20Sopenharmony_ciadditionalProperties: false 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ciexamples: 628c2ecf20Sopenharmony_ci - | 638c2ecf20Sopenharmony_ci #include <dt-bindings/interrupt-controller/arm-gic.h> 648c2ecf20Sopenharmony_ci irqc: interrupt-controller@fcfef800 { 658c2ecf20Sopenharmony_ci compatible = "renesas,r7s72100-irqc", "renesas,rza1-irqc"; 668c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 678c2ecf20Sopenharmony_ci #address-cells = <0>; 688c2ecf20Sopenharmony_ci interrupt-controller; 698c2ecf20Sopenharmony_ci reg = <0xfcfef800 0x6>; 708c2ecf20Sopenharmony_ci interrupt-map = 718c2ecf20Sopenharmony_ci <0 0 &gic GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 728c2ecf20Sopenharmony_ci <1 0 &gic GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, 738c2ecf20Sopenharmony_ci <2 0 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, 748c2ecf20Sopenharmony_ci <3 0 &gic GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 758c2ecf20Sopenharmony_ci <4 0 &gic GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 768c2ecf20Sopenharmony_ci <5 0 &gic GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, 778c2ecf20Sopenharmony_ci <6 0 &gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, 788c2ecf20Sopenharmony_ci <7 0 &gic GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 798c2ecf20Sopenharmony_ci interrupt-map-mask = <7 0>; 808c2ecf20Sopenharmony_ci }; 81