1# Copyright (c) 2022 Nuvoton Technology Corporation.
2# SPDX-License-Identifier: Apache-2.0
3
4description: Nuvoton NPCX keyboard scan controller
5
6compatible: "nuvoton,npcx-kbd"
7
8include: [kbd-matrix-common.yaml, pinctrl-device.yaml]
9
10properties:
11  reg:
12    required: true
13
14  clocks:
15    required: true
16
17  pinctrl-0:
18    required: true
19
20  pinctrl-names:
21    required: true
22
23  wui-maps:
24    type: phandles
25    required: true
26    description: |
27        Mapping table between Wake-Up Input (WUI) and KSIs.
28
29        For example the WUI mapping on 8 KSI pads would be
30           wui-maps = <&wui_io30 &wui_io31 &wui_io27 &wui_io26
31                       &wui_io25 &wui_io24 &wui_io23 &wui_io22>;
32
33  row-size:
34    required: true
35
36  col-size:
37    required: true
38