/*
 * include/asm-arm/arch-cxd4105/regs-cml.h
 *
 * CXD4105 address map
 *
 * Copyright 2005,2006 Sony Corporation
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 * 
 */
#ifndef __REGS_CML_H__
#define __REGS_CML_H__

#define CXD4105_CML_BASE	(CXD4105_AHB_BASE+SZ_1M*7)
#define VA_CML_BASE		IO_ADDRESS(CXD4105_CML_BASE)

/* registers */
#define CML_CFG		0x00
#define CML_STATUS	0x04
#define CML_INTSTAT	0x08
#define CML_INTEN	0x0c
#define CML_INTCLR	0x10
#define CML_COUNT	0x14
#define CML_COUNT_R	0x18
#define CML_STATADDR	0x1c
#define CML_DEVSTAT	0x20
#define CML_EOSDET	0x24
#define CML_POLLADDR	0x28
#define CML_POLLSTAT	0x2c
#define CML_ATACF_SEL	0x30
# define  CML_ATA		0
# define  CML_CF		1

#endif /* __REGS_CML_H__ */
