/**
 * @file   fcEfuse.h
 * @brief  Contains common definitions for HDCP control
 *
 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
 */

#ifndef __FCEFUSE_H__
#define __FCEFUSE_H__

/* virtual address */
#define EFUSE_SFR_VA			((uint32_t)0x47000)
#define MAIN_EFUSE_VA			((uint32_t)0x48000)
#define ROOT_KEY_VA			((uint32_t)0x49000)
#define NANTIRBK_VA			((uint32_t)0x4A000)
#define SECURE_JTAG_VA			((uint32_t)0x4D000)

/* physical address */
#if defined(CONFIG_EXYNOS5260)
#define EFUSE_SC_BASE			0x10090000
#define MAIN_EFUSE_BASE			0x10050000
#define ROOT_KEY_BASE			0x10070000
#define NANTIRBK_BASE			0x10080000

#elif defined(CONFIG_EXYNOS5430)
#define EFUSE_SC_BASE			0x101E0000
#define MAIN_EFUSE_BASE			0x10080000
#define ROOT_KEY_BASE			0x101A0000
#define NANTIRBK_BASE			0x100A0000
#define SECURE_JTAG_BASE		0x10130818

#elif defined(CONFIG_EXYNOS4415)
#define EFUSE_SC_BASE			0x101B0000
#define MAIN_EFUSE_BASE			0x10180000
#define ROOT_KEY_BASE			0x10100000
#define NANTIRBK_BASE			0x10080000

#elif defined(CONFIG_EXYNOS3475)
#define EFUSE_SC_BASE			0x10090000
#define MAIN_EFUSE_BASE			0x10050000
#define ROOT_KEY_BASE			0x10070000
#define NANTIRBK_BASE			0x10080000

#endif

#endif /* __FCEFUSE_H__ */
