Skip to content

Commit b472683

Browse files
LiBinSHAnoglitch
authored andcommitted
sama7d65_curiosity_pro: update DDR3L device
Use W638GU6RB11 instead of W638GU6QB12 in DRAM configuration of sama7d65_curiosity_pro. DDR3L W638GU6QB12 is kept to configure sama7d65_curiosity_pro older rev. X1. Configure 8Gb DDR3L DDR_W638GU6RB11 in 1866K speed bin. Set the device with ODT impedance to 60 and output impedance to 40. Signed-off-by: Li Bin <[email protected]> Tested-by: Ryan Wanner <[email protected]> Acked-by: Nicolas Ferre <[email protected]>
1 parent 32bbb4f commit b472683

9 files changed

+20
-8
lines changed

Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,7 @@ config DDR_DRIVER_IMPEDANCE
594594
default 40 if DDR_W632GU6NB12I
595595
default 40 if DDR_W634GU6NB12I
596596
default 40 if DDR_W638GU6QB12
597+
default 40 if DDR_W638GU6RB11
597598
default 40 if DDR_AS4C512M16D3LA_10BIN
598599
default 40 if DDR_AS4C128M16D2A_25BAN
599600
default 40 if DDR_EM68D16CBQC_18IH
@@ -612,6 +613,7 @@ config DDR_ODT_IMPEDANCE
612613
default 60 if DDR_W632GU6NB12I
613614
default 60 if DDR_W634GU6NB12I
614615
default 60 if DDR_W638GU6QB12
616+
default 60 if DDR_W638GU6RB11
615617
default 60 if DDR_AS4C512M16D3LA_10BIN
616618
default 50 if DDR_MT47H128M16RT_25E_C
617619
default 50 if DDR_W9751G6NB

configs/sama7d65_curiosity_pro-bsrnf_uboot_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CONFIG_CPU_CLK_800MHZ=y
77
CONFIG_DEBUG=y
88
CONFIG_CONSOLE_INDEX=19
99
CONFIG_DDR_SET_BY_DEVICE=y
10-
CONFIG_DDR_W638GU6QB12=y
10+
CONFIG_DDR_W638GU6RB11=y
1111
CONFIG_DDR_8_GBIT=y
1212
CONFIG_MEM_CLOCK_533=y
1313
CONFIG_NANDFLASH=y

configs/sama7d65_curiosity_pro-bsrsd1_uboot_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CONFIG_CPU_CLK_800MHZ=y
77
CONFIG_DEBUG=y
88
CONFIG_CONSOLE_INDEX=19
99
CONFIG_DDR_SET_BY_DEVICE=y
10-
CONFIG_DDR_W638GU6QB12=y
10+
CONFIG_DDR_W638GU6RB11=y
1111
CONFIG_DDR_8_GBIT=y
1212
CONFIG_MEM_CLOCK_533=y
1313
CONFIG_SDCARD=y

configs/sama7d65_curiosity_pro_bkptnone_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CONFIG_CPU_CLK_800MHZ=y
88
CONFIG_DEBUG=y
99
CONFIG_CONSOLE_INDEX=19
1010
CONFIG_DDR_SET_BY_DEVICE=y
11-
CONFIG_DDR_W638GU6QB12=y
11+
CONFIG_DDR_W638GU6RB11=y
1212
CONFIG_DDR_8_GBIT=y
1313
CONFIG_MEM_CLOCK_533=y
1414
# CONFIG_REDIRECT_ALL_INTS_AIC is not set

configs/sama7d65_curiosity_prodf_qspi_uboot_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ CONFIG_CPU_CLK_800MHZ=y
66
CONFIG_DEBUG=y
77
CONFIG_CONSOLE_INDEX=19
88
CONFIG_DDR_SET_BY_DEVICE=y
9-
CONFIG_DDR_W638GU6QB12=y
9+
CONFIG_DDR_W638GU6RB11=y
1010
CONFIG_DDR_8_GBIT=y
1111
CONFIG_MEM_CLOCK_533=y
1212
CONFIG_SPI_CLK=50000000

configs/sama7d65_curiosity_pronf_uboot_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CONFIG_CPU_CLK_800MHZ=y
77
CONFIG_DEBUG=y
88
CONFIG_CONSOLE_INDEX=19
99
CONFIG_DDR_SET_BY_DEVICE=y
10-
CONFIG_DDR_W638GU6QB12=y
10+
CONFIG_DDR_W638GU6RB11=y
1111
CONFIG_DDR_8_GBIT=y
1212
CONFIG_MEM_CLOCK_533=y
1313
CONFIG_NANDFLASH=y

configs/sama7d65_curiosity_prosd1_uboot_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CONFIG_CPU_CLK_800MHZ=y
77
CONFIG_DEBUG=y
88
CONFIG_CONSOLE_INDEX=19
99
CONFIG_DDR_SET_BY_DEVICE=y
10-
CONFIG_DDR_W638GU6QB12=y
10+
CONFIG_DDR_W638GU6RB11=y
1111
CONFIG_DDR_8_GBIT=y
1212
CONFIG_MEM_CLOCK_533=y
1313
CONFIG_SDCARD=y

driver/Config.in.dram

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,17 @@ config DDR_W634GU6NB12I
155155
help
156156
DDR3L W634GU6NB12I 32 Meg x 16 x 8 DDR3L-1600
157157
config DDR_W638GU6QB12
158-
bool "DDR3L W638GU6QB12 (SAMA7D65 CURIOSITY-PRO)"
158+
bool "DDR3L W638GU6QB12 (SAMA7D65 CURIOSITY PRO rev.X1)"
159159
depends on UMCTL2
160160
help
161-
DDR3L W638GU6QB-12 64 Meg x 16 x 8 DDR3L-1600
161+
DDR3L W638GU6QB12 64 Meg x 16 x 8 DDR3L-1600
162+
Soldered on older X1 revision of SAMA7D65 Curiosity Pro
163+
config DDR_W638GU6RB11
164+
bool "DDR3L W638GU6RB11 (SAMA7D65 CURIOSITY PRO)"
165+
depends on UMCTL2
166+
help
167+
DDR3L W638GU6RB11 64 Meg x 16 x 8 DDR3L-1866
168+
Soldered on official revision of SAMA7D65 Curiosity Pro
162169
config DDR_MT47H128M16RT_25E_C
163170
bool "DDR2 MT47H128M16RT-25E:C(SAMA7G5_DDR2_EB)"
164171
depends on UMCTL2

driver/driver_cpp.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ endif
9696
ifeq ($(CONFIG_DDR_W638GU6QB12), y)
9797
CPPFLAGS += -DCONFIG_DDR3 -DCONFIG_DDR3_SPEED_BIN_1600K -DCONFIG_DDR_8_GBIT
9898
endif
99+
ifeq ($(CONFIG_DDR_W638GU6RB11), y)
100+
CPPFLAGS += -DCONFIG_DDR3 -DCONFIG_DDR3_SPEED_BIN_1866K -DCONFIG_DDR_8_GBIT
101+
endif
99102
ifeq ($(CONFIG_DDR_MT41K512M16HA_125), y)
100103
CPPFLAGS += -DCONFIG_DDR3 -DCONFIG_DDR3_SPEED_BIN_1600K -DCONFIG_DDR_8_GBIT
101104
endif

0 commit comments

Comments
 (0)