wch,exti

Vendor: WinChipHead

Note

An implementation of a driver matching this compatible is available in drivers/interrupt_controller/intc_wch_exti.c.

Description

WCH CH32V003/20x/30x External Interrupt and Event Controller (EXTI)

Properties

Properties not inherited from the base binding file.

Name

Type

Details

num-lines

int

Number of lines supported by the interrupt controller.

This property is required.

line-ranges

array

Describes how the input lines are grouped into ranges. Each range
consists of a (starting line, number of lines) pair and map to
a single interrupt.

For example:
       line-ranges = <0 1>, <1 1>, <2 1>, <3 1>,
                     <4 1>, <5 5>, <10 6>;

defines seven ranges where the first five contain one line, the
sixth starts with line 5 and contains five elements (5 to 9), and
the last starts with line 10 and contains six elements (10 to 15).

This property is required.

interrupt-controller

boolean

Convey's this node is an interrupt controller

This property is required.

#interrupt-cells

int

Number of items to expect in an interrupt specifier

This property is required.