brintos

brintos / linux-shallow public Read only

0
0
Text · 2.2 KiB · 0075e72 Raw
82 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/interrupt-controller/arm,vic.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ARM Vectored Interrupt Controller8 9maintainers:10  - Rob Herring <robh@kernel.org>11 12description: |+13  One or more Vectored Interrupt Controllers (VIC's) can be connected in an14  ARM system for interrupt routing.  For multiple controllers they can either15  be nested or have the outputs wire-OR'd together.16 17allOf:18  - $ref: /schemas/interrupt-controller.yaml#19 20properties:21  compatible:22    enum:23      - arm,pl190-vic24      - arm,pl192-vic25      - arm,versatile-vic26 27  interrupt-controller: true28 29  "#interrupt-cells":30    const: 131    description:32      The number of cells to define the interrupts.  It must be 1 as the33      VIC has no configuration options for interrupt sources. The single34      cell defines the interrupt number.35 36  reg:37    maxItems: 138 39  interrupts:40    maxItems: 141 42  valid-mask:43    description:44      A one cell big bit mask of valid interrupt sources. Each bit45      represents single interrupt source, starting from source 0 at46      LSb and ending at source 31 at MSb. A bit that is set means47      that the source is wired and clear means otherwise. If unspecified,48      defaults to all valid.49    $ref: /schemas/types.yaml#/definitions/uint3250 51  valid-wakeup-mask:52    description:53      A one cell big bit mask of interrupt sources that can be configured54      as wake up source for the system. Order of bits is the same as for55      valid-mask property. A set bit means that this interrupt source56      can be configured as a wake up source for the system. If unspecied,57      defaults to all interrupt sources configurable as wake up sources.58    $ref: /schemas/types.yaml#/definitions/uint3259 60required:61  - compatible62  - reg63  - interrupt-controller64  - "#interrupt-cells"65 66additionalProperties: false67 68examples:69  - |70    // PL192 VIC71    vic0: interrupt-controller@60000 {72      compatible = "arm,pl192-vic";73      interrupt-controller;74      #interrupt-cells = <1>;75      reg = <0x60000 0x1000>;76 77      valid-mask = <0xffffff7f>;78      valid-wakeup-mask = <0x0000ff7f>;79    };80 81...82