diff mbox series

[v2] arm64: dts: ti: k3-am62a7-sk: Fix DDR size to full 4GB

Message ID 20230210180317.6157-1-devarsht@ti.com (mailing list archive)
State New, archived
Headers show
Series [v2] arm64: dts: ti: k3-am62a7-sk: Fix DDR size to full 4GB | expand

Commit Message

Devarsh Thakkar Feb. 10, 2023, 6:03 p.m. UTC
All revisions of AM62A7-SK board have 4GB LPDDR4 Micron
MT53E2G32D4DE-046 AUT:B memory. Commit 38c4a08c820c ("arm64: dts: ti:
Add support for AM62A7-SK") enabled just 2GB due to a schematics error
in early revision of the board. Fix it by enabling full 4GB available on
the platform.

Design docs: Link: https://www.ti.com/lit/zip/spruj16

Fixes: 38c4a08c820c ("arm64: dts: ti: Add support for AM62A7-SK")

Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
---
Logs:
https://gist.github.com/devarsht/e85b6af89c01ddadb3a62f3e5f196af8

Changelog:
V2: Update commit message with mention of schematics error
---
 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Bryan Brattlof March 13, 2023, 7 p.m. UTC | #1
Hi Devarsh!

On February 10, 2023 thus sayeth Devarsh Thakkar:
> All revisions of AM62A7-SK board have 4GB LPDDR4 Micron
> MT53E2G32D4DE-046 AUT:B memory. Commit 38c4a08c820c ("arm64: dts: ti:
> Add support for AM62A7-SK") enabled just 2GB due to a schematics error
> in early revision of the board. Fix it by enabling full 4GB available on
> the platform.
> 
> Design docs: Link: https://www.ti.com/lit/zip/spruj16

Patch looks great! Though this link doesn't seem to be working. Should 
we use: https://www.ti.com/lit/zip/sprr459 ?

> 
> Fixes: 38c4a08c820c ("arm64: dts: ti: Add support for AM62A7-SK")
> 
> Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
> ---
> Logs:
> https://gist.github.com/devarsht/e85b6af89c01ddadb3a62f3e5f196af8
> 
> Changelog:
> V2: Update commit message with mention of schematics error
> ---
>  arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 

A part from that

Reviewed-by: Bryan Brattlof <bb@ti.com>

Thanks for getting this fixed up
~Bryan
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
index 5c9012141ee2..f6a67f072dca 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
@@ -27,8 +27,9 @@ 
 
 	memory@80000000 {
 		device_type = "memory";
-		/* 2G RAM */
-		reg = <0x00000000 0x80000000 0x00000000 0x80000000>;
+		/* 4G RAM */
+		reg = <0x00000000 0x80000000 0x00000000 0x80000000>,
+		      <0x00000008 0x80000000 0x00000000 0x80000000>;
 	};
 
 	reserved-memory {