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 <maxime.ripard@bootlin.com> 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 55# FIXME: We should set it, but it would report all the generic 56# properties as additional properties. 57# additionalProperties: false 58 59examples: 60 - | 61 interrupt-controller@1c00030 { 62 compatible = "allwinner,sun7i-a20-sc-nmi"; 63 interrupt-controller; 64 #interrupt-cells = <2>; 65 reg = <0x01c00030 0x0c>; 66 interrupt-parent = <&gic>; 67 interrupts = <0 0 4>; 68 }; 69 70... 71