Skip to content

Commit d8c56ce

Browse files
changhuangliangKAGA-KOKO
authored andcommitted
dt-bindings: interrupt-controller: Add starfive,jh8100-intc
StarFive SoCs like the JH8100 use a interrupt controller. Add a binding for it. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Ley Foon Tan <leyfoon.tan@starfivetech.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240226055025.1669223-2-changhuang.liang@starfivetech.com
1 parent 3f73456 commit d8c56ce

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/interrupt-controller/starfive,jh8100-intc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: StarFive External Interrupt Controller
8+
9+
description:
10+
StarFive SoC JH8100 contain a external interrupt controller. It can be used
11+
to handle high-level input interrupt signals. It also send the output
12+
interrupt signal to RISC-V PLIC.
13+
14+
maintainers:
15+
- Changhuang Liang <changhuang.liang@starfivetech.com>
16+
17+
properties:
18+
compatible:
19+
const: starfive,jh8100-intc
20+
21+
reg:
22+
maxItems: 1
23+
24+
clocks:
25+
description: APB clock for the interrupt controller
26+
maxItems: 1
27+
28+
resets:
29+
description: APB reset for the interrupt controller
30+
maxItems: 1
31+
32+
interrupts:
33+
maxItems: 1
34+
35+
interrupt-controller: true
36+
37+
"#interrupt-cells":
38+
const: 1
39+
40+
required:
41+
- compatible
42+
- reg
43+
- clocks
44+
- resets
45+
- interrupts
46+
- interrupt-controller
47+
- "#interrupt-cells"
48+
49+
additionalProperties: false
50+
51+
examples:
52+
- |
53+
interrupt-controller@12260000 {
54+
compatible = "starfive,jh8100-intc";
55+
reg = <0x12260000 0x10000>;
56+
clocks = <&syscrg_ne 76>;
57+
resets = <&syscrg_ne 13>;
58+
interrupts = <45>;
59+
interrupt-controller;
60+
#interrupt-cells = <1>;
61+
};

0 commit comments

Comments
 (0)