blob: 6abac3f3edafb1aacaa4bfc26553d8c3b01be125 [file] [log] [blame]
Ajay Dudani232ce812009-12-02 00:14:11 -08001/*
2 * Copyright (c) 2008, Google Inc.
3 * All rights reserved.
Ajay Dudani1a23bb22009-12-03 13:56:24 -08004 * Copyright (c) 2009, Code Aurora Forum. All rights reserved.
Ajay Dudani232ce812009-12-02 00:14:11 -08005 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * * Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in
13 * the documentation and/or other materials provided with the
14 * distribution.
15 * * Neither the name of Google, Inc. nor the names of its contributors
16 * may be used to endorse or promote products derived from this
17 * software without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
22 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
27 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
29 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 */
32
33#ifndef _PLATFORM_MSM7K_IOMAP_H_
34#define _PLATFORM_MSM7K_IOMAP_H_
35
36#define MSM_UART1_BASE 0xA9A00000
37#define MSM_UART2_BASE 0xA9B00000
38#define MSM_UART3_BASE 0xA9C00000
39
40#define MSM_VIC_BASE 0xC0080000
41#define MSM_TMR_BASE 0xC0100000
42#define MSM_GPT_BASE (MSM_TMR_BASE + 0x04)
43#define MSM_CSR_BASE 0xC0100000
44#define MSM_GCC_BASE 0xC0182000
45
Subbaraman Narayanamurthy4b43c352010-09-24 13:20:52 -070046#define MSM_SDC1_BASE 0xA0400000
Shashank Mittal52525ff2010-04-13 11:11:10 -070047#define MSM_SDC2_BASE 0xA0500000
Subbaraman Narayanamurthy4b43c352010-09-24 13:20:52 -070048#define MSM_SDC3_BASE 0xA3000000
49#define MSM_SDC4_BASE 0xA3100000
Shashank Mittal52525ff2010-04-13 11:11:10 -070050
Ajay Dudanic51bf632010-04-15 10:41:23 -070051#define MSM_SHARED_BASE 0x00100000
52
Ajay Dudani7d605522010-10-01 19:52:37 -070053#define MSM_CLK_CTL_BASE 0xAB800000
54#define MSM_CLK_CTL_SH2_BASE 0xABA01000
55#define SCSS_CLK_CTL 0xC0101004
56#define SCSS_CLK_SEL 0xC0101008
57
58#define MSM_USB_BASE 0xA3600000
59#define SH2_USBH_MD_REG 0xABA012BC
60#define SH2_USBH_NS_REG 0xABA012C0
61#define SH2_GLBL_CLK_ENA_SC 0xABA013BC
62
Ajay Dudani232ce812009-12-02 00:14:11 -080063#endif