diff options
author | Stefan Bosch <stefan_b@posteo.net> | 2020-07-10 19:07:25 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-29 08:43:40 -0400 |
commit | a1ce9ed0637fd329c7c0d5ee7c92ceb332866c65 (patch) | |
tree | bee27b92d3854f805f8b09b04bf5068de761426c /arch/arm/mach-nexell/include/mach/gpio.h | |
parent | 2e2c2a5e72a86238a0b4cd7885d3cbb403c8b882 (diff) |
arm: add mach-nexell (header files)
Changes in relation to FriendlyARM's U-Boot nanopi2-v2016.01:
- DM_VIDEO support (display_dev.h).
- boot0.h added, handles NSIH --> tools/nexell obsolete.
- gpio.h: Include-path to errno.h changed.
Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
Diffstat (limited to 'arch/arm/mach-nexell/include/mach/gpio.h')
-rw-r--r-- | arch/arm/mach-nexell/include/mach/gpio.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-nexell/include/mach/gpio.h b/arch/arm/mach-nexell/include/mach/gpio.h new file mode 100644 index 0000000000..7167d3cf5b --- /dev/null +++ b/arch/arm/mach-nexell/include/mach/gpio.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0+ + * + * (C) Copyright 2016 Nexell + * DeokJin, Lee <truevirtue@nexell.co.kr> + */ + +#ifndef __ASM_ARCH_NEXELL_GPIO_H +#define __ASM_ARCH_NEXELL_GPIO_H + +#include <asm/io.h> +#include <linux/errno.h> + +#define PIN_BASE 0 + +#define MAX_GPIO_BANKS 5 + +#endif /* __ASM_ARCH_NEXELL_GPIO_H */ |