Subject: [PATCH] Simple patch to power off DBAU1200

From: Matej Kupljen <[email-masked]>
Date: Wed, 30 Nov 2005 10:20:01 +0100

Hi

Please, find the attached patch which enables
powering off the DBAU1200 board.

BR,
Matej
Patch to enable powering off DBAU1200

Signed-off-by: Matej Kupljen <[email-masked]>

--- a/arch/mips/au1000/common/reset.c	2005-10-24 13:36:24.000000000 +0200
+++ b/arch/mips/au1000/common/reset.c	2005-08-24 14:39:58.000000000 +0200
@@ -175,6 +175,9 @@
 #ifdef CONFIG_MIPS_MIRAGE
 	au_writel((1 << 26) | (1 << 10), GPIO2_OUTPUT);
 #endif
+#ifdef CONFIG_MIPS_DB1200
+	au_writew(au_readw(0xB980001C) | (1<<14), 0xB980001C);
+#endif
 #ifdef CONFIG_PM
 	au_sleep();