summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Brattlof <bb@ti.com>2022-11-03 19:13:53 -0500
committerTom Rini <trini@konsulko.com>2022-12-09 14:10:28 -0500
commitf54febe1b126b5ebede3d9784e07c10b9da299a1 (patch)
treee7b24047de1ab52d836d257d51705225d0a28d64
parent6bdfa69155d8816ccb0512ed8b4adf19c3b8cc32 (diff)
downloadu-boot-f54febe1b126b5ebede3d9784e07c10b9da299a1.tar.gz
u-boot-f54febe1b126b5ebede3d9784e07c10b9da299a1.tar.bz2
u-boot-f54febe1b126b5ebede3d9784e07c10b9da299a1.zip
ram: k3-ddrss: add am62a controller support
TI's am62a family of SoCs uses a new 32bit DDR controller that shares much of the same functionality with the existing am64 and j721e controllers. Select this controller by default when u-boot is build for the am62a Signed-off-by: Bryan Brattlof <bb@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--drivers/ram/Kconfig1
-rw-r--r--drivers/ram/k3-ddrss/k3-ddrss.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig
index bf279b79f6..e085119963 100644
--- a/drivers/ram/Kconfig
+++ b/drivers/ram/Kconfig
@@ -65,6 +65,7 @@ choice
default K3_J721E_DDRSS if SOC_K3_J721E || SOC_K3_J721S2
default K3_AM64_DDRSS if SOC_K3_AM642
default K3_AM64_DDRSS if SOC_K3_AM625
+ default K3_AM62A_DDRSS if SOC_K3_AM62A7
config K3_J721E_DDRSS
bool "Enable J721E DDRSS support"
diff --git a/drivers/ram/k3-ddrss/k3-ddrss.c b/drivers/ram/k3-ddrss/k3-ddrss.c
index e8b7aec9e0..7e445d2b73 100644
--- a/drivers/ram/k3-ddrss/k3-ddrss.c
+++ b/drivers/ram/k3-ddrss/k3-ddrss.c
@@ -706,6 +706,7 @@ static const struct k3_ddrss_data j721s2_data = {
};
static const struct udevice_id k3_ddrss_ids[] = {
+ {.compatible = "ti,am62a-ddrss", .data = (ulong)&k3_data, },
{.compatible = "ti,am64-ddrss", .data = (ulong)&k3_data, },
{.compatible = "ti,j721e-ddrss", .data = (ulong)&k3_data, },
{.compatible = "ti,j721s2-ddrss", .data = (ulong)&j721s2_data, },