Allwinner A20 Non-Maskable Interrupt Controller
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/allwinner,sun7i-a20-sc-nmi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/interrupt-controller.yaml#
Properties and child nodes (properties) #
#interrupt-cells — required here #
Exact value (const): 2
The first cell is the IRQ number, the second cell the trigger type as defined in interrupt.txt in this directory.
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"allwinner,sun6i-a31-sc-nmi"Deprecated (
deprecated):true
Rule 2
Exact value (
const):"allwinner,sun7i-a20-sc-nmi"
Rule 3
Exact value (
const):"allwinner,sun9i-a80-nmi"
Rule 4
Exact value (
const):"allwinner,sun55i-a523-nmi"
Rule 5
Array item rules (
items)Item 1
Allowed values (
enum):"allwinner,sun8i-v3s-nmi","allwinner,sun50i-a100-nmi","allwinner,sun50i-h616-nmi"Item 2
Exact value (
const):"allwinner,sun9i-a80-nmi"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
interrupt-controller — required here #
true — No constraints added by this property rule.
Required in this object (required): "#interrupt-cells", "compatible", "reg", "interrupts", "interrupt-controller"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
interrupt-controller@1c00030 {
compatible = "allwinner,sun7i-a20-sc-nmi";
interrupt-controller;
#interrupt-cells = <2>;
reg = <0x01c00030 0x0c>;
interrupt-parent = <&gic>;
interrupts = <0 0 4>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0