2 * Copyright 2014 Freescale Semiconductor, Inc.
4 * SPDX-License-Identifier: GPL-2.0+
9 struct board_specific_parameters {
11 u32 datarate_mhz_high;
23 * These tables contain all valid speeds we want to override with board
24 * specific parameters. datarate_mhz_high values need to be in ascending order
25 * for each n_ranks group.
27 static const struct board_specific_parameters udimm0[] = {
30 * num| hi| rank| clk| wrlvl | wrlvl | wrlvl | cpo |wrdata|2T
31 * ranks| mhz| GB |adjst| start | ctl2 | ctl3 | |delay |
33 {1, 833, 1, 6, 8, 0x06060607, 0x08080807, 0x1f, 2, 0},
34 {1, 1350, 1, 6, 8, 0x0708080A, 0x0A0B0C09, 0x1f, 2, 0},
35 {1, 833, 2, 6, 8, 0x06060607, 0x08080807, 0x1f, 2, 0},
36 {1, 1350, 2, 6, 8, 0x0708080A, 0x0A0B0C09, 0x1f, 2, 0},
37 {2, 833, 4, 6, 8, 0x06060607, 0x08080807, 0x1f, 2, 0},
38 {2, 1350, 4, 6, 8, 0x0708080A, 0x0A0B0C09, 0x1f, 2, 0},
39 {2, 1350, 0, 6, 8, 0x0708080A, 0x0A0B0C09, 0x1f, 2, 0},
40 {2, 1666, 4, 4, 0xa, 0x0B08090C, 0x0B0E0D0A, 0x1f, 2, 0},
41 {2, 1666, 0, 4, 0xa, 0x0B08090C, 0x0B0E0D0A, 0x1f, 2, 0},
45 static const struct board_specific_parameters *udimms[] = {