/* SPDX-License-Identifier: GPL-2.0+ */


#ifndef __SOC_RK3399_GRF_H
#define __SOC_RK3399_GRF_H


#define RK3399_PMUGRF_OS_REG2		0x308
#define RK3399_PMUGRF_DDRTYPE_SHIFT	13
#define RK3399_PMUGRF_DDRTYPE_MASK	7
#define RK3399_PMUGRF_DDRTYPE_DDR3	3
#define RK3399_PMUGRF_DDRTYPE_LPDDR2	5
#define RK3399_PMUGRF_DDRTYPE_LPDDR3	6
#define RK3399_PMUGRF_DDRTYPE_LPDDR4	7

#endif
