1 /* SPDX-License-Identifier: GPL-2.0 */
3 * This header provides constants for binding sandbox,gpio
6 #ifndef _DT_BINDINGS_GPIO_SANDBOX_GPIO_H
7 #define _DT_BINDINGS_GPIO_SANDBOX_GPIO_H
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
15 /* Bit 16 express GPIO input mode */
16 #define GPIO_IN 0x10000
18 /* Bit 17 express GPIO output mode */
19 #define GPIO_OUT 0x20000
21 /* Bit 18 express GPIO output is active */
22 #define GPIO_OUT_ACTIVE 0x40000