diff mbox series

[2/2] memory: brcmstb_memc: Match rev c.1.5 compatible string

Message ID 20241217194439.929040-3-florian.fainelli@broadcom.com (mailing list archive)
State New
Headers show
Series memory: brcmstb_memc: Support for BCM74165 | expand

Commit Message

Florian Fainelli Dec. 17, 2024, 7:44 p.m. UTC
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@broadcom.com>
---
 drivers/memory/brcmstb_memc.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

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",