aspeed: DTS specified m-pll
Subsystems (2)
Joel Stanley
maintainercover aspeed: DTS specified m-pll
Joel Stanley (2):
ast2600: ram: Enable device tree based DDR config
ast2600: tacoma: Run DDR at 1333
arch/arm/dts/ast2600-tacoma.dts | 2 +- drivers/ram/aspeed/Kconfig | 7 +++++ drivers/ram/aspeed/sdram_ast2600.c | 47 ++++++++++++++++++++++++------ 3 files changed, 46 insertions(+), 10 deletions(-)
Signature · 1 line
2.26.1
Joel Stanley
maintainerPATCH 1/2 ast2600: ram: Enable device tree based DDR config
The driver supports specification of the M-PLL via the device tree, and partially supported using this to configure the SDRAM rate used for memory training.
This patch finishes the job and exposes the setting through Kconfig.
--- drivers/ram/aspeed/Kconfig | 7 +++++ drivers/ram/aspeed/sdram_ast2600.c | 47 ++++++++++++++++++++++++------ 2 files changed, 45 insertions(+), 9 deletions(-)
drivers/ram/aspeed/Kconfig +7 -0
@@ -1,7 +1,14 @@ if RAM || SPL_RAM +config AST2600_SDRAMMC_MANUAL_CLK + bool "AST2600 SDRAM manual clock rate selection" + help + In order to speed up DRAM init time, write pre-defined values to + registers directly. This skips devce tree based detection. + choice prompt "DDR4 target data rate" + depends on AST2600_SDRAMMC_MANUAL_CLK default ASPEED_DDR4_1600 config ASPEED_DDR4_400
drivers/ram/aspeed/sdram_ast2600.c +38 -9
118 lines not on this page · raw message
Signature · 1 line
2.26.1
Re: [PATCH u-boot v2019.04-aspeed-openbmc 1/2] ast2600: ram: Enable device tree based DDR config
Quoted 7 lines · Joel Stanley
The driver supports specification of the M-PLL via the device tree, and partially supported using this to configure the SDRAM rate used for memory training.
This patch finishes the job and exposes the setting through
Kconfig.Signed-off-by Joel Stanley <[email protected]>
Joel Stanley
maintainerPATCH 2/2 ast2600: tacoma: Run DDR at 1333
In reply to Joel StanleyRestrict M-PLL to 333MHz so DDR runs at 1333MHz. Failures were seen when running M-PLL at 400MHz.
--- arch/arm/dts/ast2600-tacoma.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/ast2600-tacoma.dts +1 -1
@@ -39,7 +39,7 @@ }; &sdrammc { - clock-frequency = <400000000>; + clock-frequency = <333000000>; }; &wdt2 {
Signature · 1 line
2.26.1
Re: [PATCH u-boot v2019.04-aspeed-openbmc 2/2] ast2600: tacoma: Run DDR at 1333
Quoted 4 lines · Joel Stanley
Restrict M-PLL to 333MHz so DDR runs at 1333MHz. Failures were seen when running M-PLL at 400MHz.
Signed-off-by Joel Stanley <[email protected]>