blob: f9cd75b021f80421e8d0fa33e835ad2efc856683 [file] [log] [blame]
Wang Huan8ce6bec2014-09-05 13:52:34 +08001/*
2 * Copyright 2014 Freescale Semiconductor, Inc.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 *
6 */
7
8#ifndef __ASM_ARCH_IMX_REGS_H__
9#define __ASM_ARCH_IMX_REGS_H__
10
11#define I2C_QUIRK_REG /* enable 8-bit driver */
12
13#ifdef CONFIG_LPUART_32B_REG
14struct lpuart_fsl {
15 u32 baud;
16 u32 stat;
17 u32 ctrl;
18 u32 data;
19 u32 match;
20 u32 modir;
21 u32 fifo;
22 u32 water;
23};
24#else
25struct lpuart_fsl {
26 u8 ubdh;
27 u8 ubdl;
28 u8 uc1;
29 u8 uc2;
30 u8 us1;
31 u8 us2;
32 u8 uc3;
33 u8 ud;
34 u8 uma1;
35 u8 uma2;
36 u8 uc4;
37 u8 uc5;
38 u8 ued;
39 u8 umodem;
40 u8 uir;
41 u8 reserved;
42 u8 upfifo;
43 u8 ucfifo;
44 u8 usfifo;
45 u8 utwfifo;
46 u8 utcfifo;
47 u8 urwfifo;
48 u8 urcfifo;
49 u8 rsvd[28];
50};
51#endif
52
53#endif /* __ASM_ARCH_IMX_REGS_H__ */