blob: 19f522d9eaaea94ff8026b15235466104b390f76 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05302/*
3 * Copyright 2016 Freescale Semiconductor, Inc.
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +05304 */
5
6#ifndef __LS1043AQDS_QIXIS_H__
7#define __LS1043AQDS_QIXIS_H__
8
9/* Definitions of QIXIS Registers for LS1043AQDS */
10
11/* BRDCFG4[4:7] select EC1 and EC2 as a pair */
12#define BRDCFG4_EMISEL_MASK 0xe0
Calvin Johnson7a8df8b2018-03-08 15:30:28 +053013#define BRDCFG4_EMISEL_SHIFT 6
Prabhakar Kushwaha9d044fc2016-06-03 18:41:34 +053014
15/* SYSCLK */
16#define QIXIS_SYSCLK_66 0x0
17#define QIXIS_SYSCLK_83 0x1
18#define QIXIS_SYSCLK_100 0x2
19#define QIXIS_SYSCLK_125 0x3
20#define QIXIS_SYSCLK_133 0x4
21
22/* DDRCLK */
23#define QIXIS_DDRCLK_66 0x0
24#define QIXIS_DDRCLK_100 0x1
25#define QIXIS_DDRCLK_125 0x2
26#define QIXIS_DDRCLK_133 0x3
27
28/* BRDCFG2 - SD clock*/
29#define QIXIS_SDCLK1_100 0x0
30#define QIXIS_SDCLK1_125 0x1
31#define QIXIS_SDCLK1_165 0x2
32#define QIXIS_SDCLK1_100_SP 0x3
33
34#endif