Merge branch 'v6v7' into devel
[linux/fpc-iii.git] / arch / arm / mach-stmp378x / include / mach / regs-digctl.h
blob5293005523b327d22c6493010b84bd96182c85a9
1 /*
2 * stmp378x: DIGCTL register definitions
4 * Copyright (c) 2008 Freescale Semiconductor
5 * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #define REGS_DIGCTL_BASE (STMP3XXX_REGS_BASE + 0x1C000)
22 #define REGS_DIGCTL_PHYS 0x8001C000
23 #define REGS_DIGCTL_SIZE 0x2000
25 #define HW_DIGCTL_CTRL 0x0
26 #define BM_DIGCTL_CTRL_USB_CLKGATE 0x00000004
28 #define HW_DIGCTL_ARMCACHE 0x2B0
29 #define BM_DIGCTL_ARMCACHE_ITAG_SS 0x00000003
30 #define BP_DIGCTL_ARMCACHE_ITAG_SS 0
31 #define BM_DIGCTL_ARMCACHE_DTAG_SS 0x00000030
32 #define BP_DIGCTL_ARMCACHE_DTAG_SS 4
33 #define BM_DIGCTL_ARMCACHE_CACHE_SS 0x00000300
34 #define BP_DIGCTL_ARMCACHE_CACHE_SS 8
35 #define BM_DIGCTL_ARMCACHE_DRTY_SS 0x00003000
36 #define BP_DIGCTL_ARMCACHE_DRTY_SS 12
37 #define BM_DIGCTL_ARMCACHE_VALID_SS 0x00030000
38 #define BP_DIGCTL_ARMCACHE_VALID_SS 16