brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 4fa6fd4 Raw
68 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun6i-a31-r-intc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A31 NMI/Wakeup Interrupt Controller8 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: 319    description:20      The first cell is GIC_SPI (0), the second cell is the IRQ number, and21      the third cell is the trigger type as defined in interrupt.txt in this22      directory.23 24  compatible:25    oneOf:26      - const: allwinner,sun6i-a31-r-intc27      - items:28          - enum:29              - allwinner,sun8i-a83t-r-intc30              - allwinner,sun8i-h3-r-intc31              - allwinner,sun50i-a64-r-intc32          - const: allwinner,sun6i-a31-r-intc33      - const: allwinner,sun50i-h6-r-intc34 35  reg:36    maxItems: 137 38  interrupts:39    maxItems: 140    description:41      The GIC interrupt labeled as "External NMI".42 43  interrupt-controller: true44 45required:46  - "#interrupt-cells"47  - compatible48  - reg49  - interrupts50  - interrupt-controller51 52additionalProperties: false53 54examples:55  - |56    #include <dt-bindings/interrupt-controller/arm-gic.h>57 58    r_intc: interrupt-controller@1f00c00 {59            compatible = "allwinner,sun50i-a64-r-intc",60                         "allwinner,sun6i-a31-r-intc";61            interrupt-controller;62            #interrupt-cells = <3>;63            reg = <0x01f00c00 0x400>;64            interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;65    };66 67...68