1# Copyright (c) 2021 Nuvoton Technology Corporation.
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5    Nuvoton NCT38XX series I2C-based GPIO expander alert handler.
6
7    Example:
8      nct3807_alert_1 {
9        compatible = "nuvoton,nct38xx-gpio-alert";
10        irq-gpios = <&gpiod 4 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
11        nct38xx-dev = <&nct3808_0_P1 &nct3808_0_P2>;
12      };
13
14compatible: "nuvoton,nct38xx-gpio-alert"
15
16include: [base.yaml]
17
18properties:
19  irq-gpios:
20    type: phandle-array
21    required: true
22    description: Interrupt GPIO pin
23
24  nct38xx-dev:
25    type: phandles
26    required: true
27    description: |
28      List of NCT38XX multi-function devices managed by this alert handler.
29