Renesas Interrupt Controller (INTC) for external pins

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

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

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin-r8a7778", "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin-sh73a0"

Item 2

Exact value (const): "renesas,intc-irqpin"

reg — required here #

Minimum number of items (minItems): 5

Array item rules (items) #

Item 1

Interrupt control register

Item 2

Interrupt priority register

Item 3

Interrupt source register

Item 4

Interrupt mask register

Item 5

Interrupt mask clear register

Item 6

Interrupt control register for ICR0 with IRLM0 bit

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 2

interrupts — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 8

sense-bitfield-width — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 2, 4

Default value (default): 4

Width of a single sense bitfield in the SENSE register, if different from the default.

control-parent — not listed as required here #

Value type (type): "boolean"

Disable and enable interrupts on the parent interrupt controller, needed for some broken implementations.

clocks — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

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

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin-sh73a0"

When the condition matches (then) #

Required in this object (required): "clocks", "power-domains"

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

false

Not allowed by this rule.

Examples (examples) #

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

irqpin1: interrupt-controller@e6900004 {
    compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin";
    reg = <0xe6900004 4>,
          <0xe6900014 4>,
          <0xe6900024 1>,
          <0xe6900044 1>,
          <0xe6900064 1>;
    interrupt-controller;
    #interrupt-cells = <2>;
    interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
    power-domains = <&pd_a4s>;
};

Source notes #

Annotations retained from the schema source

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

Line 16: R-Mobile A1

Line 17: R-Car M1A

Line 18: R-Car H1

Line 19: SH-Mobile AG5

Edit this page