Realtek RTL SoC interrupt controller

Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/realtek,rtl-intc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Interrupt controller and router for Realtek MIPS SoCs, allowing each SoC interrupt to be routed to one parent CPU (hardware) interrupt, or left disconnected. All connected input lines from SoC peripherals can be masked individually, and an interrupt status register is present to indicate which interrupts are pending.

Maintainers (maintainers): "Birger Koblitz <mail@birger-koblitz.de>", "Bert Vermeulen <bert@biot.com>", "John Crispin <john@phrozen.org>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "realtek,rtl8380-intc", "realtek,rtl9300-intc"

Item 2

Exact value (const): "realtek,rtl-intc"

Rule 2

Exact value (const): "realtek,rtl-intc"

Deprecated (deprecated): true

#interrupt-cells — required here #

SoC interrupt line index.

Exact value (const): 1

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

vpe0 registers

Item 2

vpe1 registers

interrupts — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 15

List of parent interrupts, in the order that they are connected to this interrupt router's outputs, starting at the first output.

interrupt-controller — required here #

true — No constraints added by this property rule.

interrupt-map — not listed as required here #

Deprecated (deprecated): true

Describes mapping from SoC interrupts to CPU interrupts

Required in this object (required): "compatible", "reg", "#interrupt-cells", "interrupt-controller"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "realtek,rtl-intc"

When the condition matches (then) #

Properties and child nodes (properties)

#address-cells — required here

Exact value (const): 0

Required in this object (required): "#address-cells", "interrupt-map"

When the condition does not match (else) #

Required in this object (required): "interrupts"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "realtek,rtl9300-intc"

When the condition matches (then) #

Properties and child nodes (properties)

reg — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

When the condition does not match (else) #

Properties and child nodes (properties)

reg — not listed as required here

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

interrupt-controller@3000 {
  compatible = "realtek,rtl8380-intc", "realtek,rtl-intc";
  #interrupt-cells = <1>;
  interrupt-controller;
  reg = <0x3000 0x18>;

  interrupt-parent = <&cpuintc>;
  interrupts = <2>, <3>, <4>, <5>, <6>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page