/******************************************************************************
 *
 * Copyright (C) 2016-2017 Cadence Design Systems, Inc.
 * All rights reserved worldwide.
 *
 * Copyright 2018-2019 NXP
 *
 * SPDX-License-Identifier: BSD-3-Clause
 *
 ******************************************************************************
 *
 * address.h
 *
 ******************************************************************************
 */

#ifndef ADDRESS_H_
# define ADDRESS_H_

# define ADDR_IMEM 0x10000
# define ADDR_DMEM 0x20000
# define ADDR_CIPHER 0x60000
# define BASE_CIPHER 0x600
# define ADDR_APB_CFG 0x00000
# define BASE_APB_CFG 0x000
# define ADDR_SOURCE_AIF_DECODER 0x30000
# define BASE_SOURCE_AIF_DECODER 0x300
# define ADDR_SOURCE_AIF_SMPL2PCKT 0x30080
# define BASE_SOURCE_AIF_SMPL2PCKT 0x300
# define ADDR_AIF_ENCODER 0x30000
# define BASE_AIF_ENCODER 0x300
# define ADDR_SOURCE_PIF 0x30800
# define BASE_SOURCE_PIF 0x308
# define ADDR_SINK_PIF 0x30800
# define BASE_SINK_PIF 0x308
# define ADDR_APB_CFG 0x00000
# define BASE_APB_CFG 0x000
# define ADDR_SOURCE_CSC 0x40000
# define BASE_SOURCE_CSC 0x400
# define ADDR_UCPU_CFG 0x00000
# define BASE_UCPU_CFG 0x000
# define ADDR_SOURCE_CAR 0x00900
# define BASE_SOURCE_CAR 0x009
# define ADDR_SINK_CAR 0x00900
# define BASE_SINK_CAR 0x009
# define ADDR_CLOCK_METERS 0x00A00
# define BASE_CLOCK_METERS 0x00A
# define ADDR_SOURCE_VIF 0x00b00
# define BASE_SOURCE_VIF 0x00b
# define ADDR_SINK_MHL_HD 0x01000
# define ADDR_SINK_VIDEO_HD 0x01800
# define BASE_SINK_MHL_HD 0x010
# define ADDR_SINK_CORE 0x07800
# define BASE_SINK_CORE 0x078
# define ADDR_DPTX_PHY 0x02000
# define BASE_DPTX_PHY 0x020
# define ADDR_DPTX_HPD 0x02100
# define BASE_DPTX_HPD 0x021
# define ADDR_DPTX_FRAMER 0x02200
# define BASE_DPTX_FRAMER 0x022
# define ADDR_DPTX_STREAM 0x02200
# define BASE_DPTX_STREAM 0x022
# define ADDR_DPTX_GLBL 0x02300
# define BASE_DPTX_GLBL 0x023
# define ADDR_DPTX_HDCP 0x02400
# define BASE_DPTX_HDCP 0x024
# define ADDR_DP_AUX 0x02800
# define BASE_DP_AUX 0x028
# define ADDR_CRYPTO 0x05800
# define BASE_CRYPTO 0x058
# define ADDR_CIPHER 0x60000
# define BASE_CIPHER 0x600
# define ADDR_SOURCE_MHL_HD 0x01000

# define ADDR_AFE  (0x20000 * 4)
# define ADDR_SOURCD_PHY  (0x800)

#endif
