1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /* Copyright (c) 2021, EPAM Systems. All rights reserved. */
3 
4 #ifndef PLAT_RCAR_RCAR_H
5 #define PLAT_RCAR_RCAR_H
6 
7 #define PRR_OFFSET		0x44
8 #define PRR_PRODUCT_H3		0x4F00
9 #define PRR_PRODUCT_M3W		0x5200
10 #define PRR_PRODUCT_MASK	0xFF00
11 #define PRR_CUT_MASK		0xFF
12 #define PRR_CUT_10		0x00	/* Ver 1.0 */
13 #define PRR_CUT_11		0x01	/* Ver 1.1 */
14 #define PRR_CUT_20		0x10	/* Ver 2.0 */
15 #define PRR_CUT_30		0x20	/* Ver.3.0 */
16 
17 #ifndef __ASSEMBLER__
18 extern uint32_t rcar_prr_value;
19 #endif
20 
21 #endif	/* PLAT_RCAR_RCAR_H */
22