blob: da31a7438aa1c2775d13ba57b25a5a504fdf6eef [file] [log] [blame]
Giulio Benetti9dba2622020-01-10 15:51:47 +01001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2019
4 * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com>
5 */
6
7#ifndef __ASM_ARCH_GPIO_H__
8#define __ASM_ARCH_GPIO_H__
9
10#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
11/* GPIO registers */
12struct gpio_regs {
13 u32 gpio_dr; /* data */
14 u32 gpio_dir; /* direction */
15 u32 gpio_psr; /* pad satus */
16};
17#endif
18
19#endif /* __ASM_ARCH_GPIO_H__ */