Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: interrupt-controller: Add Realtek RTL838x/RTL839x support

Document the binding for the Realtek RTL838x/RTL839x interrupt controller.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bert Vermeulen <bert@biot.com>
[maz: Add a commit message, as the author couldn't be bothered...]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210122204224.509124-2-bert@biot.com

authored by

Bert Vermeulen and committed by
Marc Zyngier
4a2b92a5 c6076742

+57
+57
Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml
··· 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/realtek,rtl-intc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Realtek RTL SoC interrupt controller devicetree bindings 8 + 9 + maintainers: 10 + - Birger Koblitz <mail@birger-koblitz.de> 11 + - Bert Vermeulen <bert@biot.com> 12 + - John Crispin <john@phrozen.org> 13 + 14 + properties: 15 + compatible: 16 + const: realtek,rtl-intc 17 + 18 + "#interrupt-cells": 19 + const: 1 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + interrupts: 25 + maxItems: 1 26 + 27 + interrupt-controller: true 28 + 29 + "#address-cells": 30 + const: 0 31 + 32 + interrupt-map: 33 + description: Describes mapping from SoC interrupts to CPU interrupts 34 + 35 + required: 36 + - compatible 37 + - reg 38 + - "#interrupt-cells" 39 + - interrupt-controller 40 + - "#address-cells" 41 + - interrupt-map 42 + 43 + additionalProperties: false 44 + 45 + examples: 46 + - | 47 + intc: interrupt-controller@3000 { 48 + compatible = "realtek,rtl-intc"; 49 + #interrupt-cells = <1>; 50 + interrupt-controller; 51 + reg = <0x3000 0x20>; 52 + #address-cells = <0>; 53 + interrupt-map = 54 + <31 &cpuintc 2>, 55 + <30 &cpuintc 1>, 56 + <29 &cpuintc 5>; 57 + };