~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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
  8 
  9 description:
 10   Interrupt controller and router for Realtek MIPS SoCs, allowing each SoC
 11   interrupt to be routed to one parent CPU (hardware) interrupt, or left
 12   disconnected.
 13   All connected input lines from SoC peripherals can be masked individually,
 14   and an interrupt status register is present to indicate which interrupts are
 15   pending.
 16 
 17 maintainers:
 18   - Birger Koblitz <mail@birger-koblitz.de>
 19   - Bert Vermeulen <bert@biot.com>
 20   - John Crispin <john@phrozen.org>
 21 
 22 properties:
 23   compatible:
 24     oneOf:
 25       - items:
 26           - enum:
 27               - realtek,rtl8380-intc
 28               - realtek,rtl9300-intc
 29           - const: realtek,rtl-intc
 30       - const: realtek,rtl-intc
 31         deprecated: true
 32 
 33   "#interrupt-cells":
 34     description:
 35       SoC interrupt line index.
 36     const: 1
 37 
 38   reg:
 39     minItems: 1
 40     items:
 41       - description: vpe0 registers
 42       - description: vpe1 registers
 43 
 44   interrupts:
 45     minItems: 1
 46     maxItems: 15
 47     description:
 48       List of parent interrupts, in the order that they are connected to this
 49       interrupt router's outputs, starting at the first output.
 50 
 51   interrupt-controller: true
 52 
 53   interrupt-map:
 54     deprecated: true
 55     description: Describes mapping from SoC interrupts to CPU interrupts
 56 
 57 required:
 58   - compatible
 59   - reg
 60   - "#interrupt-cells"
 61   - interrupt-controller
 62 
 63 allOf:
 64   - if:
 65       properties:
 66         compatible:
 67           const: realtek,rtl-intc
 68     then:
 69       properties:
 70         "#address-cells":
 71           const: 0
 72       required:
 73         - "#address-cells"
 74         - interrupt-map
 75     else:
 76       required:
 77         - interrupts
 78   - if:
 79       properties:
 80         compatible:
 81           contains:
 82             const: realtek,rtl9300-intc
 83     then:
 84       properties:
 85         reg:
 86           minItems: 2
 87           maxItems: 2
 88     else:
 89       properties:
 90         reg:
 91           maxItems: 1
 92 
 93 additionalProperties: false
 94 
 95 examples:
 96   - |
 97     interrupt-controller@3000 {
 98       compatible = "realtek,rtl8380-intc", "realtek,rtl-intc";
 99       #interrupt-cells = <1>;
100       interrupt-controller;
101       reg = <0x3000 0x18>;
102 
103       interrupt-parent = <&cpuintc>;
104       interrupts = <2>, <3>, <4>, <5>, <6>;
105     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php