[PATCH 2/2] memory: brcmstb_memc: Match rev c.1.5 compatible string
From: Florian Fainelli
Date: Tue Dec 17 2024 - 14:48:03 EST
Match the revision c.1.5 compatible string and apply the v2.1x register
layout such that we can properly control the Self Refresh Power Down
timeouts with those controller version(s).
Signed-off-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
---
drivers/memory/brcmstb_memc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/memory/brcmstb_memc.c b/drivers/memory/brcmstb_memc.c
index 4f17a93aa028..a2750142cef7 100644
--- a/drivers/memory/brcmstb_memc.c
+++ b/drivers/memory/brcmstb_memc.c
@@ -236,6 +236,10 @@ static const struct of_device_id brcmstb_memc_of_match[] = {
.compatible = "brcm,brcmstb-memc-ddr-rev-c.1.4",
.data = &brcmstb_memc_versions[BRCMSTB_MEMC_V21]
},
+ {
+ .compatible = "brcm,brcmstb-memc-ddr-rev-c.1.5",
+ .data = &brcmstb_memc_versions[BRCMSTB_MEMC_V21]
+ },
/* default to the original offset */
{
.compatible = "brcm,brcmstb-memc-ddr",
--
2.43.0