Caesar Wang | b400374 | 2016-10-12 08:10:12 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
Caesar Wang | b400374 | 2016-10-12 08:10:12 +0800 | [diff] [blame] | 5 | */ |
| 6 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 7 | #ifndef M0_PARAM_H |
| 8 | #define M0_PARAM_H |
Caesar Wang | b400374 | 2016-10-12 08:10:12 +0800 | [diff] [blame] | 9 | |
Xing Zheng | 93280b7 | 2016-10-26 21:25:26 +0800 | [diff] [blame] | 10 | #define PARAM_ADDR 0xc0 |
| 11 | |
| 12 | #define PARAM_M0_FUNC 0x00 |
| 13 | #define PARAM_DRAM_FREQ 0x04 |
| 14 | #define PARAM_DPLL_CON0 0x08 |
| 15 | #define PARAM_DPLL_CON1 0x0c |
| 16 | #define PARAM_DPLL_CON2 0x10 |
| 17 | #define PARAM_DPLL_CON3 0x14 |
| 18 | #define PARAM_DPLL_CON4 0x18 |
| 19 | #define PARAM_DPLL_CON5 0x1c |
| 20 | #define PARAM_FREQ_SELECT 0x20 |
| 21 | #define PARAM_M0_DONE 0x24 |
| 22 | #define PARAM_M0_SIZE 0x28 |
| 23 | #define M0_DONE_FLAG 0xf59ec39a |
Caesar Wang | b400374 | 2016-10-12 08:10:12 +0800 | [diff] [blame] | 24 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 25 | #endif /* M0_PARAM_H */ |