xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/cirrus,ep7209-intc.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1*ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ae5de77eSEmmanuel Vadot%YAML 1.2
3*ae5de77eSEmmanuel Vadot---
4*ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/cirrus,ep7209-intc.yaml#
5*ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ae5de77eSEmmanuel Vadot
7*ae5de77eSEmmanuel Vadottitle: Cirrus Logic CLPS711X Interrupt Controller
8*ae5de77eSEmmanuel Vadot
9*ae5de77eSEmmanuel Vadotmaintainers:
10*ae5de77eSEmmanuel Vadot  - Alexander Shiyan <shc_work@mail.ru>
11*ae5de77eSEmmanuel Vadot
12*ae5de77eSEmmanuel Vadotdescription: >
13*ae5de77eSEmmanuel Vadot  Cirrus Logic CLPS711X Interrupt Controller
14*ae5de77eSEmmanuel Vadot
15*ae5de77eSEmmanuel Vadot  The interrupt sources are as follows:
16*ae5de77eSEmmanuel Vadot    ID	Name	Description
17*ae5de77eSEmmanuel Vadot    ---------------------------
18*ae5de77eSEmmanuel Vadot    1:	BLINT	Battery low (FIQ)
19*ae5de77eSEmmanuel Vadot    3:	MCINT	Media changed (FIQ)
20*ae5de77eSEmmanuel Vadot    4:	CSINT	CODEC sound
21*ae5de77eSEmmanuel Vadot    5:	EINT1	External 1
22*ae5de77eSEmmanuel Vadot    6:	EINT2	External 2
23*ae5de77eSEmmanuel Vadot    7:	EINT3	External 3
24*ae5de77eSEmmanuel Vadot    8:	TC1OI	TC1 under flow
25*ae5de77eSEmmanuel Vadot    9:	TC2OI	TC2 under flow
26*ae5de77eSEmmanuel Vadot    10:	RTCMI	RTC compare match
27*ae5de77eSEmmanuel Vadot    11:	TINT	64Hz tick
28*ae5de77eSEmmanuel Vadot    12:	UTXINT1	UART1 transmit FIFO half empty
29*ae5de77eSEmmanuel Vadot    13:	URXINT1	UART1 receive FIFO half full
30*ae5de77eSEmmanuel Vadot    14:	UMSINT	UART1 modem status changed
31*ae5de77eSEmmanuel Vadot    15:	SSEOTI	SSI1 end of transfer
32*ae5de77eSEmmanuel Vadot    16:	KBDINT	Keyboard
33*ae5de77eSEmmanuel Vadot    17:	SS2RX	SSI2 receive FIFO half or greater full
34*ae5de77eSEmmanuel Vadot    18:	SS2TX	SSI2 transmit FIFO less than half empty
35*ae5de77eSEmmanuel Vadot    28:	UTXINT2	UART2 transmit FIFO half empty
36*ae5de77eSEmmanuel Vadot    29:	URXINT2	UART2 receive FIFO half full
37*ae5de77eSEmmanuel Vadot    32:	DAIINT	DAI interface (FIQ)
38*ae5de77eSEmmanuel Vadot
39*ae5de77eSEmmanuel Vadotproperties:
40*ae5de77eSEmmanuel Vadot  compatible:
41*ae5de77eSEmmanuel Vadot    oneOf:
42*ae5de77eSEmmanuel Vadot      - items:
43*ae5de77eSEmmanuel Vadot          - const: cirrus,ep7312-intc
44*ae5de77eSEmmanuel Vadot          - const: cirrus,ep7209-intc
45*ae5de77eSEmmanuel Vadot      - items:
46*ae5de77eSEmmanuel Vadot          - const: cirrus,ep7209-intc
47*ae5de77eSEmmanuel Vadot
48*ae5de77eSEmmanuel Vadot  reg:
49*ae5de77eSEmmanuel Vadot    maxItems: 1
50*ae5de77eSEmmanuel Vadot
51*ae5de77eSEmmanuel Vadot  interrupt-controller: true
52*ae5de77eSEmmanuel Vadot
53*ae5de77eSEmmanuel Vadot  '#interrupt-cells':
54*ae5de77eSEmmanuel Vadot    const: 1
55*ae5de77eSEmmanuel Vadot
56*ae5de77eSEmmanuel Vadotrequired:
57*ae5de77eSEmmanuel Vadot  - compatible
58*ae5de77eSEmmanuel Vadot  - reg
59*ae5de77eSEmmanuel Vadot  - interrupt-controller
60*ae5de77eSEmmanuel Vadot  - '#interrupt-cells'
61*ae5de77eSEmmanuel Vadot
62*ae5de77eSEmmanuel VadotadditionalProperties: false
63*ae5de77eSEmmanuel Vadot
64*ae5de77eSEmmanuel Vadotexamples:
65*ae5de77eSEmmanuel Vadot  - |
66*ae5de77eSEmmanuel Vadot    interrupt-controller@80000000 {
67*ae5de77eSEmmanuel Vadot        compatible = "cirrus,ep7312-intc", "cirrus,ep7209-intc";
68*ae5de77eSEmmanuel Vadot        reg = <0x80000000 0x4000>;
69*ae5de77eSEmmanuel Vadot        interrupt-controller;
70*ae5de77eSEmmanuel Vadot        #interrupt-cells = <1>;
71*ae5de77eSEmmanuel Vadot    };
72