1 /*
2  * Copyright (c) 2022 ITE Corporation. All Rights Reserved.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_INTERRUPT_CONTROLLER_IT8XXX2_WUC_H_
8 #define ZEPHYR_INCLUDE_DT_BINDINGS_INTERRUPT_CONTROLLER_IT8XXX2_WUC_H_
9 
10 #include <zephyr/dt-bindings/dt-util.h>
11 
12 /** WUC reserved register of reg property */
13 #define IT8XXX2_WUC_UNUSED_REG	0
14 
15 /**
16  * @name wakeup controller flags
17  * @{
18  */
19 /** WUC rising edge trigger mode */
20 #define WUC_TYPE_EDGE_RISING	BIT(0)
21 /** WUC falling edge trigger mode */
22 #define WUC_TYPE_EDGE_FALLING	BIT(1)
23 /** WUC both edge trigger mode */
24 #define WUC_TYPE_EDGE_BOTH	(WUC_TYPE_EDGE_RISING | WUC_TYPE_EDGE_FALLING)
25 
26 /** @} */
27 
28 #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_INTERRUPT_CONTROLLER_IT8XXX2_WUC_H_ */
29