mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 23:03:57 -04:00
Current LoongArch compatible CPUs support 14 CPU IRQs. We can describe how the 14 IRQs are wired to the platform's internal interrupt controller by devicetree. Signed-off-by: Liu Peibao <liupeibao@loongson.cn> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221114113824.1880-3-liupeibao@loongson.cn
35 lines
726 B
YAML
35 lines
726 B
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/interrupt-controller/loongarch,cpu-interrupt-controller.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: LoongArch CPU Interrupt Controller
|
|
|
|
maintainers:
|
|
- Liu Peibao <liupeibao@loongson.cn>
|
|
|
|
properties:
|
|
compatible:
|
|
const: loongarch,cpu-interrupt-controller
|
|
|
|
'#interrupt-cells':
|
|
const: 1
|
|
|
|
interrupt-controller: true
|
|
|
|
additionalProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- '#interrupt-cells'
|
|
- interrupt-controller
|
|
|
|
examples:
|
|
- |
|
|
interrupt-controller {
|
|
compatible = "loongarch,cpu-interrupt-controller";
|
|
#interrupt-cells = <1>;
|
|
interrupt-controller;
|
|
};
|