mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-29 19:49:10 +00:00

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>
43 lines
913 B
YAML
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>;
|
|
};
|