blob: 7b2607b8daa456cb39051882823f18eaa8f269db [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
York Sun03017032015-03-20 19:28:23 -07002/*
3 * Copyright 2015 Freescale Semiconductor, Inc.
York Sun03017032015-03-20 19:28:23 -07004 */
5
6#ifndef __LS2_QDS_QIXIS_H__
7#define __LS2_QDS_QIXIS_H__
8
9/* SYSCLK */
10#define QIXIS_SYSCLK_66 0x0
11#define QIXIS_SYSCLK_83 0x1
12#define QIXIS_SYSCLK_100 0x2
13#define QIXIS_SYSCLK_125 0x3
14#define QIXIS_SYSCLK_133 0x4
15#define QIXIS_SYSCLK_150 0x5
16#define QIXIS_SYSCLK_160 0x6
17#define QIXIS_SYSCLK_166 0x7
18
19/* DDRCLK */
20#define QIXIS_DDRCLK_66 0x0
21#define QIXIS_DDRCLK_100 0x1
22#define QIXIS_DDRCLK_125 0x2
23#define QIXIS_DDRCLK_133 0x3
24
Prabhakar Kushwahac158fad2015-03-20 19:28:26 -070025#define BRDCFG4_EMISEL_MASK 0xE0
26#define BRDCFG4_EMISEL_SHIFT 5
27#define BRDCFG9_SFPTX_MASK 0x10
28#define BRDCFG9_SFPTX_SHIFT 4
York Sun03017032015-03-20 19:28:23 -070029#endif /*__LS2_QDS_QIXIS_H__*/