xref: /linux/include/soc/rockchip/rockchip_sip.h (revision 0d3b051adbb72ed81956447d0d1e54d5943ee6f5)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2016, Fuzhou Rockchip Electronics Co., Ltd
4  * Author: Lin Huang <hl@rock-chips.com>
5  */
6 #ifndef __SOC_ROCKCHIP_SIP_H
7 #define __SOC_ROCKCHIP_SIP_H
8 
9 #define ROCKCHIP_SIP_DRAM_FREQ			0x82000008
10 #define ROCKCHIP_SIP_CONFIG_DRAM_INIT		0x00
11 #define ROCKCHIP_SIP_CONFIG_DRAM_SET_RATE	0x01
12 #define ROCKCHIP_SIP_CONFIG_DRAM_ROUND_RATE	0x02
13 #define ROCKCHIP_SIP_CONFIG_DRAM_SET_AT_SR	0x03
14 #define ROCKCHIP_SIP_CONFIG_DRAM_GET_BW		0x04
15 #define ROCKCHIP_SIP_CONFIG_DRAM_GET_RATE	0x05
16 #define ROCKCHIP_SIP_CONFIG_DRAM_CLR_IRQ	0x06
17 #define ROCKCHIP_SIP_CONFIG_DRAM_SET_PARAM	0x07
18 #define ROCKCHIP_SIP_CONFIG_DRAM_SET_ODT_PD	0x08
19 
20 #endif
21