2 * Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de>
4 * (C) Copyright 2008-2010 Freescale Semiconductor, Inc.
6 * Copyright (C) 2011, Stefano Babic <sbabic@denx.de>
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
25 #include <asm-offsets.h>
26 #include <asm/arch/imx-regs.h>
27 #include <generated/asm-offsets.h>
30 * Configuration for the flea3 board.
31 * These defines are used by the included macros and must
34 #define AIPS_MPR_CONFIG 0x77777777
35 #define AIPS_OPACR_CONFIG 0x00000000
37 /* MPR - priority is M4 > M2 > M3 > M5 > M0 > M1 */
38 #define MAX_MPR_CONFIG 0x00302154
40 /* SGPCR - always park on last master */
41 #define MAX_SGPCR_CONFIG 0x00000010
43 /* MGPCR - restore default values */
44 #define MAX_MGPCR_CONFIG 0x00000000
47 * M3IF Control Register (M3IFCTL)
48 * MRRP[0] = L2CC0 not on priority list (0 << 0) = 0x00000000
49 * MRRP[1] = L2CC1 not on priority list (0 << 0) = 0x00000000
50 * MRRP[2] = MBX not on priority list (0 << 0) = 0x00000000
51 * MRRP[3] = MAX1 not on priority list (0 << 0) = 0x00000000
52 * MRRP[4] = SDMA not on priority list (0 << 0) = 0x00000000
53 * MRRP[5] = MPEG4 not on priority list (0 << 0) = 0x00000000
54 * MRRP[6] = IPU1 on priority list (1 << 6) = 0x00000040
55 * MRRP[7] = IPU2 not on priority list (0 << 0) = 0x00000000
59 #define M3IF_CONFIG 0x00000040
61 #define CCM_PDR0_CONFIG 0x00801000
64 * includes MX35 utility macros
66 #include <asm/arch/lowlevel_macro.S>