Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7138890rwb; Tue, 15 Nov 2022 08:09:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf40ANzg/BaRJTolvO7QO3VfvF7NcMSNYx+HCoFqczKHMWSIV/fniNNIQ8m8eCkKuG81nlGG X-Received: by 2002:a17:906:2b12:b0:78d:4cdf:b40a with SMTP id a18-20020a1709062b1200b0078d4cdfb40amr14268248ejg.102.1668528565337; Tue, 15 Nov 2022 08:09:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668528565; cv=none; d=google.com; s=arc-20160816; b=ttKxYygVLOcM4ZySSPPAAt6D+6AmviWabR/ZtXI+CMlhdtxeZd26dth/a2gzr0P/MN g2wd00kfd78SrMF8Bpcl1XN5TDq+4IlOf8MSRwIIIn3DV/YTZYeJ7efN15Z3MjArAW5L xtbrcbJRQr3xswwHb45JxGLXNdaA6fgZ/5LOi4OgASqjaJLkgFQMimmIiCiO36zh12Wc yVBNLsCT5tPSkqKj/UmNc6+7wwuyzjTHG2D8JhP7iUcO8EhOtqirii3864lvffEXBzgC pJtprqL6gi+JhZ5u5nJ42o+c2FCna7yJII0Fq/1cdXfJkvpHbvGkB4U8xnHX8VPigidT zjMw== 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=16/D8weInr46BUN2uMYmBIehz1z+vucYVIUCVLBwWhM=; b=of8Xrhubo4DIizYnMFupGTCuofED7viBBMJo/y/4VdTj+bM8QEa6/c+Ykc8qznfSbM SEHVyY/Ft+It/88ghUH/o/zU/wyMe/nT/asSfxBqPqz3QqeTX3rfEq1ckkJuo1x8zks2 5Jt7nupIuPhQN1GMmXu+pzNqTjOG68lXTWZfwKrJQXODgnoZbLO9Bkq8Q4+002qeaOru ThzbEw7TIvSGAEMRZ72g9lLVZ8PR3km3wx9aHzdS96xjMgjH7MZVvpDNU4+/d6Ys1GVu 0DomJUW7nQQ5dytXL9Mi8JaauO3M+k02LVt33m5asYqmj/pkZ0G5zEqcGZmGLG53OFHg 5z+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mistralsolutions.com header.s=google header.b=olwLgFED; 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 i7-20020a05640242c700b00464718ca52bsi13116009edc.174.2022.11.15.08.08.50; Tue, 15 Nov 2022 08:09:25 -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=olwLgFED; 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 S238436AbiKOPvE (ORCPT + 90 others); Tue, 15 Nov 2022 10:51:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238293AbiKOPuu (ORCPT ); Tue, 15 Nov 2022 10:50:50 -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 A53A6B54 for ; Tue, 15 Nov 2022 07:50:49 -0800 (PST) Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx-outbound17-170.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 15 Nov 2022 15:50:47 +0000 Received: by mail-pf1-f199.google.com with SMTP id t10-20020aa7946a000000b0057193a6891eso6830462pfq.0 for ; Tue, 15 Nov 2022 07:50:47 -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=16/D8weInr46BUN2uMYmBIehz1z+vucYVIUCVLBwWhM=; b=olwLgFED+5Tll1Z2AaiIEjrHfJbXbITyFodtmUMnIJ/Z/tJ1qWs8rlVKzrYqTYtGnO P8vFu2LB2XpkJbSUpGDlWzzawr0iQdg9gyBa3iyowiDQntJUkJaAW5jsAbcDscITtKOp 4PR3PEDzNLiX0c8ZlnMYa2isjaPMPvxCt5AS8= 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=16/D8weInr46BUN2uMYmBIehz1z+vucYVIUCVLBwWhM=; b=oothBK32E2ErTpPa0DvLfebCV/aDgvlmGm20085I9nrNxxsh5jCgtTNKXHGvRce4/d o83KyGsLqZjTsV2BOkXDvlJzRL/HHTuOZLlEk+5rYQ4hp5416lLaX/AtxLkFMHZauH6X 3oi8m45UbB3BEj520zLr7BLoOd1aiTVfM+CFpSQJmKkUBLCVxSMoiwo0CGF+i8lG4Rzr VmuUgWU0NqkDCucGzMoBQJHKWrnxQFnBRLK4zpdtRrIljL+z09rBtgkcmVFcPjzMWnEw Gjt/AB3vQHzubupptHVfo9u6EgI4Iwaece8WGQ19fkOuYnRUQkUCkcZ6rTKQj8BYMoAT xDdg== X-Gm-Message-State: ANoB5pmDVDmAeYPYG95wxODOaenys88j/zCkBmeakKUuSN2StYUH02wi A5loWM1qrdTnJUR1mrdWOMYuO6KO3n5f0aT8PCiY7osahqRHmueLatrVFKUCLxTF8jcoGQH1XEV oBhXM63A1cvwm+s3QwpY2WKOQ82l79FmiY43sTx4/IzUVvXzEBcdiPOOHd8ox X-Received: by 2002:a05:6a00:180f:b0:565:af12:c324 with SMTP id y15-20020a056a00180f00b00565af12c324mr18836801pfa.66.1668527445930; Tue, 15 Nov 2022 07:50:45 -0800 (PST) X-Received: by 2002:a05:6a00:180f:b0:565:af12:c324 with SMTP id y15-20020a056a00180f00b00565af12c324mr18836768pfa.66.1668527445561; Tue, 15 Nov 2022 07:50:45 -0800 (PST) Received: from LAP568U.mistral.in ([106.51.227.150]) by smtp.gmail.com with ESMTPSA id y1-20020a17090264c100b00178b6ccc8a0sm10018478pli.51.2022.11.15.07.50.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 07:50:45 -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: [PATCH V3 2/3] arm64: dts: ti: Add initial support for AM68 SK System on Module Date: Tue, 15 Nov 2022 21:18:31 +0530 Message-Id: <20221115154832.19759-3-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20221115154832.19759-1-sinthu.raja@ti.com> References: <20221115154832.19759-1-sinthu.raja@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BESS-ID: 1668527446-304522-5431-3580-1 X-BESS-VER: 2019.1_20221114.2026 X-BESS-Apparent-Source-IP: 209.85.210.199 X-BESS-Outbound-Spam-Score: 0.40 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.244167 [from cloudscan20-140.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.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=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 From: Sinthu Raja AM68 Starter Kit (SK)[1] 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. 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..e282eaafcbd5 --- /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) 2022 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