Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7653436rwl; Tue, 10 Jan 2023 03:47:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXtBuTrurlvgxNTuhMtzC/+9zFOSnMyBL1EYAJ2nS3JEc4InIjI6eij1uOofVFD/S9oifenH X-Received: by 2002:aa7:c307:0:b0:499:b4ce:b26e with SMTP id l7-20020aa7c307000000b00499b4ceb26emr7850865edq.40.1673351224882; Tue, 10 Jan 2023 03:47:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673351224; cv=none; d=google.com; s=arc-20160816; b=F6d1DyvBPPETqCdOn/k1T4dKwoJFy4XFheQtW4j830WFh9YUv3PBuMH+TL5XwY0B8x NDRp2v9nFbGSIE94QFE4ogyaDwlGF9efOn3Qre0nG2ffPHLTSS6B4xV2u2YbZJVdputL +ua8zWvWwLguZZVx3q3nNMiw2xZxJ1ikWv0ltTlyrmZkcagO4teJAgPLWBNP52Vd53Oo aFfU2SdZgv+K+1g4kUnGJv+WIE/Ep9byLt8INNriQ6uBN4idRwsn9UcyUZ67sXRs5xJp sQBPNfwLSTL+jGeNTK1RjtONzlNfv7ez0psklNs2eK/QIQZi7TGMJ585nPxVgwb1ZysO DMig== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Q6pDS+lOL7rDErHOmMEGS6n1jYlQdfcoBezd+fCzHFk=; b=x1WCZrZU40pd0vPZRbZ81wFnWmMs9YV9nw7j64Xpf3gCRRSZt1/9Osjf6iui8USZkC 1AXqDHORJ9O4ERlXiqAoJPIzSIv9H2MpcZRY7Z6tHSON0gkuAP4flSOSua2qAYGsol4m kvliZe15xWJJXwXZcR7fLNyzaznsxxpRKO4fpSP3DrlplF0RAukuNIlRdrZJcJp2FFun sc6toJcyUtkOD/e4acRAfnabd878SahLe8FxUb82wfDvjWNGlS8qqSavAIc8RWJFdvmU hbYeFlS97nYJ3teRFbwLsTvT21nId//hmGWb9ApD3VWd//bYDG0VucI30kLyX55+IA8/ rwtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mistralsolutions.com header.s=google header.b=Ka0N4V1f; 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 f8-20020a056402354800b00495c661fb42si13548114edd.571.2023.01.10.03.46.51; Tue, 10 Jan 2023 03:47:04 -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=Ka0N4V1f; 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 S230432AbjAJLGO (ORCPT + 55 others); Tue, 10 Jan 2023 06:06:14 -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-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: 8bit 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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 From: Sinthu Raja AM68 Starter Kit (SK) is a low cost, small form factor board designed for TI’s AM68 SoC. TI’s 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: ============= 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: ============= 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/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 = "memory"; + /* 16 GB RAM */ + reg = <0x00 0x80000000 0x00 0x80000000>, + <0x08 0x80000000 0x03 0x80000000>; + }; + + /* Reserving memory regions still pending */ + reserved_memory: reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + secure_ddr: optee@9e800000 { + reg = <0x00 0x9e800000 0x00 0x01800000>; + alignment = <0x1000>; + no-map; + }; + }; +}; -- 2.36.1