Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp809677rwb; Fri, 13 Jan 2023 04:34:21 -0800 (PST) X-Google-Smtp-Source: AMrXdXvlU3H2/jgvVPzBJXtTrZpF+eB3NprkFY/mOrNQOVc23ACBBBJCf2Yd84x88daoGvC8Pv7R X-Received: by 2002:a17:906:7747:b0:7c1:1804:a0c7 with SMTP id o7-20020a170906774700b007c11804a0c7mr65873407ejn.75.1673613261523; Fri, 13 Jan 2023 04:34:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673613261; cv=none; d=google.com; s=arc-20160816; b=FXh3Aixnk98EDGPQ2Y4zkQ4rS85Bqf/3CYuX3jlVJK0DJI/jnU2gUlPUvjeuWJfbqs 4LnXgjWz+RjtI1pOQcTOFbArtw7bkISn0DhdUg/G3khL4eUgCCmMvAcrMfmcbE+EKLv+ HhMb+phN8Ibb4AoPfwSIZLhk753RnDiSeVAenTSqMLpsRRynQ9UDv2OeWldiAuqfx9sa GvgQ3GX2BC8CNGGBAYMpF547IIE1sJtiy9Oq90l63zmvaRjcISAhmxbF7JomjAqXr/vs 4eSVEZSlK7RSOpRabkjJDaa+x9G8sA5kQKnXn409oP3N8nB4fP+QsVJxXDzxXrjMjMDA Emxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=UDFsrgP+UTMw5z9pb449CNH7n7E9Y9IltvGCSddi/5w=; b=vh7m75vbWz7mgHhMX3Qe4+9CmVv8hvGUIs1lK24C97j6foas2CGeR9EBv8RUdkmz/2 nita6FIHdCXhqRHFbO6TtzaqUaPGJYf1X02dFqcasse3ucswuekKSXmtIqSziUvXjM0q KayjXOh/JO5+iGP1eN+3eWR0cMQmVlDfEEl9sfK8XZRUTRyjHqiVFlKMRp+sXHFN3LEc l8sWA0lrqCxx7j6ut+I8pbbAyCm9uAWUlF9Nv5/WRjSqYVLBTder8cVgRaxoho6s8SKR OrGpLBgqaLfzU/201aJTKPH7NPsJNojOAd0YIUKhXG5M2BlrBfvqdIY414PFIs5AcpJp zg/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mistralsolutions.com header.s=google header.b=EO8NxMX8; 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=QUARANTINE dis=NONE) header.from=mistralsolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs6-20020a1709073e8600b007c0f2d1f654si22643668ejc.20.2023.01.13.04.34.07; Fri, 13 Jan 2023 04:34:21 -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=@mistralsolutions.com header.s=google header.b=EO8NxMX8; 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=QUARANTINE dis=NONE) header.from=mistralsolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239906AbjAMM3U (ORCPT + 51 others); Fri, 13 Jan 2023 07:29:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241589AbjAMM2x (ORCPT ); Fri, 13 Jan 2023 07:28:53 -0500 Received: from egress-ip4a.ess.de.barracuda.com (egress-ip4a.ess.de.barracuda.com [18.184.203.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D37B273E2E for ; Fri, 13 Jan 2023 04:26:59 -0800 (PST) Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by mx-outbound12-28.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 13 Jan 2023 12:26:57 +0000 Received: by mail-lj1-f198.google.com with SMTP id x32-20020a2ea9a0000000b0027b52e5e56cso5540997ljq.10 for ; Fri, 13 Jan 2023 04:26:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=UDFsrgP+UTMw5z9pb449CNH7n7E9Y9IltvGCSddi/5w=; b=EO8NxMX88fPbExgxNk6XuqUKwkuFa0Is3uIrvbBK4TxldK6GS1BrF6qmi4QSaOSt35 Txh5Y6k5QpjRJJdX6CoA3OhdhtsPiab+lNQ3vTkIYpjZKfPpu+HQvKx3uqy/v8RsnKge 7WZRyv+cUrBJAbl19B0XTfmVjHq4FbdHvfv6g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UDFsrgP+UTMw5z9pb449CNH7n7E9Y9IltvGCSddi/5w=; b=Hs5VbRf+D4/sNWHeaqgZ18FX2HS0Eu7kxDv3tx6Su0QCKC1chQ20kT5uCp9zbPtx4a zB5R6mNH3tTdIwtPFJ0lIEO6SeGnyPOAHb+8qbo4dttO7N4JOLmlvkWNb2TVCf3vyATv EgQsjln4fdE1KnjxJru1b+3OLB8fpPrE00hKqn49Lm4ZvnTV7EUVvaTZ61teZn15ildb vof3rIucctEDQDtT0yC5Os0yK+foWM66D1NHU6BMBCxj75GUQ5Bi99R1Mo6KsQsU9OCI 7LE1mh1IeX2ruAM+VtETI9RXpzYAZOkVBV7PUlrpabMyS2G2S9k5+3Tvglo3V4OgmgSO pkeQ== X-Gm-Message-State: AFqh2krW9WiBgWgQgQO1W6NYY9sVajZFCU44QBztg2dn+SicWBRJh5Ly 22ZELipAgC+9MgDWpsj3q0zTujQD4KMj+YPj+Eid5otK5g0jRdSwy4I4EKdO0io432mQl34uJJ0 M98o8+QDCkHX0Bs3LE6LtPVrWZF3EXImnDr5+/RqtTXoIBT6it5g4acmrAOC3Q1GmsjdmYp06CU XZ X-Received: by 2002:ac2:4e09:0:b0:4b7:2a7:1242 with SMTP id e9-20020ac24e09000000b004b702a71242mr3684400lfr.44.1673612816405; Fri, 13 Jan 2023 04:26:56 -0800 (PST) X-Received: by 2002:ac2:4e09:0:b0:4b7:2a7:1242 with SMTP id e9-20020ac24e09000000b004b702a71242mr3684399lfr.44.1673612816118; Fri, 13 Jan 2023 04:26:56 -0800 (PST) MIME-Version: 1.0 References: <20230110110052.14851-1-sinthu.raja@ti.com> <20230110110052.14851-3-sinthu.raja@ti.com> In-Reply-To: From: Sinthu Raja M Date: Fri, 13 Jan 2023 17:56:44 +0530 Message-ID: Subject: Re: [RESEND PATCH V3 2/3] arm64: dts: ti: Add initial support for AM68 SK System on Module To: Vaishnav Achath Cc: Nishanth Menon , Tero Kristo , Rob Herring , Vignesh Raghavendra , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sinthu Raja Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BESS-ID: 1673612817-303100-5448-10899-1 X-BESS-VER: 2019.1_20221214.2106 X-BESS-Apparent-Source-IP: 209.85.208.198 X-BESS-Outbound-Spam-Score: 0.40 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.245438 [from cloudscan16-215.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header 0.40 BSF_SC0_SA085b META: Custom Rule SA085b 0.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.40 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_SC0_MISMATCH_TO, BSF_SC0_SA085b, BSF_BESS_OUTBOUND X-BESS-BRTS-Status: 1 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,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: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 13, 2023 at 5:24 PM Vaishnav Achath wrote: > > Hi Sinthu, > > On 10/01/23 16:30, Sinthu Raja wrote: > > From: Sinthu Raja > > > > AM68 Starter Kit (SK) is a low cost, small form factor board designed > > for TI=E2=80=99s AM68 SoC. TI=E2=80=99s AM68 SoC comprises of dual core= A72, high > > performance vision accelerators, hardware accelerators, latest C71x > > DSP, high bandwidth real-time IPs for capture and display. The SoC is > > power optimized to provide best in class performance for industrial > > applications. > > > > AM68 SK supports the following interfaces: > > * 16 GB LPDDR4 RAM > > * x1 Gigabit Ethernet interface > > * x1 USB 3.1 Type-C port > > * x2 USB 3.1 Type-A ports > > * x1 PCIe M.2 M Key > > * 512 Mbit OSPI flash > > * x2 CSI2 Camera interface (RPi and TI Camera connector) > > * 40-pin Raspberry Pi GPIO header > > > > SK's System on Module (SoM) contains the SoC and DDR. > > Therefore, add DT node for the SOC and DDR on the SoM. > > > > Schematics: https://www.ti.com/lit/zip/SPRR463 > > TRM: http://www.ti.com/lit/pdf/spruj28 > > > > Signed-off-by: Sinthu Raja > > --- > > > > Changes in V3: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Addressed review comments > > - Removed the unused nodes that are disabled by default. > > OSPI support will be added once the OSPI node is enabled for J721s2/AM6= 8 in main DTSI. > > > > Changes in V2: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > Address review comments > > - drop the empty lines. > > > > V1: https://lore.kernel.org/linux-arm-kernel/20221018123849.23695-3-sin= thu.raja@ti.com/ > > V2: https://lore.kernel.org/lkml/20221107123852.8063-3-sinthu.raja@ti.c= om/ > > > > arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi | 31 ++++++++++++++++++++++ > > 1 file changed, 31 insertions(+) > > create mode 100644 arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi > > > > diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi b/arch/arm64/bo= ot/dts/ti/k3-am68-sk-som.dtsi > > new file mode 100644 > > index 000000000000..c35f81edee8c > > --- /dev/null > > +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi > > @@ -0,0 +1,31 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.= com/ > > + */ > > + > > +/dts-v1/; > > + > > +#include "k3-j721s2.dtsi" > > +#include > > + > > +/ { > > + memory@80000000 { > > + device_type =3D "memory"; > > + /* 16 GB RAM */ > > + reg =3D <0x00 0x80000000 0x00 0x80000000>, > > + <0x08 0x80000000 0x03 0x80000000>; > > + }; > > + > > + /* Reserving memory regions still pending */ > > Is this comment needed? > > > + reserved_memory: reserved-memory { > > + #address-cells =3D <2>; > > + #size-cells =3D <2>; > > + ranges; > > + > > + secure_ddr: optee@9e800000 { > > + reg =3D <0x00 0x9e800000 0x00 0x01800000>; > > + alignment =3D <0x1000>; > > Is alignment needed here? This is used to mention the address boundary. Removing this will affect memory allocation. Isn't so? > > > Please see https://lore.kernel.org/lkml/cd5dbbb0-2d9f-8d7d-b051-f8d01d710= c62@ti.com/ > > > + no-map; > > + }; > > + }; > > +}; > > -- > Regards, > Vaishnav --=20 With Regards Sinthu Raja