0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/interrupt-controller/realtek,rtl-intc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Realtek RTL SoC interrupt controller devicetree bindings
0008
0009 maintainers:
0010 - Birger Koblitz <mail@birger-koblitz.de>
0011 - Bert Vermeulen <bert@biot.com>
0012 - John Crispin <john@phrozen.org>
0013
0014 properties:
0015 compatible:
0016 const: realtek,rtl-intc
0017
0018 "#interrupt-cells":
0019 const: 1
0020
0021 reg:
0022 maxItems: 1
0023
0024 interrupts:
0025 maxItems: 1
0026
0027 interrupt-controller: true
0028
0029 "#address-cells":
0030 const: 0
0031
0032 interrupt-map:
0033 description: Describes mapping from SoC interrupts to CPU interrupts
0034
0035 required:
0036 - compatible
0037 - reg
0038 - "#interrupt-cells"
0039 - interrupt-controller
0040 - "#address-cells"
0041 - interrupt-map
0042
0043 additionalProperties: false
0044
0045 examples:
0046 - |
0047 intc: interrupt-controller@3000 {
0048 compatible = "realtek,rtl-intc";
0049 #interrupt-cells = <1>;
0050 interrupt-controller;
0051 reg = <0x3000 0x20>;
0052 #address-cells = <0>;
0053 interrupt-map =
0054 <31 &cpuintc 2>,
0055 <30 &cpuintc 1>,
0056 <29 &cpuintc 5>;
0057 };