linux-loongson/Documentation/devicetree/bindings/interrupt-controller/snps,arc700-intc.yaml
Rob Herring (Arm) 66276d212f dt-bindings: interrupt-controller: Convert snps,arc700-intc to DT schema
Convert the Arc Core interrupt controller binding to schema format. It's
a straight-forward conversion of the typical interrupt controller.

Link: https://lore.kernel.org/r/20250505144826.1292329-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2025-05-13 16:20:05 -05:00

43 lines
913 B
YAML

# 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>;
};