summaryrefslogtreecommitdiff
path: root/include/soc/rockchip/rk3399_grf.h
blob: 39cd44cec982f3f599d90ee961a8062bdc4a9c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Rockchip General Register Files definitions
 *
 * Copyright (c) 2018, Collabora Ltd.
 * Author: Enric Balletbo i Serra <enric.balletbo@collabora.com>
 */

#ifndef __SOC_RK3399_GRF_H
#define __SOC_RK3399_GRF_H

/* PMU GRF Registers */
#define RK3399_PMUGRF_OS_REG2		0x308
#define RK3399_PMUGRF_OS_REG2_DDRTYPE		GENMASK(15, 13)
#define RK3399_PMUGRF_OS_REG2_BW_CH0		GENMASK(3, 2)
#define RK3399_PMUGRF_OS_REG2_BW_CH1		GENMASK(19, 18)

#endif