]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/include/asm/arch-fsl-layerscape/imx-regs.h
armv8: Add sata support on Layerscape ARMv8 board
[people/ms/u-boot.git] / arch / arm / include / asm / arch-fsl-layerscape / imx-regs.h
CommitLineData
9f3183d2
MH
1/*
2 * Copyright 2015 Freescale Semiconductor, Inc.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 *
6 */
7
8#ifndef __ASM_ARCH_FSL_LAYERSCAPE_IMX_REGS_H__
9#define __ASM_ARCH_FSL_LAYERSCAPE_IMX_REGS_H__
10
11#define I2C_QUIRK_REG /* enable 8-bit driver */
12
13#ifdef CONFIG_FSL_LPUART
14#ifdef CONFIG_LPUART_32B_REG
15struct lpuart_fsl {
16 u32 baud;
17 u32 stat;
18 u32 ctrl;
19 u32 data;
20 u32 match;
21 u32 modir;
22 u32 fifo;
23 u32 water;
24};
25#else
26struct lpuart_fsl {
27 u8 ubdh;
28 u8 ubdl;
29 u8 uc1;
30 u8 uc2;
31 u8 us1;
32 u8 us2;
33 u8 uc3;
34 u8 ud;
35 u8 uma1;
36 u8 uma2;
37 u8 uc4;
38 u8 uc5;
39 u8 ued;
40 u8 umodem;
41 u8 uir;
42 u8 reserved;
43 u8 upfifo;
44 u8 ucfifo;
45 u8 usfifo;
46 u8 utwfifo;
47 u8 utcfifo;
48 u8 urwfifo;
49 u8 urcfifo;
50 u8 rsvd[28];
51};
52#endif
53#endif /* CONFIG_FSL_LPUART */
54
55#endif /* __ASM_ARCH_FSL_LAYERSCAPE_IMX_REGS_H__ */