1/*
2 * Copyright (c) 2021 Nuvoton Technology Corporation.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/* Common Wake-Up Unit Input (WUI) mapping configurations in npcx family */
8#include <nuvoton/npcx/npcx-miwus-wui-map.dtsi>
9
10/* Specific Wake-Up Unit Input (WUI) mapping configurations in npcx9 series */
11/ {
12	/* Mapping between MIWU wui bits and source device */
13	npcx-miwus-wui-map {
14		compatible = "nuvoton,npcx-miwu-wui-map";
15
16		/* MIWU table 1 */
17		/* MIWU group A */
18		wui_cr_sin2: wui0-1-6-2 {
19			miwus = <&miwu0 0 6>; /* CR_SIN2 */
20		};
21
22		/* MIWU group G */
23		wui_io66: wui1-7-6 {
24			miwus = <&miwu1 6 6>; /* GPIO66 */
25		};
26
27		/* MIWU table 2 */
28		/* MIWU group F */
29		wui_i3c_sda: wui2-6-0 {
30			miwus = <&miwu2 5 0>; /* I3C_SDA */
31		};
32		wui_iob6: wui2-6-6 {
33			miwus = <&miwu2 5 6>; /* GPIOB6 */
34		};
35		wui_lct: wui2-6-7 {
36			miwus = <&miwu2 5 7>; /* LCT Event */
37		};
38
39		/* MIWU group G */
40		wui_cr_sin3: wui2-7-4 {
41			miwus = <&miwu2 6 4>; /* CR_SIN3 */
42		};
43		wui_cr_sin4: wui2-7-5 {
44			miwus = <&miwu2 6 5>; /* CR_SIN4 */
45		};
46	};
47};
48
49