mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 06:39:05 +00:00

Convert the ARC-HS incore interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller. Link: https://lore.kernel.org/r/20250505144834.1292666-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/interrupt-controller/snps,archs-intc.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: ARC-HS incore Interrupt Controller
|
|
|
|
maintainers:
|
|
- Vineet Gupta <vgupta@kernel.org>
|
|
|
|
description:
|
|
ARC-HS incore Interrupt Controller provided by cores implementing ARCv2 ISA.
|
|
intc accessed via the special ARC AUX register interface, hence "reg" property
|
|
is not specified.
|
|
|
|
properties:
|
|
compatible:
|
|
const: snps,archs-intc
|
|
|
|
interrupt-controller: true
|
|
|
|
'#interrupt-cells':
|
|
const: 1
|
|
|
|
interrupts:
|
|
description: List of IRQ numbers between 16 and 256
|
|
items:
|
|
items:
|
|
- minimum: 16
|
|
maximum: 256
|
|
|
|
required:
|
|
- compatible
|
|
- interrupt-controller
|
|
- '#interrupt-cells'
|
|
- interrupts
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
interrupt-controller {
|
|
compatible = "snps,archs-intc";
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
interrupts = <16>, <17>, <18>, <19>, <20>, <21>, <22>, <23>, <24>, <25>;
|
|
};
|