linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ppopov@linux-mips.org
Date: Sun, 27 Feb 2005 22:12:00 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ppopov@ftp.linux-mips.org       05/02/27 22:11:54

Modified files:
        arch/mips/au1000/common: Tag: linux_2_4 reset.c 

Log message:
        Au1200 reset support.

diff -urN linux/arch/mips/au1000/common/reset.c 
linux/arch/mips/au1000/common/reset.c
--- linux/arch/mips/au1000/common/reset.c       2004/07/14 05:43:49     1.2.2.13
+++ linux/arch/mips/au1000/common/reset.c       2005/02/27 22:11:54     1.2.2.14
@@ -144,6 +144,26 @@
                au_writel(0x00, 0xb1900064); /* sys_auxpll */
                au_writel(0x00, 0xb1900100); /* sys_pininputen */
                break;
+       case 0x04000000: /* Au1200 */
+               au_writel(0x00, 0xb400300c); /* ddma */
+               au_writel(0x00, 0xb1a00004); /* psc 0 */
+               au_writel(0x00, 0xb1b00004); /* psc 1 */
+               au_writel(0x00d02000, 0xb4020004); /* ehci, ohci, udc, otg */
+               au_writel(0x00, 0xb5000004); /* lcd */
+               au_writel(0x00, 0xb060000c); /* sd0 */
+               au_writel(0x00, 0xb068000c); /* sd1 */
+               au_writel(0x00, 0xb1100100); /* swcnt */
+               au_writel(0x00, 0xb0300000); /* aes */
+               au_writel(0x00, 0xb4004000); /* cim */
+               au_writel(0x00, 0xb1100100); /* uart0_enable */
+               au_writel(0x00, 0xb1200100); /* uart1_enable */
+               au_writel(0x00, 0xb1900020); /* sys_freqctrl0 */
+               au_writel(0x00, 0xb1900024); /* sys_freqctrl1 */
+               au_writel(0x00, 0xb1900028); /* sys_clksrc */
+               au_writel(0x10, 0xb1900060); /* sys_cpupll */
+               au_writel(0x00, 0xb1900064); /* sys_auxpll */
+               au_writel(0x00, 0xb1900100); /* sys_pininputen */
+               break;
 
        default:
                break;

<Prev in Thread] Current Thread [Next in Thread>