blob: a5bc092ffdc1d1974df2bac56864a50754e1d6bc [file] [log] [blame]
Simon Glass9e11f7a2012-04-02 13:18:51 +00001/*
2 * Copyright (c) 2012 The Chromium OS Authors.
3 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Simon Glass9e11f7a2012-04-02 13:18:51 +00005 */
6
7#ifndef _GP_PADCTRL_H_
8#define _GP_PADCTRL_H_
9
10/* APB_MISC_PP registers */
11struct apb_misc_pp_ctlr {
12 u32 reserved0[2];
13 u32 strapping_opt_a;/* 0x08: APB_MISC_PP_STRAPPING_OPT_A */
Stephen Warrenfdb906f2014-03-21 12:28:53 -060014 u32 reserved1[6]; /* 0x0c .. 0x20 */
15 u32 cfg_ctl; /* 0x24 */
Simon Glass9e11f7a2012-04-02 13:18:51 +000016};
17
18/* bit fields definitions for APB_MISC_PP_STRAPPING_OPT_A register */
19#define RAM_CODE_SHIFT 4
20#define RAM_CODE_MASK (0xf << RAM_CODE_SHIFT)
21
22#endif