summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-bf518/include
diff options
context:
space:
mode:
authorGraf Yang <graf.yang@analog.com>2009-05-20 06:06:15 (GMT)
committerMike Frysinger <vapier@gentoo.org>2009-06-12 10:11:35 (GMT)
commitee0263cc2e7d774655bba6a6750a06099a3cebf0 (patch)
treed61cab8a80e616156239defc5ebcf4a995035164 /arch/blackfin/mach-bf518/include
parent7f3aee3c187641ec7c7e260d9cabb71ac4ac9f7c (diff)
downloadlinux-fsl-qoriq-ee0263cc2e7d774655bba6a6750a06099a3cebf0.tar.xz
Blackfin: BF518F-EZBRD: handle required portmuxing of async pins
The two high address lines on the BF51x are not dedicated which means we need to handle them like any other peripheral pin if we want to access the upper 2MB of parallel flash. Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf518/include')
-rw-r--r--arch/blackfin/mach-bf518/include/mach/portmux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/blackfin/mach-bf518/include/mach/portmux.h b/arch/blackfin/mach-bf518/include/mach/portmux.h
index f618b48..a0fc77f 100644
--- a/arch/blackfin/mach-bf518/include/mach/portmux.h
+++ b/arch/blackfin/mach-bf518/include/mach/portmux.h
@@ -185,6 +185,10 @@
#define P_PTP_PPS (P_DEFINED | P_IDENT(GPIO_PG12) | P_FUNCT(2))
#define P_PTP_CLKOUT (P_DEFINED | P_IDENT(GPIO_PG13) | P_FUNCT(2))
-#define P_HWAIT (P_DEFINED | P_IDENT(GPIO_PG000000000) | P_FUNCT(1))
+/* AMS */
+#define P_AMS2 (P_DEFINED | P_IDENT(GPIO_PG11) | P_FUNCT(1))
+#define P_AMS3 (P_DEFINED | P_IDENT(GPIO_PG15) | P_FUNCT(2))
+
+#define P_HWAIT (P_DEFINED | P_IDENT(GPIO_PG000000000) | P_FUNCT(1))
#endif /* _MACH_PORTMUX_H_ */