From patchwork Tue Mar 14 09:46:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devarsh Thakkar X-Patchwork-Id: 69417 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1667867wrd; Tue, 14 Mar 2023 03:10:50 -0700 (PDT) X-Google-Smtp-Source: AK7set+sVGuRfet3peh7lB1/loWS53qNx+8xxa7ralGOPngMmlEdwv72XUHA9m5Q8MksGiBn5yzF X-Received: by 2002:a17:90a:5aa7:b0:23c:ffbf:859e with SMTP id n36-20020a17090a5aa700b0023cffbf859emr6486918pji.35.1678788650589; Tue, 14 Mar 2023 03:10:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678788650; cv=none; d=google.com; s=arc-20160816; b=A0Cr9cNjFJRHyOlo8lUYosQ5nL1S08DfeQa3K/gNV6OTNClwsg2opehWnENdrrJHng 8X7v8cNfYhrYirakmkJFTMlpfjTXSsx8qxNmC0Qyzey8IQ3YWNyv5Cb0bPZ1CFnAzTWr bU3gowkIOI5BpN2Yt4K/Ih9msxjdRsw2f0hQ3uSrotu2h6cjAvJmOk16F21gTmTnn0xz no6mKI6z6U+IkBvFxA+bcULhSKgZGQE97roovHSkj2vxXSqmm5fhfV2ZaO+YMrEcgMs3 QVAckRhU+HOzVju+zTCAgRHttcWBHzW0JjLZisBFjRzY1o41513HfgOvyQovxZzv4iN0 CRTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=tmISwl53EEmJ0UyWepF6LKD4kNk5gNEJdpfnLQ6BEAw=; b=JpayXVxbzHu52ZE5/xEGrlfG1Z3rz1ICw+Yxtccwf/KXgFODLmXrHV3Yp3uS9fkYj1 tkEAr6MP8kymVvdPFAUcprkSeAOp5jXkTxCkqr38jSVgdc+8mb15nr/zlvRTrJLLaIkM 3dGCHJdyuCb0HqsYtGzhD7Bx9a4tMEY9M5l8a/+oD3srC0xkOrkWKGBQojDCzrUW6Q70 qbCZ8k2LN0+It2yI6Ev//tjtfkSCTB0d7alwQwV2wmBY0FIMg2p4lPHp6gUojGT83zQL dWAHY4Cu9z5fmRyt+RMOBtmB9WL3WM4Or4bqk3XNUnZvgsPiRUcf5RIZn5gSG1Jg2N9u RdQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QC5rl1+K; 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 mz20-20020a17090b379400b00234ba2fe34bsi2096773pjb.102.2023.03.14.03.10.35; Tue, 14 Mar 2023 03:10:50 -0700 (PDT) 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=QC5rl1+K; 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 S229701AbjCNJq7 (ORCPT + 99 others); Tue, 14 Mar 2023 05:46:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbjCNJq4 (ORCPT ); Tue, 14 Mar 2023 05:46:56 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93CC714EBE; Tue, 14 Mar 2023 02:46:54 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32E9klTR094097; Tue, 14 Mar 2023 04:46:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1678787207; bh=tmISwl53EEmJ0UyWepF6LKD4kNk5gNEJdpfnLQ6BEAw=; h=From:To:CC:Subject:Date; b=QC5rl1+KEu6qFKnxte89oLx5dl+AgC+/+dp5bwcO8Y0WWQdsfvbntpS96wp6XZFDi 7vfTAYSlob/06o3wZ6uhTxBbyIf6sJmj5hsTxMDY0gjrIsTGYsnKStMdSVybfK5tGe 49+lRxdz4fWYkpoDE7l9c1drp57gj+huleZUi7Ig= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32E9kloN024093 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 14 Mar 2023 04:46:47 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 14 Mar 2023 04:46:47 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE110.ent.ti.com (157.170.170.21) 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; Tue, 14 Mar 2023 04:46:47 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32E9kkAX090240; Tue, 14 Mar 2023 04:46:47 -0500 From: Devarsh Thakkar To: , , , , , , , , CC: , , , , Subject: [PATCH v3] arm64: dts: ti: k3-am62a7-sk: Fix DDR size to full 4GB Date: Tue, 14 Mar 2023 15:16:45 +0530 Message-ID: <20230314094645.3411599-1-devarsht@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760337488201225647?= X-GMAIL-MSGID: =?utf-8?q?1760337488201225647?= 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/sprr459 Fixes: 38c4a08c820c ("arm64: dts: ti: Add support for AM62A7-SK") Signed-off-by: Devarsh Thakkar Reviewed-by: Bryan Brattlof --- Logs: https://gist.github.com/devarsht/e85b6af89c01ddadb3a62f3e5f196af8 Changelog: V2: Update commit message with mention of schematics error V3: Add Reviewed-By and update design docs link --- 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 @@ chosen { 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 {