148e28a24SMichael Walle# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
248e28a24SMichael Walle%YAML 1.2
348e28a24SMichael Walle---
448e28a24SMichael Walle$id: http://devicetree.org/schemas/interrupt-controller/kontron,sl28cpld-intc.yaml#
548e28a24SMichael Walle$schema: http://devicetree.org/meta-schemas/core.yaml#
648e28a24SMichael Walle
748e28a24SMichael Walletitle: Interrupt controller driver for the sl28cpld board management controller
848e28a24SMichael Walle
948e28a24SMichael Wallemaintainers:
1048e28a24SMichael Walle  - Michael Walle <michael@walle.cc>
1148e28a24SMichael Walle
1248e28a24SMichael Walledescription: |
1348e28a24SMichael Walle  This module is part of the sl28cpld multi-function device. For more
1448e28a24SMichael Walle  details see ../mfd/kontron,sl28cpld.yaml.
1548e28a24SMichael Walle
1648e28a24SMichael Walle  The following interrupts are available. All types and levels are fixed
1748e28a24SMichael Walle  and handled by the board management controller.
1848e28a24SMichael Walle
1948e28a24SMichael Walle  ==== ============= ==================================
2048e28a24SMichael Walle   IRQ line/device   description
2148e28a24SMichael Walle  ==== ============= ==================================
2248e28a24SMichael Walle    0  RTC_INT#      Interrupt line from on-board RTC
2348e28a24SMichael Walle    1  SMB_ALERT#    Event on SMB_ALERT# line (P1)
2448e28a24SMichael Walle    2  ESPI_ALERT0#  Event on ESPI_ALERT0# line (S43)
2548e28a24SMichael Walle    3  ESPI_ALERT1#  Event on ESPI_ALERT1# line (S44)
2648e28a24SMichael Walle    4  PWR_BTN#      Event on PWR_BTN# line (P128)
2748e28a24SMichael Walle    5  SLEEP#        Event on SLEEP# line (S149)
2848e28a24SMichael Walle    6  watchdog      Interrupt of the internal watchdog
2948e28a24SMichael Walle    7  n/a           not used
3048e28a24SMichael Walle  ==== ============= ==================================
3148e28a24SMichael Walle
3248e28a24SMichael Walleproperties:
3348e28a24SMichael Walle  compatible:
3448e28a24SMichael Walle    enum:
3548e28a24SMichael Walle      - kontron,sl28cpld-intc
3648e28a24SMichael Walle
3748e28a24SMichael Walle  reg:
3848e28a24SMichael Walle    maxItems: 1
3948e28a24SMichael Walle
4048e28a24SMichael Walle  interrupts:
4148e28a24SMichael Walle    maxItems: 1
4248e28a24SMichael Walle
4348e28a24SMichael Walle  "#interrupt-cells":
4448e28a24SMichael Walle    const: 2
4548e28a24SMichael Walle
4648e28a24SMichael Walle  interrupt-controller: true
4748e28a24SMichael Walle
4848e28a24SMichael Wallerequired:
4948e28a24SMichael Walle  - compatible
5048e28a24SMichael Walle  - interrupts
5148e28a24SMichael Walle  - "#interrupt-cells"
5248e28a24SMichael Walle  - interrupt-controller
5348e28a24SMichael Walle
5448e28a24SMichael WalleadditionalProperties: false
55