# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/snps,arc700-intc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ARC700 incore Interrupt Controller

maintainers:
  - Vineet Gupta <vgupta@kernel.org>

description: >
  The core interrupt controller provides 32 prioritized interrupts (2 levels)
  to ARC700 core.

  intc accessed via the special ARC AUX register interface, hence "reg" property
  is not specified.

properties:
  compatible:
    const: snps,arc700-intc

  interrupt-controller: true

  '#interrupt-cells':
    description: An interrupt number 0-31
    const: 1

required:
  - compatible
  - interrupt-controller
  - '#interrupt-cells'

additionalProperties: false

examples:
  - |
    interrupt-controller {
        compatible = "snps,arc700-intc";
        interrupt-controller;
        #interrupt-cells = <1>;
    };
