Loading...
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_DDRTYPE_SHIFT 13
15#define RK3399_PMUGRF_DDRTYPE_MASK 7
16#define RK3399_PMUGRF_DDRTYPE_DDR3 3
17#define RK3399_PMUGRF_DDRTYPE_LPDDR2 5
18#define RK3399_PMUGRF_DDRTYPE_LPDDR3 6
19#define RK3399_PMUGRF_DDRTYPE_LPDDR4 7
20
21#endif