/* $NetBSD: s3c2800reg.h,v 1.7 2010/02/21 06:08:53 bsh Exp $ */ /* * Copyright (c) 2002, 2003 Fujitsu Component Limited * Copyright (c) 2002, 2003, 2005 Genetec Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of The Fujitsu Component Limited nor the name of * Genetec corporation may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY FUJITSU COMPONENT LIMITED AND GENETEC * CORPORATION ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL FUJITSU COMPONENT LIMITED OR GENETEC * CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ /* * Samsung S3C2800 processor is ARM920T based integrated CPU * * Reference: * S3C2800 User's Manual */ #ifndef _ARM_S3C2XX0_S3C2800REG_H_ #define _ARM_S3C2XX0_S3C2800REG_H_ /* common definitions for S3C2800, S3C2400 and S3C2410 */ #include /* * Memory Map */ /* ROM/SRAM/FLASH */ #define S3C2800_SBANK0_START 0x00000000 #define S3C2800_SBANK1_START 0x02000000 #define S3C2800_SBANK2_START 0x04000000 #define S3C2800_SBANK3_START 0x06000000 #define S3C2800_SBANK4_START 0x08000000 /* DRAM */ #define S3C2800_DBANK0_START 0x08000000 #define S3C2800_DBANK1_START 0x0a000000 #define S3C2800_DBANK2_START 0x0c000000 #define S3C2800_DBANK3_START 0x0e000000 #define S3C2800_DBANK_SIZE 0x02000000 /* 32MB */ /* * Physical address of integrated peripherals */ #define S3C2800_PERIPHERALS 0x10000000 #define S3C2800_PERIPHERALS_SIZE 0x200000 /* 2MBytes */ #define S3C2800_CLKMAN_BASE 0x10000000 /* clock & power management */ #define S3C2800_CLKMAN_SIZE 0x18 #define S3C2800_MEMCTL_BASE 0x10010000 /* memory controller */ #define S3C2800_MEMCTL_SIZE 0x20 #define S3C2800_DMA0_BASE 0x10030000 #define S3C2800_DMA1_BASE 0x10040000 #define S3C2800_DMA2_BASE 0x10050000 #define S3C2800_DMA3_BASE 0x10060000 #define S3C2800_PCICTL_BASE 0x10080000 #define S3C2800_PCICTL_SIZE 0x58 #define S3C2800_GPIO_BASE 0x10100000 #define S3C2800_GPIO_SIZE 0x50 #define S3C2800_TIMER0_BASE 0x10130000 #define S3C2800_TIMER1_BASE 0x10140000 #define S3C2800_TIMER2_BASE 0x10150000 #define S3C2800_TIMER_SIZE 0x10 #define S3C2800_UART0_BASE 0x10170000 #define S3C2800_UART1_BASE 0x10180000 #define S3C2800_UART_SIZE 0x2c #define S3C2800_IIC0_BASE 0x10190000 #define S3C2800_IIC1_BASE 0x101a0000 #define S3C2800_IIC_SIZE 0x10 #define S3C2800_INTCTL_BASE 0x10020000 #define S3C2800_INTCTL_SIZE 0x14 #define S3C2800_WDT_BASE 0x10120000 #define S3C2800_WDT_SIZE 0x0c /* width of interrupt controller */ #define ICU_LEN 29 #define ICU_INT_HWMASK 0x1fffffff /* Clock & power manager */ #define CLKMAN_PLLCON 0x00 /* MDIV, PDIV, SDIV */ #define PLLCON_MDIV_SHIFT 12 #define PLLCON_MDIV_MASK (0xff<