xref: /linux/include/soc/rockchip/rk3399_grf.h (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Rockchip General Register Files definitions
4  *
5  * Copyright (c) 2018, Collabora Ltd.
6  * Author: Enric Balletbo i Serra <enric.balletbo@collabora.com>
7  */
8 
9 #ifndef __SOC_RK3399_GRF_H
10 #define __SOC_RK3399_GRF_H
11 
12 /* PMU GRF Registers */
13 #define RK3399_PMUGRF_OS_REG2		0x308
14 #define RK3399_PMUGRF_OS_REG2_DDRTYPE		GENMASK(15, 13)
15 #define RK3399_PMUGRF_OS_REG2_BW_CH0		GENMASK(3, 2)
16 #define RK3399_PMUGRF_OS_REG2_BW_CH1		GENMASK(19, 18)
17 
18 #endif
19