Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Simon Glass | 9e11f7a | 2012-04-02 13:18:51 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2012 The Chromium OS Authors. |
Simon Glass | 9e11f7a | 2012-04-02 13:18:51 +0000 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef _GP_PADCTRL_H_ |
| 7 | #define _GP_PADCTRL_H_ |
| 8 | |
| 9 | /* APB_MISC_PP registers */ |
| 10 | struct apb_misc_pp_ctlr { |
| 11 | u32 reserved0[2]; |
| 12 | u32 strapping_opt_a;/* 0x08: APB_MISC_PP_STRAPPING_OPT_A */ |
Stephen Warren | fdb906f | 2014-03-21 12:28:53 -0600 | [diff] [blame] | 13 | u32 reserved1[6]; /* 0x0c .. 0x20 */ |
| 14 | u32 cfg_ctl; /* 0x24 */ |
Simon Glass | 9e11f7a | 2012-04-02 13:18:51 +0000 | [diff] [blame] | 15 | }; |
| 16 | |
| 17 | /* bit fields definitions for APB_MISC_PP_STRAPPING_OPT_A register */ |
| 18 | #define RAM_CODE_SHIFT 4 |
| 19 | #define RAM_CODE_MASK (0xf << RAM_CODE_SHIFT) |
| 20 | |
| 21 | #endif |