Commit 66a9a4ff authored by Matej Kupljen's avatar Matej Kupljen Committed by Ralf Baechle

[MIPS] Simple patch to power off DBAU1200

Signed-off-by: default avatarMatej Kupljen <matej.kupljen@ultra.si>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 86dde15b
...@@ -175,6 +175,9 @@ void au1000_halt(void) ...@@ -175,6 +175,9 @@ void au1000_halt(void)
#ifdef CONFIG_MIPS_MIRAGE #ifdef CONFIG_MIPS_MIRAGE
au_writel((1 << 26) | (1 << 10), GPIO2_OUTPUT); au_writel((1 << 26) | (1 << 10), GPIO2_OUTPUT);
#endif #endif
#ifdef CONFIG_MIPS_DB1200
au_writew(au_readw(0xB980001C) | (1<<14), 0xB980001C);
#endif
#ifdef CONFIG_PM #ifdef CONFIG_PM
au_sleep(); au_sleep();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment