blob: 774c91dd7c9971116c79ad2607d54c39a03b775a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
* Copyright (c) 2011, The Linux Foundation. All rights reserved.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __ASM_ARCH_MSM_SERIAL_HSL_REGS_H
#define __ASM_ARCH_MSM_SERIAL_HSL_REGS_H
#ifdef CONFIG_MSM_HAS_DEBUG_UART_HS_V14
#define UARTDM_MR2_OFFSET 0x4
#define UARTDM_CSR_OFFSET 0xa0
#define UARTDM_SR_OFFSET 0xa4
#define UARTDM_CR_OFFSET 0xa8
#define UARTDM_ISR_OFFSET 0xb4
#define UARTDM_NCF_TX_OFFSET 0x40
#define UARTDM_TF_OFFSET 0x100
#else
#define UARTDM_MR2_OFFSET 0x4
#define UARTDM_CSR_OFFSET 0x8
#define UARTDM_SR_OFFSET 0x8
#define UARTDM_CR_OFFSET 0x10
#define UARTDM_ISR_OFFSET 0x14
#define UARTDM_NCF_TX_OFFSET 0x40
#define UARTDM_TF_OFFSET 0x70
#endif
#endif
|