Renesas RZ/{G3E,V2H(P)} Interrupt Control Unit

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

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

Maintainers (maintainers): "Fabrizio Castro <fabrizio.castro.jz@renesas.com>", "Geert Uytterhoeven <geert+renesas@glider.be>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/interrupt-controller.yaml#

The Interrupt Control Unit (ICU) handles external interrupts (NMI, IRQ, and TINT), error interrupts, DMAC requests, GPT interrupts, and internal interrupts.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "renesas,r9a09g047-icu", "renesas,r9a09g056-icu", "renesas,r9a09g057-icu"

#interrupt-cells — required here #

The first cell is the SPI number of the NMI or the PORT_IRQ[0-15] interrupt, as per user manual. The second cell is used to specify the flag.

Exact value (const): 2

#address-cells — required here #

Exact value (const): 0

interrupt-controller — required here #

true — No constraints added by this property rule.

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Minimum number of items (minItems): 58

Array item rules (items) #

Item 1

NMI interrupt

Item 2

PORT_IRQ0 interrupt

Item 3

PORT_IRQ1 interrupt

Item 4

PORT_IRQ2 interrupt

Item 5

PORT_IRQ3 interrupt

Item 6

PORT_IRQ4 interrupt

Item 7

PORT_IRQ5 interrupt

Item 8

PORT_IRQ6 interrupt

Item 9

PORT_IRQ7 interrupt

Item 10

PORT_IRQ8 interrupt

Item 11

PORT_IRQ9 interrupt

Item 12

PORT_IRQ10 interrupt

Item 13

PORT_IRQ11 interrupt

Item 14

PORT_IRQ12 interrupt

Item 15

PORT_IRQ13 interrupt

Item 16

PORT_IRQ14 interrupt

Item 17

PORT_IRQ15 interrupt

Item 18

GPIO interrupt, TINT0

Item 19

GPIO interrupt, TINT1

Item 20

GPIO interrupt, TINT2

Item 21

GPIO interrupt, TINT3

Item 22

GPIO interrupt, TINT4

Item 23

GPIO interrupt, TINT5

Item 24

GPIO interrupt, TINT6

Item 25

GPIO interrupt, TINT7

Item 26

GPIO interrupt, TINT8

Item 27

GPIO interrupt, TINT9

Item 28

GPIO interrupt, TINT10

Item 29

GPIO interrupt, TINT11

Item 30

GPIO interrupt, TINT12

Item 31

GPIO interrupt, TINT13

Item 32

GPIO interrupt, TINT14

Item 33

GPIO interrupt, TINT15

Item 34

GPIO interrupt, TINT16

Item 35

GPIO interrupt, TINT17

Item 36

GPIO interrupt, TINT18

Item 37

GPIO interrupt, TINT19

Item 38

GPIO interrupt, TINT20

Item 39

GPIO interrupt, TINT21

Item 40

GPIO interrupt, TINT22

Item 41

GPIO interrupt, TINT23

Item 42

GPIO interrupt, TINT24

Item 43

GPIO interrupt, TINT25

Item 44

GPIO interrupt, TINT26

Item 45

GPIO interrupt, TINT27

Item 46

GPIO interrupt, TINT28

Item 47

GPIO interrupt, TINT29

Item 48

GPIO interrupt, TINT30

Item 49

GPIO interrupt, TINT31

Item 50

Software interrupt, INTA55_0

Item 51

Software interrupt, INTA55_1

Item 52

Software interrupt, INTA55_2

Item 53

Software interrupt, INTA55_3

Item 54

Error interrupt to CA55

Item 55

GTCCRA compare match/input capture (U0)

Item 56

GTCCRB compare match/input capture (U0)

Item 57

GTCCRA compare match/input capture (U1)

Item 58

GTCCRB compare match/input capture (U1)

interrupt-names — required here #

Minimum number of items (minItems): 58

Array item rules (items) #

Item 1

Exact value (const): "nmi"

Item 2

Exact value (const): "port_irq0"

Item 3

Exact value (const): "port_irq1"

Item 4

Exact value (const): "port_irq2"

Item 5

Exact value (const): "port_irq3"

Item 6

Exact value (const): "port_irq4"

Item 7

Exact value (const): "port_irq5"

Item 8

Exact value (const): "port_irq6"

Item 9

Exact value (const): "port_irq7"

Item 10

Exact value (const): "port_irq8"

Item 11

Exact value (const): "port_irq9"

Item 12

Exact value (const): "port_irq10"

