blob: e4bfdb3ce1d221e8357deaf5e24f4c9230149d54 [file] [log] [blame]
Patrick Delaunay23aee612020-01-13 11:35:13 +01001/* 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