[PATCH 1/5] PPC/MPC52xx: add some useful GPIO definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When using GPIOs its useful to define them generically.

Signed-off-by: Juergen Borleis <jbe@xxxxxxxxxxxxxx>
---
 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


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux