diff options
Diffstat (limited to 'roms/u-boot/arch/arm/include/asm/arch-imxrt/gpio.h')
-rw-r--r-- | roms/u-boot/arch/arm/include/asm/arch-imxrt/gpio.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/include/asm/arch-imxrt/gpio.h b/roms/u-boot/arch/arm/include/asm/arch-imxrt/gpio.h new file mode 100644 index 000000000..da31a7438 --- /dev/null +++ b/roms/u-boot/arch/arm/include/asm/arch-imxrt/gpio.h @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2019 + * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com> + */ + +#ifndef __ASM_ARCH_GPIO_H__ +#define __ASM_ARCH_GPIO_H__ + +#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__)) +/* GPIO registers */ +struct gpio_regs { + u32 gpio_dr; /* data */ + u32 gpio_dir; /* direction */ + u32 gpio_psr; /* pad satus */ +}; +#endif + +#endif /* __ASM_ARCH_GPIO_H__ */ |