xref: /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-rockchip/grf_rv1106.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * (C) Copyright 2022 Rockchip Electronics Co., Ltd.
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  */
6 #ifndef _ASM_ARCH_GRF_RV1106_H
7 #define _ASM_ARCH_GRF_RV1106_H
8 
9 #include <common.h>
10 
11 struct rv1106_grf {
12 	unsigned int reserved0[0x20 / 4];
13 	unsigned int emmc_con0;
14 	unsigned int emmc_con1;
15 	unsigned int reserved1[(0x050000 - 0x24) / 4];
16 	unsigned int sdmmc_con0;
17 	unsigned int sdmmc_con1;
18 	unsigned int reserved2[(0x060000 - 0x05000c) / 4];
19 	unsigned int gmac_con0;
20 	unsigned int gmac_clk_con;
21 	unsigned int gmac_st;
22 	unsigned int tsadc_con;
23 	unsigned int otp_con;
24 	unsigned int rga_noc;
25 	unsigned int vo_mem;
26 	unsigned int sdio_con0;
27 	unsigned int sdio_con1;
28 	unsigned int sdio_ram_clhgat_dis;
29 	unsigned int macphy_con0;
30 	unsigned int macphy_con1;
31 	unsigned int vop_qos;
32 	unsigned int vop_pipe_bypass;
33 };
34 
35 check_member(rv1106_grf, vop_pipe_bypass, 0x60034);
36 #endif
37