Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq
[platform/kernel/u-boot.git] / include / dt-bindings / gpio / sandbox-gpio.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * This header provides constants for binding sandbox,gpio
4  *
5  */
6 #ifndef _DT_BINDINGS_GPIO_SANDBOX_GPIO_H
7 #define _DT_BINDINGS_GPIO_SANDBOX_GPIO_H
8
9 /*
10  * Add a specific binding for sandbox gpio.
11  * The value need to be after the generic defines of
12  * dt-bindings/gpio/gpio.h
13  */
14
15 /* Bit 16 express GPIO input mode */
16 #define GPIO_IN                 0x10000
17
18 /* Bit 17 express GPIO output mode */
19 #define GPIO_OUT                0x20000
20
21 /* Bit 18 express GPIO output is active */
22 #define GPIO_OUT_ACTIVE         0x40000
23
24 #endif