Skip to contentSkip to conversation

riscv: sifive: fu740: reduce DDR speed from 1866MT/s to 1600MT/s

PATCH In review [email protected] 2 participants 2 messages Feb 22, 2024 – Mar 12, 2024 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: sifive: fu740: reduce DDR speed from 1866MT/s to 1600MT/s

From: Thomas Perrot <[email protected]>

It appears that there is some timing marginality either in the board layout or the SoC that results in occasional data corruption on some boards.
We observed this issue on some of the new HiFive Unmatched RevB boards during volume production as well as some of the original HiFive Unmatched boards from 2021 in our possession. This means that there are other boards out there that might have the issue too.

We have done some limited testing with DDR4 at 1600MT/s and faulty boards (failing at 1866MT/s) passed.
We plan further testing after we procure a temperature chamber.

---
 arch/riscv/dts/fu740-c000-u-boot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/dts/fu740-c000-u-boot.dtsi +1 -1
index 706224b384d2..956237c3218e 100644
@@ -77,7 +77,7 @@
 			       0x0 0x100b2000 0x0 0x2000
 			       0x0 0x100b8000 0x0 0x1000>;
 			clocks = <&prci FU740_PRCI_CLK_DDRPLL>;
-			clock-frequency = <933333324>;
+			clock-frequency = <800000004>;
 			bootph-pre-ram;
 		};
 	};
Signature · 1 line
2.43.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · On Thu, Feb 22, 2024 at 03:52:03PM +0100, [email protected] wrote:

From: Thomas Perrot <[email protected]>

It appears that there is some timing marginality either in the board layout or the SoC that results in occasional data corruption on some boards.
We observed this issue on some of the new HiFive Unmatched RevB boards during volume production as well as some of the original HiFive Unmatched boards from 2021 in our possession. This means that there are other boards out there that might have the issue too.

Quoted 8 lines

We have done some limited testing with DDR4 at 1600MT/s and faulty boards (failing at 1866MT/s) passed.
We plan further testing after we procure a temperature chamber.

---
 arch/riscv/dts/fu740-c000-u-boot.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)