aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2012-05-17 05:29:54 -0400
committerBob Liu <lliubbo@gmail.com>2012-05-21 02:54:50 -0400
commit0fbd88ca20a68a633b565e1f5ba18ca64afb0c78 (patch)
tree0c97e9c20a71ba20750f4e51d8e0e4a07e845ddd /arch/blackfin/include
parent7c141c1c5c148419eef8972688e86e2e3115ea13 (diff)
blackfin: bf60x: add wakeup source select
Support select the wakeup source for power management on bf60x. Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r--arch/blackfin/include/asm/dpmc.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/dpmc.h b/arch/blackfin/include/asm/dpmc.h
index b47399cda6ed..528f47685781 100644
--- a/arch/blackfin/include/asm/dpmc.h
+++ b/arch/blackfin/include/asm/dpmc.h
@@ -729,6 +729,16 @@
729#define VLEV_130 0x00F0 /* VLEV = 1.30 V (-5% - +10% Accuracy) */ 729#define VLEV_130 0x00F0 /* VLEV = 1.30 V (-5% - +10% Accuracy) */
730#endif 730#endif
731 731
732#ifdef CONFIG_BF60x
733#define PA15WE 0x00000001 /* Allow Wake-Up from PA15 */
734#define PB15WE 0x00000002 /* Allow Wake-Up from PB15 */
735#define PC15WE 0x00000004 /* Allow Wake-Up from PC15 */
736#define PD06WE 0x00000008 /* Allow Wake-Up from PD06(ETH0_PHYINT) */
737#define PE12WE 0x00000010 /* Allow Wake-Up from PE12(ETH1_PHYINT, PUSH BUTTON) */
738#define PG04WE 0x00000020 /* Allow Wake-Up from PG04(CAN0_RX) */
739#define PG13WE 0x00000040 /* Allow Wake-Up from PG13 */
740#define USBWE 0x00000080 /* Allow Wake-Up from (USB) */
741#else
732#define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */ 742#define WAKE 0x0100 /* Enable RTC/Reset Wakeup From Hibernate */
733#define CANWE 0x0200 /* Enable CAN Wakeup From Hibernate */ 743#define CANWE 0x0200 /* Enable CAN Wakeup From Hibernate */
734#define PHYWE 0x0400 /* Enable PHY Wakeup From Hibernate */ 744#define PHYWE 0x0400 /* Enable PHY Wakeup From Hibernate */
@@ -744,7 +754,7 @@
744#else 754#else
745#define USBWE 0x0800 /* Enable USB Wakeup From Hibernate */ 755#define USBWE 0x0800 /* Enable USB Wakeup From Hibernate */
746#endif 756#endif
747 757#endif
748 758
749#ifndef __ASSEMBLY__ 759#ifndef __ASSEMBLY__
750 760