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-sc-nmi 33 - items: 34 - const: allwinner,sun50i-a64-r-intc 35 - const: allwinner,sun6i-a31-r-intc 36 - items: 37 - const: allwinner,sun50i-h6-r-intc 38 - const: allwinner,sun6i-a31-r-intc 39 40 reg: 41 maxItems: 1 42 43 interrupts: 44 maxItems: 1 45 46 interrupt-controller: true 47 48required: 49 - "#interrupt-cells" 50 - compatible 51 - reg 52 - interrupts 53 - interrupt-controller 54 55unevaluatedProperties: false 56 57examples: 58 - | 59 interrupt-controller@1c00030 { 60 compatible = "allwinner,sun7i-a20-sc-nmi"; 61 interrupt-controller; 62 #interrupt-cells = <2>; 63 reg = <0x01c00030 0x0c>; 64 interrupt-parent = <&gic>; 65 interrupts = <0 0 4>; 66 }; 67 68... 69