1 From 4a2b92a5d3519fc2c1edda4d4aa0e05bff41e8de Mon Sep 17 00:00:00 2001
2 From: Bert Vermeulen <bert@biot.com>
3 Date: Fri, 22 Jan 2021 21:42:23 +0100
4 Subject: dt-bindings: interrupt-controller: Add Realtek RTL838x/RTL839x
7 Document the binding for the Realtek RTL838x/RTL839x interrupt controller.
9 Reviewed-by: Rob Herring <robh@kernel.org>
10 Signed-off-by: Bert Vermeulen <bert@biot.com>
11 [maz: Add a commit message, as the author couldn't be bothered...]
12 Signed-off-by: Marc Zyngier <maz@kernel.org>
13 Link: https://lore.kernel.org/r/20210122204224.509124-2-bert@biot.com
15 .../interrupt-controller/realtek,rtl-intc.yaml | 57 ++++++++++++++++++++++
16 1 file changed, 57 insertions(+)
17 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml
19 diff --git a/Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml
21 index 0000000000000..9e76fff20323c
23 +++ b/Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml
25 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28 +$id: http://devicetree.org/schemas/interrupt-controller/realtek,rtl-intc.yaml#
29 +$schema: http://devicetree.org/meta-schemas/core.yaml#
31 +title: Realtek RTL SoC interrupt controller devicetree bindings
34 + - Birger Koblitz <mail@birger-koblitz.de>
35 + - Bert Vermeulen <bert@biot.com>
36 + - John Crispin <john@phrozen.org>
40 + const: realtek,rtl-intc
51 + interrupt-controller: true
57 + description: Describes mapping from SoC interrupts to CPU interrupts
62 + - "#interrupt-cells"
63 + - interrupt-controller
67 +additionalProperties: false
71 + intc: interrupt-controller@3000 {
72 + compatible = "realtek,rtl-intc";
73 + #interrupt-cells = <1>;
74 + interrupt-controller;
75 + reg = <0x3000 0x20>;
76 + #address-cells = <0>;