blob: 97094a952cb2ab2ab7fe859843c78c0a78c9a3bd [file] [log] [blame]
Angel Pons47f26db2020-04-05 13:22:34 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Matt DeVillier9be3f5d2017-01-16 17:32:38 -06002
3#ifndef VARIANT_H
4#define VARIANT_H
5
Elyes HAOUASdfbe6bd2018-10-29 06:56:52 +01006#include <stdint.h>
7
Matt DeVillier9be3f5d2017-01-16 17:32:38 -06008/*
9 * RAM_ID[2:0] are on GPIO_SSUS[39:37]
10 * 0b000 - 2GiB total - 1 x 2GiB Samsung K4B4G1646Q-HYK0 1600MHz
11 * 0b001 - 2GiB total - 1 x 2GiB Hynix H5TC4G63AFR-PBA 1600MHz
12 * 0b010 - 4GiB total - 2 x 2GiB Samsung K4B4G1646Q-HYK0 1600MHz
13 * 0b011 - 4GiB total - 2 x 2GiB Hynix H5TC4G63AFR-PBA 1600MHz
14 */
15
16static const uint32_t dual_channel_config =
17 (1 << 2) | (1 << 3);
18
19#define SPD_SIZE 256
20#define GPIO_SSUS_37_PAD 57
21#define GPIO_SSUS_38_PAD 50
22#define GPIO_SSUS_39_PAD 58
23
24#endif