5e15ea1bfd5931e35773e2d876aab74c9a4a0d9f
[profile/mobile/platform/kernel/u-boot-tm1.git] / arch / arm / include / asm / arch-sc9630 / sprd_reg_ahb.h
1 /******************************************************************************
2  ** File Name:    sprd_reg_ahb.h                                            *
3  ** Author:       Daniel.Ding                                                 *
4  ** DATE:         11/13/2005                                                  *
5  ** Copyright:    2005 Spreatrum, Incoporated. All Rights Reserved.           *
6  ** Description:                                                              *
7  ******************************************************************************/
8 /******************************************************************************
9  **                   Edit    History                                         *
10  **---------------------------------------------------------------------------*
11  ** DATE          NAME            DESCRIPTION                                 *
12  ** 11/13/2005    Daniel.Ding     Create.                                     *
13  ** 05/07/2010    Mingwei.zhang   Modify it for SC8800G.                      *
14  ******************************************************************************/
15 #ifndef _SPRD_REG_AHB_H_
16 #define _SPRD_REG_AHB_H_
17 /*----------------------------------------------------------------------------*
18  **                         Dependencies                                      *
19  **-------------------------------------------------------------------------- */
20
21 /**---------------------------------------------------------------------------*
22  **                             Compiler Flag                                 *
23  **---------------------------------------------------------------------------*/
24 #ifdef   __cplusplus
25 extern   "C"
26 {
27 #endif
28 /**----------------------------------------------------------------------------*
29 **                               Micro Define                                 **
30 **----------------------------------------------------------------------------*/
31
32 #define  AHB_EB         (AHB_REG_BASE + 0x0000)
33 #define  AHB_SOFT_RST   (AHB_REG_BASE + 0x0004)
34 #define  AHB_CA7_RST    (AHB_REG_BASE + 0x0008)
35 #define  AHB_CA7_CKG    (AHB_REG_BASE + 0x000C)
36 #define  AHB_MISC_CFG   (AHB_REG_BASE + 0x0018)
37 #define  CHIP_ID                          (AHB_REG_BASE + 0x00fc)
38
39 #define  AHB_USB_RST        BIT_5
40 #define  AHB_USB_UTMI_RST   BIT_6
41 #define  AHB_USB_PHY_RST    BIT_7
42 #define  AHB_SDIO0_RST      BIT_11
43 #define  AHB_EMMC_RST       BIT_14
44
45 #ifdef   __cplusplus
46 }
47 #endif
48 /**---------------------------------------------------------------------------*/
49 #endif
50 // End