Wang Huan | 550e3dc | 2014-09-05 13:52:44 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #ifndef __LS1021AQDS_QIXIS_H__ |
| 8 | #define __LS1021AQDS_QIXIS_H__ |
| 9 | |
| 10 | /* Definitions of QIXIS Registers for LS1021AQDS */ |
| 11 | |
| 12 | /* BRDCFG4[4:7]] select EC1 and EC2 as a pair */ |
| 13 | #define BRDCFG4_EMISEL_MASK 0xe0 |
| 14 | #define BRDCFG4_EMISEL_SHIFT 5 |
| 15 | |
| 16 | /* SYSCLK */ |
| 17 | #define QIXIS_SYSCLK_66 0x0 |
| 18 | #define QIXIS_SYSCLK_83 0x1 |
| 19 | #define QIXIS_SYSCLK_100 0x2 |
| 20 | #define QIXIS_SYSCLK_125 0x3 |
| 21 | #define QIXIS_SYSCLK_133 0x4 |
| 22 | #define QIXIS_SYSCLK_150 0x5 |
| 23 | #define QIXIS_SYSCLK_160 0x6 |
| 24 | #define QIXIS_SYSCLK_166 0x7 |
| 25 | #define QIXIS_SYSCLK_64 0x8 |
| 26 | |
| 27 | /* DDRCLK */ |
| 28 | #define QIXIS_DDRCLK_66 0x0 |
| 29 | #define QIXIS_DDRCLK_100 0x1 |
| 30 | #define QIXIS_DDRCLK_125 0x2 |
| 31 | #define QIXIS_DDRCLK_133 0x3 |
| 32 | |
| 33 | #define QIXIS_SRDS1CLK_100 0x0 |
| 34 | |
Xiubo Li | dd04832 | 2014-12-16 14:50:33 +0800 | [diff] [blame] | 35 | #define QIXIS_DCU_BRDCFG5 0x55 |
| 36 | |
Wang Huan | 550e3dc | 2014-09-05 13:52:44 +0800 | [diff] [blame] | 37 | #endif |