[PATCH 1/5] PPC/MPC52xx: add some useful GPIO definitions
Juergen Borleis
jbe at pengutronix.de
Fri Jul 24 06:42:02 PDT 2015
When using GPIOs its useful to define them generically.
Signed-off-by: Juergen Borleis <jbe at pengutronix.de>
---
arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h b/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h
index f2cae90..a2129a1 100644
--- a/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h
+++ b/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h
@@ -192,8 +192,10 @@
/* GPIO pins */
#define GPIO_WKUP_7 0x80000000UL
+#define GPIO_WKUP_6 0x40000000UL
#define GPIO_PSC6_0 0x10000000UL
#define GPIO_PSC3_9 0x04000000UL
+#define GPIO_PSC2_4 0x02000000UL
#define GPIO_PSC1_4 0x01000000UL
/* PCI registers */
--
2.1.4
More information about the barebox
mailing list