;/*
;* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
;* All rights reserved.
;* This component and the accompanying materials are made available
;* under the terms of the License "Eclipse Public License v1.0"
;* which accompanies this distribution, and is available
;* at the URL "http://www.eclipse.org/legal/epl-v10.html".
;*
;* Initial Contributors:
;* Nokia Corporation - initial contribution.
;*
;* Contributors:
;*
;* Description:
;*
;*/

;---------------------------------------------------------------------------
;  Physical Addresses of Memory                                             
;---------------------------------------------------------------------------

KHwRamBaseAddr		EQU    0x00000000
KHwRamSizeMb            EQU    128			; 128MB

KHwNorFlashBaseAddr     EQU    0x40000000
KHwNorFlashSize         EQU    0x04000000   ; 64MB
KHwNorFlashCodeSize     EQU    0x02000000   ; 32MB for code, 32MB for LFFS

;---------------------------------------------------------------------------
;  Physical Addresses of Peripherals
;---------------------------------------------------------------------------

KHwBaseRegisters	EQU     0xC0000000

KHwBaseSic		EQU	KHwBaseRegisters + 0x00000
KHwBaseRtc		EQU	KHwBaseRegisters + 0x01000
KHwBaseTimer		EQU	KHwBaseRegisters + 0x02000
KHwBaseKmiKeyboard	EQU     KHwBaseRegisters + 0x03000
KHwBaseKmiPointer	EQU     KHwBaseRegisters + 0x04000
KHwBaseClcd		EQU	KHwBaseRegisters + 0x05000
KHwBaseUart0		EQU	KHwBaseRegisters + 0x06000
KHwBaseUart1		EQU	KHwBaseRegisters + 0x07000
KHwBaseUart2		EQU	KHwBaseRegisters + 0x08000
KHwBaseUart3		EQU     KHwBaseRegisters + 0x09000
KHwBaseHostFs		EQU     KHwBaseRegisters + 0x0a000
KHwBaseSnap		EQU     KHwBaseRegisters + 0x0b000
KHwBaseNet		EQU     KHwBaseRegisters + 0x0c000
KHwBaseNand		EQU     KHwBaseRegisters + 0x0d000
KHwBaseAudio		EQU     KHwBaseRegisters + 0x0e000
KHwBasePlatform		EQU     KHwBaseRegisters + 0x0f000
;-----------------------------------------------------------------------------
; Module linear bases
;-----------------------------------------------------------------------------

; Register group linear separation: 4K
KHwLinSeparation	EQU	0x1000

KHwLinBaseRegisters	EQU	KPrimaryIOBase

KHwLinBaseSic		EQU	KHwLinBaseRegisters + 0x00*KHwLinSeparation
KHwLinBaseRtc		EQU	KHwLinBaseRegisters + 0x01*KHwLinSeparation
KHwLinBaseTimer		EQU	KHwLinBaseRegisters + 0x02*KHwLinSeparation
KHwLinBaseKmiKeyboard	EQU	KHwLinBaseRegisters + 0x03*KHwLinSeparation   
KHwLinBaseKmiPointer    EQU	KHwLinBaseRegisters + 0x04*KHwLinSeparation
KHwLinBaseClcd		EQU	KHwLinBaseRegisters + 0x05*KHwLinSeparation
KHwLinBaseUart0		EQU	KHwLinBaseRegisters + 0x06*KHwLinSeparation
KHwLinBaseUart1		EQU	KHwLinBaseRegisters + 0x07*KHwLinSeparation
KHwLinBaseUart2		EQU	KHwLinBaseRegisters + 0x08*KHwLinSeparation
KHwLinBaseUart3		EQU	KHwLinBaseRegisters + 0x09*KHwLinSeparation
KHwLinBaseHostFs	EQU	KHwLinBaseRegisters + 0x0a*KHwLinSeparation
KHwLinBaseSnap		EQU	KHwLinBaseRegisters + 0x0b*KHwLinSeparation
KHwLinBaseNet		EQU	KHwLinBaseRegisters + 0x0c*KHwLinSeparation
KHwLinBaseNand		EQU	KHwLinBaseRegisters + 0x0d*KHwLinSeparation
KHwLinBaseAudio		EQU	KHwLinBaseRegisters + 0x0e*KHwLinSeparation
KHwLinBasePlatform	EQU	KHwLinBaseRegisters + 0x0f*KHwLinSeparation
	
	END
