1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2020 Pengutronix, Michael Tretter <kernel@pengutronix.de>
4  */
5 
6 #ifndef __XLNX_VCU_H
7 #define __XLNX_VCU_H
8 
9 #define VCU_ECODER_ENABLE		0x00
10 #define VCU_DECODER_ENABLE		0x04
11 #define VCU_MEMORY_DEPTH		0x08
12 #define VCU_ENC_COLOR_DEPTH		0x0c
13 #define VCU_ENC_VERTICAL_RANGE		0x10
14 #define VCU_ENC_FRAME_SIZE_X		0x14
15 #define VCU_ENC_FRAME_SIZE_Y		0x18
16 #define VCU_ENC_COLOR_FORMAT		0x1c
17 #define VCU_ENC_FPS			0x20
18 #define VCU_MCU_CLK			0x24
19 #define VCU_CORE_CLK			0x28
20 #define VCU_PLL_BYPASS			0x2c
21 #define VCU_ENC_CLK			0x30
22 #define VCU_PLL_CLK			0x34
23 #define VCU_ENC_VIDEO_STANDARD		0x38
24 #define VCU_STATUS			0x3c
25 #define VCU_AXI_ENC_CLK			0x40
26 #define VCU_AXI_DEC_CLK			0x44
27 #define VCU_AXI_MCU_CLK			0x48
28 #define VCU_DEC_VIDEO_STANDARD		0x4c
29 #define VCU_DEC_FRAME_SIZE_X		0x50
30 #define VCU_DEC_FRAME_SIZE_Y		0x54
31 #define VCU_DEC_FPS			0x58
32 #define VCU_BUFFER_B_FRAME		0x5c
33 #define VCU_WPP_EN			0x60
34 #define VCU_PLL_CLK_DEC			0x64
35 #define VCU_NUM_CORE			0x6c
36 #define VCU_GASKET_INIT			0x74
37 #define VCU_GASKET_VALUE		0x03
38 
39 #endif /* __XLNX_VCU_H */
40