Ajay Dudani | 232ce81 | 2009-12-02 00:14:11 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2008, Google Inc. |
| 3 | * All rights reserved. |
Ajay Dudani | 1a23bb2 | 2009-12-03 13:56:24 -0800 | [diff] [blame] | 4 | * Copyright (c) 2009, Code Aurora Forum. All rights reserved. |
Ajay Dudani | 232ce81 | 2009-12-02 00:14:11 -0800 | [diff] [blame] | 5 | * |
| 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 | |
Shashank Mittal | 1ddc04c | 2010-12-21 14:39:07 -0800 | [diff] [blame] | 33 | #ifndef _PLATFORM_MSM7X30_IOMAP_H_ |
| 34 | #define _PLATFORM_MSM7X30_IOMAP_H_ |
Ajay Dudani | 232ce81 | 2009-12-02 00:14:11 -0800 | [diff] [blame] | 35 | |
Shashank Mittal | 1ddc04c | 2010-12-21 14:39:07 -0800 | [diff] [blame] | 36 | #define MSM_UART1_BASE 0xACA00000 |
| 37 | #define MSM_UART2_BASE 0xACB00000 |
| 38 | #define MSM_UART3_BASE 0xACC00000 |
Ajay Dudani | 232ce81 | 2009-12-02 00:14:11 -0800 | [diff] [blame] | 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 Narayanamurthy | 4b43c35 | 2010-09-24 13:20:52 -0700 | [diff] [blame] | 46 | #define MSM_SDC1_BASE 0xA0400000 |
Shashank Mittal | 52525ff | 2010-04-13 11:11:10 -0700 | [diff] [blame] | 47 | #define MSM_SDC2_BASE 0xA0500000 |
Subbaraman Narayanamurthy | 4b43c35 | 2010-09-24 13:20:52 -0700 | [diff] [blame] | 48 | #define MSM_SDC3_BASE 0xA3000000 |
| 49 | #define MSM_SDC4_BASE 0xA3100000 |
Shashank Mittal | 52525ff | 2010-04-13 11:11:10 -0700 | [diff] [blame] | 50 | |
Ajay Dudani | c51bf63 | 2010-04-15 10:41:23 -0700 | [diff] [blame] | 51 | #define MSM_SHARED_BASE 0x00100000 |
| 52 | |
Ajay Dudani | 7d60552 | 2010-10-01 19:52:37 -0700 | [diff] [blame] | 53 | #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 |
Subbaraman Narayanamurthy | d962c79 | 2011-01-19 20:53:07 -0800 | [diff] [blame^] | 61 | |
| 62 | #define SH2_MDP_NS_REG 0xABA0114C |
| 63 | #define SH2_MDP_LCDC_MD_REG 0xABA0138C |
| 64 | #define SH2_MDP_LCDC_NS_REG 0xABA01390 |
| 65 | #define SH2_MDP_VSYNC_REG 0xABA01460 |
| 66 | |
Ajay Dudani | 7d60552 | 2010-10-01 19:52:37 -0700 | [diff] [blame] | 67 | #define SH2_GLBL_CLK_ENA_SC 0xABA013BC |
Subbaraman Narayanamurthy | d962c79 | 2011-01-19 20:53:07 -0800 | [diff] [blame^] | 68 | #define SH2_GLBL_CLK_ENA_2_SC 0xABA013C0 |
Ajay Dudani | 7d60552 | 2010-10-01 19:52:37 -0700 | [diff] [blame] | 69 | |
Shashank Mittal | 0dab8f5 | 2010-11-03 16:40:30 -0700 | [diff] [blame] | 70 | #define MSM_SAW_BASE 0xC0102000 |
Ajay Dudani | 232ce81 | 2009-12-02 00:14:11 -0800 | [diff] [blame] | 71 | #endif |