1# Copyright (c) 2021 ITE Corporation. All Rights Reserved.
2# SPDX-License-Identifier: Apache-2.0
3
4description: ITE it8xxx2 keyboard matrix controller
5
6compatible: "ite,it8xxx2-kscan"
7
8include: [kscan.yaml, pinctrl-device.yaml]
9
10properties:
11  reg:
12    required: true
13
14  interrupts:
15    required: true
16
17  wucctrl:
18    type: phandles
19    description: |
20      Configure wakeup controller, this controller is used to set that
21      when the interrupt is triggered in EC low power mode, it can wakeup
22      EC or not. Via this controller, we set the wakeup trigger edge,
23      enable, disable, and clear wakeup status for the specific pin which
24      may be gpio pins or alternate pins.
25
26  kso16-gpios:
27    type: phandle-array
28    required: true
29    description: |
30      The KSO16 pin for the selected port.
31
32  kso17-gpios:
33    type: phandle-array
34    required: true
35    description: |
36      The KSO17 pin for the selected port.
37
38  pinctrl-0:
39    required: true
40
41  pinctrl-names:
42    required: true
43