Skip to content

Commit ecdb004

Browse files
parakarobherring
authored andcommitted
dt-bindings: interrupt-controller: add Ralink SoCs interrupt controller
Add YAML doc for the interrupt controller which is present on Ralink SoCs. Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Link: https://lore.kernel.org/r/20230623035901.1514341-1-sergio.paracuellos@gmail.com Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 3216cee commit ecdb004

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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/ralink,rt2880-intc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Ralink SoCs Interrupt Controller
8+
9+
maintainers:
10+
- Sergio Paracuellos <sergio.paracuellos@gmail.com>
11+
12+
allOf:
13+
- $ref: /schemas/interrupt-controller.yaml#
14+
15+
description:
16+
This interrupt controller support a central point for interrupt aggregation
17+
for platform related blocks.
18+
19+
properties:
20+
compatible:
21+
const: ralink,rt2880-intc
22+
23+
reg:
24+
maxItems: 1
25+
26+
interrupts:
27+
maxItems: 1
28+
29+
interrupt-controller: true
30+
31+
'#interrupt-cells':
32+
const: 1
33+
34+
required:
35+
- compatible
36+
- reg
37+
- interrupts
38+
- interrupt-controller
39+
- '#interrupt-cells'
40+
41+
additionalProperties: false
42+
43+
examples:
44+
- |
45+
interrupt-controller@200 {
46+
compatible = "ralink,rt2880-intc";
47+
reg = <0x200 0x100>;
48+
interrupt-controller;
49+
#interrupt-cells = <1>;
50+
51+
interrupt-parent = <&cpuintc>;
52+
interrupts = <2>;
53+
};
54+
...

0 commit comments

Comments
 (0)