blob: 9c36073c2b2ee457f3054b642a4a8ad8967ecbda [file] [log] [blame]
Feng Kan0ce5c862008-07-08 22:48:42 -07001/*
2 * (C) Copyright 2008
3 * Feng Kan, Applied Micro Circuit Corp., fkan@amcc.com.
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Feng Kan0ce5c862008-07-08 22:48:42 -07006 */
7
8#ifndef __REDWOOD_H_
9#define __REDWOOD_H_
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15/*----------------------------------------------------------------------------+
16| Defines
17+----------------------------------------------------------------------------*/
18/* Pin Straps Reg */
19#define SDR0_PSTRP0 0x0040
20#define SDR0_PSTRP0_BOOTSTRAP_MASK 0xE0000000 /* Strap Bits */
21
22#define SDR0_PSTRP0_BOOTSTRAP_SETTINGS0 0x00000000 /* Default strap settings 0 */
23#define SDR0_PSTRP0_BOOTSTRAP_SETTINGS1 0x20000000 /* Default strap settings 1 */
24#define SDR0_PSTRP0_BOOTSTRAP_SETTINGS2 0x40000000 /* Default strap settings 2 */
25#define SDR0_PSTRP0_BOOTSTRAP_SETTINGS3 0x60000000 /* Default strap settings 3 */
26#define SDR0_PSTRP0_BOOTSTRAP_SETTINGS4 0x80000000 /* Default strap settings 4 */
27#define SDR0_PSTRP0_BOOTSTRAP_SETTINGS5 0xA0000000 /* Default strap settings 5 */
28#define SDR0_PSTRP0_BOOTSTRAP_SETTINGS6 0xC0000000 /* Default strap settings 6 */
29#define SDR0_PSTRP0_BOOTSTRAP_SETTINGS7 0xE0000000 /* Default strap settings 7 */
30
31#ifdef __cplusplus
32}
33#endif
34#endif /* __REDWOOD_H_ */