aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/mach-sdk7786/mach/fpga.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-04-19 03:27:47 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-04-19 03:27:47 -0400
commitd9c944463d8f3f7cafaaba8f3e44df62ce817484 (patch)
treecb2cfbd038d305af790fe5ee3aa416418cc1b32c /arch/sh/include/mach-sdk7786/mach/fpga.h
parentdc825b17904a06bbd2f79d720b23156e4c01a22f (diff)
sh: mach-sdk7786: pm_power_off support.
This wires up power-off support for the SDK7786 board. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/mach-sdk7786/mach/fpga.h')
-rw-r--r--arch/sh/include/mach-sdk7786/mach/fpga.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/sh/include/mach-sdk7786/mach/fpga.h b/arch/sh/include/mach-sdk7786/mach/fpga.h
index 2120d67dec70..416b621d94d1 100644
--- a/arch/sh/include/mach-sdk7786/mach/fpga.h
+++ b/arch/sh/include/mach-sdk7786/mach/fpga.h
@@ -42,6 +42,15 @@
42#define SCBR_I2CCEN BIT(1) /* CPU I2C master enable */ 42#define SCBR_I2CCEN BIT(1) /* CPU I2C master enable */
43 43
44#define PWRCR 0x1a0 44#define PWRCR 0x1a0
45#define PWRCR_SCISEL0 BIT(0)
46#define PWRCR_SCISEL1 BIT(1)
47#define PWRCR_SCIEN BIT(2) /* Serial port enable */
48#define PWRCR_PDWNACK BIT(5) /* Power down acknowledge */
49#define PWRCR_PDWNREQ BIT(7) /* Power down request */
50#define PWRCR_INT2 BIT(11) /* INT2 connection to power manager */
51#define PWRCR_BUPINIT BIT(13) /* DDR backup initialize */
52#define PWRCR_BKPRST BIT(15) /* Backup power reset */
53
45#define SPCBR 0x1b0 54#define SPCBR 0x1b0
46#define SPICR 0x1c0 55#define SPICR 0x1c0
47#define SPIDR 0x1d0 56#define SPIDR 0x1d0