1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Allwinner A20 Non-Maskable Interrupt Controller Device Tree Bindings 8 9maintainers: 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 12 13allOf: 14 - $ref: /schemas/interrupt-controller.yaml# 15 16properties: 17 "#interrupt-cells": 18 const: 2 19 description: 20 The first cell is the IRQ number, the second cell the trigger 21 type as defined in interrupt.txt in this directory. 22 23 compatible: 24 oneOf: 25 - const: allwinner,sun6i-a31-r-intc 26 - const: allwinner,sun6i-a31-sc-nmi 27 deprecated: true 28 - const: allwinner,sun7i-a20-sc-nmi 29 - items: 30 - const: allwinner,sun8i-a83t-r-intc 31 - const: allwinner,sun6i-a31-r-intc 32 - const: allwinner,sun9i-a80-nmi 33 - items: 34 - const: allwinner,sun50i-a64-r-intc 35 - const: allwinner,sun6i-a31-r-intc 36 - items: 37 - const: allwinner,sun50i-a100-nmi 38 - const: allwinner,sun9i-a80-nmi 39 - items: 40 - const: allwinner,sun50i-h6-r-intc 41 - const: allwinner,sun6i-a31-r-intc 42 43 reg: 44 maxItems: 1 45 46 interrupts: 47 maxItems: 1 48 49 interrupt-controller: true 50 51required: 52 - "#interrupt-cells" 53 - compatible 54 - reg 55 - interrupts 56 - interrupt-controller 57 58unevaluatedProperties: false 59 60examples: 61 - | 62 interrupt-controller@1c00030 { 63 compatible = "allwinner,sun7i-a20-sc-nmi"; 64 interrupt-controller; 65 #interrupt-cells = <2>; 66 reg = <0x01c00030 0x0c>; 67 interrupt-parent = <&gic>; 68 interrupts = <0 0 4>; 69 }; 70 71... 72