diff options
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2016-04-01 03:51:35 +0900 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2016-08-17 10:25:35 +0900 |
commit | ee8f0cb3b03e34a75186ed9f9e3e3bf3f2f27d76 (patch) | |
tree | ff9906064c3127f6ffce09b7f8cf93abbedcf0a8 /include/sh_pfc.h | |
parent | 581183def6ec7e7695110ee75ea866b734c5e249 (diff) | |
download | u-boot-ee8f0cb3b03e34a75186ed9f9e3e3bf3f2f27d76.zip u-boot-ee8f0cb3b03e34a75186ed9f9e3e3bf3f2f27d76.tar.gz u-boot-ee8f0cb3b03e34a75186ed9f9e3e3bf3f2f27d76.tar.bz2 |
ARM: rmobile: Add support R8A7795
Renesas R8A7795 is CPU with Cortex-a57.
This supports the basic register definition and GPIO and
framework of PFC.
Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/sh_pfc.h')
-rw-r--r-- | include/sh_pfc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sh_pfc.h b/include/sh_pfc.h index 7f6548f..0692593 100644 --- a/include/sh_pfc.h +++ b/include/sh_pfc.h @@ -2,6 +2,7 @@ * SuperH Pin Function Controller Support * Copy from Linux kernel. (include/linux/sh_pfc.h) * + * Copyright (C) 2015 Renesas Electronics Corporation * Copyright (c) 2008 Magnus Damm * * This file is subject to the terms and conditions of the GNU General Public @@ -135,6 +136,8 @@ int unregister_pinmux(struct pinmux_info *pip); #define PORT_ALL(str) CPU_ALL_PORT(_PORT_ALL, PORT, str) #define GPIO_PORT_ALL() CPU_ALL_PORT(_GPIO_PORT, , unused) #define GPIO_FN(str) PINMUX_GPIO(GPIO_FN_##str, str##_MARK) +#define GPIO_GFN(str) PINMUX_GPIO(GPIO_GFN_##str, str##_GMARK) +#define GPIO_IFN(str) PINMUX_GPIO(GPIO_IFN_##str, str##_IMARK) /* helper macro for pinmux_enum_t */ #define PORT_DATA_I(nr) \ |