From nobody Mon Sep 15 21:48:46 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91005C54EBE for ; Tue, 10 Jan 2023 11:06:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231138AbjAJLGR (ORCPT ); Tue, 10 Jan 2023 06:06:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232969AbjAJLFa (ORCPT ); Tue, 10 Jan 2023 06:05:30 -0500 Received: from egress-ip33b.ess.de.barracuda.com (egress-ip33b.ess.de.barracuda.com [18.185.115.237]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 918C63C3B9 for ; Tue, 10 Jan 2023 03:04:37 -0800 (PST) Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx-outbound19-51.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 10 Jan 2023 11:04:35 +0000 Received: by mail-pj1-f70.google.com with SMTP id p2-20020a17090a74c200b00226cc39b0afso4669097pjl.2 for ; Tue, 10 Jan 2023 03:04:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Q6pDS+lOL7rDErHOmMEGS6n1jYlQdfcoBezd+fCzHFk=; b=Ka0N4V1fCQsmA9ZSwV+nz+Kv0UhZSJVtl4zzIQPY+8RMQF3Xnah/d2pOvgrDJM5CJt zPZEyrebMIj8uEY77vfqj63NtS5rAfXkgEljThcjE66JyfY/EIeryBLUDKkSww4nHsUC psWEgIcGMMUZxiT0xMdr3u5rYp4KTUXd/Z2Qo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q6pDS+lOL7rDErHOmMEGS6n1jYlQdfcoBezd+fCzHFk=; b=MwgVmj3dfR4vOXzbdffDs218hO5MAS2KlVw5H5qrLrfF4JA4xXd7ftpTrEM9je+OBV luZhi4wcsAp680sQ0HeIgWKhSX6CEX6F81B5cyWOLXVGpVTLERETIlzaKyNklAv7/kks uFLyJF/i/KVc/XV0zdiMghS0WltWp4JWe+5ndHKC395fjAxPMhdckg/XCkk3+oYoh+kK CGpQGiJRF7NXEekPm1LyDO/A2mOZSYFoaeJ5I5QlxQbfR3ZTwey06b4JPNFMF/pmLVDF p7B4I+IKTakawoBN1EyvWgsThq8ZEH4OuLQURLMstt3DGI//c0yr01oaQ5mOM3L1rVLH S/3g== X-Gm-Message-State: AFqh2koxzllx6fmC+sbEu723uNgJZLC+X2mCLy3TLZbqzk7A9ANFH/DT 6G9bYsU4h1fe6zvjFTvS5VKhHXlH2MjLBQyN6d23/r8bmhfPYJK/yAVPTIJJMZgR05A64jXGj3Y hbAnLABiHCXxI1gc9RzuO2gm1hTUgMhM8SIcX8u+czBASFcsO9eVqCP+KvwOT X-Received: by 2002:a05:6a20:1a84:b0:a7:89fd:884c with SMTP id ci4-20020a056a201a8400b000a789fd884cmr74400189pzb.11.1673348674215; Tue, 10 Jan 2023 03:04:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXsV6yl1//5x9VBSZJuTpC1cOkaM3gSS2pCstisAhNjndwaBylse+Tncu258G1GX9pKzyFf6cQ== X-Received: by 2002:a05:6a20:1a84:b0:a7:89fd:884c with SMTP id ci4-20020a056a201a8400b000a789fd884cmr74400164pzb.11.1673348673874; Tue, 10 Jan 2023 03:04:33 -0800 (PST) Received: from LAP568U.mistral.in ([106.51.227.150]) by smtp.gmail.com with ESMTPSA id i7-20020a17090332c700b001897a8b537asm7840206plr.221.2023.01.10.03.04.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 03:04:33 -0800 (PST) From: Sinthu Raja X-Google-Original-From: Sinthu Raja To: Nishanth Menon , Tero Kristo , Rob Herring Cc: Vignesh Raghavendra , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sinthu Raja Subject: [RESEND PATCH V3 2/3] arm64: dts: ti: Add initial support for AM68 SK System on Module Date: Tue, 10 Jan 2023 16:30:51 +0530 Message-Id: <20230110110052.14851-3-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230110110052.14851-1-sinthu.raja@ti.com> References: <20230110110052.14851-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-BESS-ID: 1673348675-304915-5399-3484-1 X-BESS-VER: 2019.1_20221214.2106 X-BESS-Apparent-Source-IP: 209.85.216.70 X-BESS-Outbound-Spam-Score: 0.40 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.245372 [from cloudscan10-138.eu-central-1a.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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/AM68 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-sinthu.= raja@ti.com/ V2: https://lore.kernel.org/lkml/20221107123852.8063-3-sinthu.raja@ti.com/ 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/boot/d= ts/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 */ + 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>; + no-map; + }; + }; +}; --=20 2.36.1