Item 13

Exact value (const): "port_irq11"

Item 14

Exact value (const): "port_irq12"

Item 15

Exact value (const): "port_irq13"

Item 16

Exact value (const): "port_irq14"

Item 17

Exact value (const): "port_irq15"

Item 18

Exact value (const): "tint0"

Item 19

Exact value (const): "tint1"

Item 20

Exact value (const): "tint2"

Item 21

Exact value (const): "tint3"

Item 22

Exact value (const): "tint4"

Item 23

Exact value (const): "tint5"

Item 24

Exact value (const): "tint6"

Item 25

Exact value (const): "tint7"

Item 26

Exact value (const): "tint8"

Item 27

Exact value (const): "tint9"

Item 28

Exact value (const): "tint10"

Item 29

Exact value (const): "tint11"

Item 30

Exact value (const): "tint12"

Item 31

Exact value (const): "tint13"

Item 32

Exact value (const): "tint14"

Item 33

Exact value (const): "tint15"

Item 34

Exact value (const): "tint16"

Item 35

Exact value (const): "tint17"

Item 36

Exact value (const): "tint18"

Item 37

Exact value (const): "tint19"

Item 38

Exact value (const): "tint20"

Item 39

Exact value (const): "tint21"

Item 40

Exact value (const): "tint22"

Item 41

Exact value (const): "tint23"

Item 42

Exact value (const): "tint24"

Item 43

Exact value (const): "tint25"

Item 44

Exact value (const): "tint26"

Item 45

Exact value (const): "tint27"

Item 46

Exact value (const): "tint28"

Item 47

Exact value (const): "tint29"

Item 48

Exact value (const): "tint30"

Item 49

Exact value (const): "tint31"

Item 50

Exact value (const): "int-ca55-0"

Item 51

Exact value (const): "int-ca55-1"

Item 52

Exact value (const): "int-ca55-2"

Item 53

Exact value (const): "int-ca55-3"

Item 54

Exact value (const): "icu-error-ca55"

Item 55

Exact value (const): "gpt-u0-gtciada"

Item 56

Exact value (const): "gpt-u0-gtciadb"

Item 57

Exact value (const): "gpt-u1-gtciada"

Item 58

Exact value (const): "gpt-u1-gtciadb"

clocks — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "#interrupt-cells", "#address-cells", "interrupt-controller", "interrupts", "interrupt-names", "clocks", "power-domains", "resets"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/renesas-cpg-mssr.h>

icu: interrupt-controller@10400000 {
    compatible = "renesas,r9a09g057-icu";
    reg = <0x10400000 0x10000>;
    #interrupt-cells = <2>;
    #address-cells = <0>;
    interrupt-controller;
    interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 433 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 434 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 435 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 436 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 437 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 438 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 439 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 440 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 441 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 442 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 443 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 446 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 447 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 449 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 450 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 262 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 263 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 264 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 265 IRQ_TYPE_EDGE_RISING>,
                 <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 451 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 452 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 453 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 454 IRQ_TYPE_LEVEL_HIGH>;
    interrupt-names = "nmi",
                      "port_irq0", "port_irq1", "port_irq2",
                      "port_irq3", "port_irq4", "port_irq5",
                      "port_irq6", "port_irq7", "port_irq8",
                      "port_irq9", "port_irq10", "port_irq11",
                      "port_irq12", "port_irq13", "port_irq14",
                      "port_irq15",
                      "tint0", "tint1", "tint2", "tint3",
                      "tint4", "tint5", "tint6", "tint7",
                      "tint8", "tint9", "tint10", "tint11",
                      "tint12", "tint13", "tint14", "tint15",
                      "tint16", "tint17", "tint18", "tint19",
                      "tint20", "tint21", "tint22", "tint23",
                      "tint24", "tint25", "tint26", "tint27",
                      "tint28", "tint29", "tint30", "tint31",
                      "int-ca55-0", "int-ca55-1",
                      "int-ca55-2", "int-ca55-3",
                      "icu-error-ca55",
                      "gpt-u0-gtciada", "gpt-u0-gtciadb",
                      "gpt-u1-gtciada", "gpt-u1-gtciadb";
    clocks = <&cpg CPG_MOD 0x5>;
    power-domains = <&cpg>;
    resets = <&cpg 0x36>;
};

Source notes #

Annotations retained from the schema source

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

Line 24: RZ/G3E

Line 25: RZ/V2N

Line 26: RZ/V2H(P)

Edit this page