15def4c47SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun6i-a31-r-intc.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 7*7ef62cebSEmmanuel Vadottitle: Allwinner A31 NMI/Wakeup Interrupt Controller 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Chen-Yu Tsai <wens@csie.org> 115def4c47SEmmanuel Vadot - Maxime Ripard <mripard@kernel.org> 125def4c47SEmmanuel Vadot 135def4c47SEmmanuel VadotallOf: 145def4c47SEmmanuel Vadot - $ref: /schemas/interrupt-controller.yaml# 155def4c47SEmmanuel Vadot 165def4c47SEmmanuel Vadotproperties: 175def4c47SEmmanuel Vadot "#interrupt-cells": 185def4c47SEmmanuel Vadot const: 3 195def4c47SEmmanuel Vadot description: 205def4c47SEmmanuel Vadot The first cell is GIC_SPI (0), the second cell is the IRQ number, and 215def4c47SEmmanuel Vadot the third cell is the trigger type as defined in interrupt.txt in this 225def4c47SEmmanuel Vadot directory. 235def4c47SEmmanuel Vadot 245def4c47SEmmanuel Vadot compatible: 255def4c47SEmmanuel Vadot oneOf: 265def4c47SEmmanuel Vadot - const: allwinner,sun6i-a31-r-intc 275def4c47SEmmanuel Vadot - items: 285def4c47SEmmanuel Vadot - enum: 295def4c47SEmmanuel Vadot - allwinner,sun8i-a83t-r-intc 305def4c47SEmmanuel Vadot - allwinner,sun8i-h3-r-intc 315def4c47SEmmanuel Vadot - allwinner,sun50i-a64-r-intc 325def4c47SEmmanuel Vadot - const: allwinner,sun6i-a31-r-intc 335def4c47SEmmanuel Vadot - const: allwinner,sun50i-h6-r-intc 345def4c47SEmmanuel Vadot 355def4c47SEmmanuel Vadot reg: 365def4c47SEmmanuel Vadot maxItems: 1 375def4c47SEmmanuel Vadot 385def4c47SEmmanuel Vadot interrupts: 395def4c47SEmmanuel Vadot maxItems: 1 405def4c47SEmmanuel Vadot description: 415def4c47SEmmanuel Vadot The GIC interrupt labeled as "External NMI". 425def4c47SEmmanuel Vadot 435def4c47SEmmanuel Vadot interrupt-controller: true 445def4c47SEmmanuel Vadot 455def4c47SEmmanuel Vadotrequired: 465def4c47SEmmanuel Vadot - "#interrupt-cells" 475def4c47SEmmanuel Vadot - compatible 485def4c47SEmmanuel Vadot - reg 495def4c47SEmmanuel Vadot - interrupts 505def4c47SEmmanuel Vadot - interrupt-controller 515def4c47SEmmanuel Vadot 525def4c47SEmmanuel VadotadditionalProperties: false 535def4c47SEmmanuel Vadot 545def4c47SEmmanuel Vadotexamples: 555def4c47SEmmanuel Vadot - | 565def4c47SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 575def4c47SEmmanuel Vadot 585def4c47SEmmanuel Vadot r_intc: interrupt-controller@1f00c00 { 595def4c47SEmmanuel Vadot compatible = "allwinner,sun50i-a64-r-intc", 605def4c47SEmmanuel Vadot "allwinner,sun6i-a31-r-intc"; 615def4c47SEmmanuel Vadot interrupt-controller; 625def4c47SEmmanuel Vadot #interrupt-cells = <3>; 635def4c47SEmmanuel Vadot reg = <0x01f00c00 0x400>; 645def4c47SEmmanuel Vadot interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 655def4c47SEmmanuel Vadot }; 665def4c47SEmmanuel Vadot 675def4c47SEmmanuel Vadot... 68