Keystone 2 IRQ controller IP

Schema identifier ($id): "http://devicetree.org/schemas/ti,keystone-irq.yaml#"

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

Maintainers (maintainers): "Grygorii Strashko <grygorii.strashko@ti.com>"

On Keystone SOCs, DSP cores can send interrupts to ARM host using the IRQ controller IP. It provides 28 IRQ signals to ARM. The IRQ handler running on HOST OS can identify DSP signal source by analyzing SRCCx bits in IPCARx registers. This is one of the component used by the IPC mechanism used on Keystone SOCs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,keystone-irq"

reg — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 1

interrupts — required here #

Maximum number of items (maxItems): 1

ti,syscon-dev — required here #

Phandle and offset to syscon device

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

Phandle to syscon device control registers

Item 2

Offset to control register

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

interrupt-controller@2a0 {
  compatible = "ti,keystone-irq";
  reg = <0x2a0 0x4>;
  ti,syscon-dev = <&devctrl 0x2a0>;
  interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>;
  interrupt-controller;
  #interrupt-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page