Message ID | 20230206115240.6026-1-devarsht@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2189328wrn; Mon, 6 Feb 2023 03:55:56 -0800 (PST) X-Google-Smtp-Source: AK7set/jc5/4+nLY6HLecbIwBDDQ7wsIOWSekmiRZcJqCv9dn/DbmG3o3jzDO3tKe7kNLTuuFbOv X-Received: by 2002:a50:d088:0:b0:4aa:a767:798c with SMTP id v8-20020a50d088000000b004aaa767798cmr6273707edd.0.1675684556193; Mon, 06 Feb 2023 03:55:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675684556; cv=none; d=google.com; s=arc-20160816; b=HELWAFcY9D6l4vhLjPNmfIGQvSbhfYRZ3HNTBGxs/ovS7hII6DUMUDyyW0Ndyr6w4i usC0kD4MDhQPV08CuKl5LB0NBxRNVVWx89nqtkjxkKSlA6nzq+1cLHBmhSdUpDn+cmp7 JAzZOy+1GTH3ag8wSg1DBjNquUirHvT1BY4WkxP1GZeD/fosfe+437yxvNX61s3luzMQ UlL9HD6a1edrEVkB1nC/34Si8pllZmYh7p4y+iDSMie6wTwlqL4CPQpYSZZzp8PJaVWw ixMpFHXTW8GpvaS5bE9fHdEY6E3DmrTfQYOM9IWpzz7D8LzkqeOCdivTxBWeTbKX5+mT 7/7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=PTxMHa0MqV4C75EK6VqoyZC5BlthQBdTPqrUQAlejpI=; b=qU80E7KwYfFuIgianS0JCIdRtrREXjyTPsIrcHi4iZZfd1LJGy0ryBVVlKWQmL3LRj Ux0ZwPawv6z04eQ6tE3oiZTxWs8zDGwOzQInTMTyRO8+jFps4neBYmi8fWVkRV5PiG0M vbQKY+nyDEKEUXIro84JAT6NFgW7okMHyqehUw15pPlv33OH/8g7mDXS+gCPs9bxub3R pvWI56OxUlYcjeGLpzsPY1T6zcQNucvMo0ZQfgzV5IHWSReiD/BTEm1xsuq2bFB0QxIz DRg42lO/DruFWC8+nVMVD01WZliuvtZC2SxgYJeQ1T2kh3iXsSJl+VQSaDjL8OyLwAyQ tQQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tOGPFVeb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i16-20020a50fc10000000b004aa7c6532fbsi9307087edr.512.2023.02.06.03.55.33; Mon, 06 Feb 2023 03:55:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tOGPFVeb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229676AbjBFLw7 (ORCPT <rfc822;kmanaouilinux@gmail.com> + 99 others); Mon, 6 Feb 2023 06:52:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbjBFLw6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Feb 2023 06:52:58 -0500 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 547C5CDDE; Mon, 6 Feb 2023 03:52:56 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 316BqgO3116929; Mon, 6 Feb 2023 05:52:42 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1675684362; bh=PTxMHa0MqV4C75EK6VqoyZC5BlthQBdTPqrUQAlejpI=; h=From:To:CC:Subject:Date; b=tOGPFVebvb058jyCRb1We92C+SUrc3Sl+iiVLPazihlhA/crzFKwbqRjW70vWWx0a xlbn9fuCQX26ype+8TFiaJUHgUDlkJTqeI5/bYx3/dVIzAlfIAVUU3tMhWdDMtnqpc 2mkeeClISTvXYyIsluzuXU6B+tNc3DIJWxy4K298= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 316Bqg36026683 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 6 Feb 2023 05:52:42 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 6 Feb 2023 05:52:41 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 6 Feb 2023 05:52:41 -0600 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 316Bqfcm031834; Mon, 6 Feb 2023 05:52:41 -0600 From: Devarsh Thakkar <devarsht@ti.com> To: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <krzysztof.kozlowski+dt@linaro.org>, <robh+dt@kernel.org>, <kristo@kernel.org>, <nm@ti.com>, <vigneshr@ti.com> CC: <hnagalla@ti.com>, <praneeth@ti.com>, <a-bhatia1@ti.com>, <j-luthra@ti.com>, <devarsht@ti.com> Subject: [PATCH] arm64: dts: ti: k3-am62a7-sk: Enable full 4GB DDR Date: Mon, 6 Feb 2023 17:22:40 +0530 Message-ID: <20230206115240.6026-1-devarsht@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757082609143843268?= X-GMAIL-MSGID: =?utf-8?q?1757082609143843268?= |
Series |
arm64: dts: ti: k3-am62a7-sk: Enable full 4GB DDR
|
|
Commit Message
Devarsh Thakkar
Feb. 6, 2023, 11:52 a.m. UTC
AM62A7-SK board has 4GB LPDDR4 Micron MT53E2G32D4DE-046 AUT:B memory but
only 2GB was enabled early.
Enable full 4GB memory by updating the latter 2GB memory region
which gets mapped to 0x0880000000 i.e. DDR16SS0_SDRAM as referred in
Table 2-1. AM62A Common SoC Memory of AM62Ax TRM.
TRM : https://www.ti.com/lit/zip/spruj16
Logs:
Link : https://gist.github.com/devarsht/e85b6af89c01ddadb3a62f3e5f196af8
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
---
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Comments
On 17:22-20230206, Devarsh Thakkar wrote: > AM62A7-SK board has 4GB LPDDR4 Micron MT53E2G32D4DE-046 AUT:B memory but > only 2GB was enabled early. > > Enable full 4GB memory by updating the latter 2GB memory region > which gets mapped to 0x0880000000 i.e. DDR16SS0_SDRAM as referred in > Table 2-1. AM62A Common SoC Memory of AM62Ax TRM. > > TRM : https://www.ti.com/lit/zip/spruj16 TRM makes no sense in this patch - it is the data sheet of the memory and part in schematics that is relevant Looking at the design files (link from dts): https://www.ti.com/lit/zip/sprr459 E1 version of the board has MT53E2G32D4DE-046 Vs E2 version of the board is MT53E1G32D2FW-046 The 2GB is accurate for E1 version of the board, 4GB change implies that E1 version of the board is no longer supported. Is the claim that E1 version of the board no longer supported? What happens to folks in the community who have an E1 board? > > Logs: > Link : https://gist.github.com/devarsht/e85b6af89c01ddadb3a62f3e5f196af8 Logs dont belong to the commit message. Also missing (if the patch is claiming a "fixes") is a Fixes tag. > > Signed-off-by: Devarsh Thakkar <devarsht@ti.com> > --- > arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > 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 { > -- > 2.17.1 >
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 {