]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/mx2fb.h
Unified codebase for TX28, TX48, TX51, TX53
[karo-tx-uboot.git] / include / mx2fb.h
1 /*
2  * Copyright (C) 2004-2010 Freescale Semiconductor, Inc.
3  */
4
5 /*
6  * The code contained herein is licensed under the GNU General Public
7  * License. You may obtain a copy of the GNU General Public License
8  * Version 2 or later at the following locations:
9  *
10  * http://www.opensource.org/licenses/gpl-license.html
11  * http://www.gnu.org/copyleft/gpl.html
12  */
13
14 /*!
15  * @file mx2fb.h
16  *
17  * @brief MX 25 LCD controller header file.
18  *
19  *
20  */
21
22 #ifndef __MX2FB_H__
23 #define __MX2FB_H__
24
25
26 /* LCDC register settings */
27
28 #define LCDC_LSCR 0x00120300
29
30 #define LCDC_LRMCR 0x00000000
31
32 #define LCDC_LDCR 0x00020010
33
34 #define LCDC_LPCCR 0x00a9037f
35
36 #define LCDC_LPCR 0xFA008B80
37
38 #define LCDC_LPCR_PCD 0x4
39
40 #define FB_SYNC_OE_LOW_ACT      0x80000000
41 #define FB_SYNC_CLK_LAT_FALL    0x40000000
42 #define FB_SYNC_DATA_INVERT     0x20000000
43 #define FB_SYNC_CLK_IDLE_EN     0x10000000
44 #define FB_SYNC_SHARP_MODE      0x08000000
45 #define FB_SYNC_SWAP_RGB        0x04000000
46
47 #endif                          /* __MX2FB_H__ */