1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*4882a593Smuzhiyun%YAML 1.2
3*4882a593Smuzhiyun---
4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/interrupt-controller/kontron,sl28cpld-intc.yaml#
5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml#
6*4882a593Smuzhiyun
7*4882a593Smuzhiyuntitle: Interrupt controller driver for the sl28cpld board management controller
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunmaintainers:
10*4882a593Smuzhiyun  - Michael Walle <michael@walle.cc>
11*4882a593Smuzhiyun
12*4882a593Smuzhiyundescription: |
13*4882a593Smuzhiyun  This module is part of the sl28cpld multi-function device. For more
14*4882a593Smuzhiyun  details see ../mfd/kontron,sl28cpld.yaml.
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun  The following interrupts are available. All types and levels are fixed
17*4882a593Smuzhiyun  and handled by the board management controller.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun  ==== ============= ==================================
20*4882a593Smuzhiyun   IRQ line/device   description
21*4882a593Smuzhiyun  ==== ============= ==================================
22*4882a593Smuzhiyun    0  RTC_INT#      Interrupt line from on-board RTC
23*4882a593Smuzhiyun    1  SMB_ALERT#    Event on SMB_ALERT# line (P1)
24*4882a593Smuzhiyun    2  ESPI_ALERT0#  Event on ESPI_ALERT0# line (S43)
25*4882a593Smuzhiyun    3  ESPI_ALERT1#  Event on ESPI_ALERT1# line (S44)
26*4882a593Smuzhiyun    4  PWR_BTN#      Event on PWR_BTN# line (P128)
27*4882a593Smuzhiyun    5  SLEEP#        Event on SLEEP# line (S149)
28*4882a593Smuzhiyun    6  watchdog      Interrupt of the internal watchdog
29*4882a593Smuzhiyun    7  n/a           not used
30*4882a593Smuzhiyun  ==== ============= ==================================
31*4882a593Smuzhiyun
32*4882a593Smuzhiyunproperties:
33*4882a593Smuzhiyun  compatible:
34*4882a593Smuzhiyun    enum:
35*4882a593Smuzhiyun      - kontron,sl28cpld-intc
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun  reg:
38*4882a593Smuzhiyun    maxItems: 1
39*4882a593Smuzhiyun
40*4882a593Smuzhiyun  interrupts:
41*4882a593Smuzhiyun    maxItems: 1
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun  "#interrupt-cells":
44*4882a593Smuzhiyun    const: 2
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun  interrupt-controller: true
47*4882a593Smuzhiyun
48*4882a593Smuzhiyunrequired:
49*4882a593Smuzhiyun  - compatible
50*4882a593Smuzhiyun  - interrupts
51*4882a593Smuzhiyun  - "#interrupt-cells"
52*4882a593Smuzhiyun  - interrupt-controller
53*4882a593Smuzhiyun
54*4882a593SmuzhiyunadditionalProperties: false
55