From patchwork Tue Oct 18 12:38:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sinthu Raja X-Patchwork-Id: 4161 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1952655wrs; Tue, 18 Oct 2022 06:13:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ivqdhC34U+Lo02SanzZ5SJDNfa7lpsCiPrwx6NtudfM8tz+EPOqcsEMGMXOmkTRCP4HiY X-Received: by 2002:a63:20f:0:b0:439:c92f:e6d1 with SMTP id 15-20020a63020f000000b00439c92fe6d1mr2584988pgc.334.1666098792204; Tue, 18 Oct 2022 06:13:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666098792; cv=none; d=google.com; s=arc-20160816; b=BRYdjn0h31uKguzUvTiNfBBwu8ekbmMeJdXB3Z+tU5UTy8fylkh0bFGusbzZiK0j/x db2vzKKkE9+gdSdYpkiKAhMjCKtyClnjcU7O9K3vWNhNuD1VqlPfO3POXPtaExPBbk0Z BPQVqb1qh3XaClGewKJO7rP5GZ4x7HXGjyx1K32+5GMDDzR/PveLG38vb0R8DxrezaqC 9pbiVknQ6ns6VT8tAxyZghyz+96B+dSbHiTKDUAnhfLES4B00/MYS5aksJoX/KODnSYf snsVJiKkrdPjykAZfXWm1lbBB9kxzr21KhyJL4u1sPe60GYHTPZJiXSG5Ig1vQTa37da /2AQ== 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=Uo+ITjhG9HDjqWHd8nAsV6QBhaSqq9cRpHoiwNcyW4A=; b=D4XcPW/PqydWBFP3RN5rG5tOAyQdpo90LuxekwofKX88M6ypN+/2P4n30+Rlpcol4Y BkADVX0nN7p6iO6Xc4NFPwHlYKbCyRaWDEk2uADBSEryX//ldrSXRWGhqm3wxeYZRFOG bBNcnhuJ8ncdek2Sj/996LNKbNS/CtpA205HiAry64mmSrOVa+EcGV4DHsXTv4UYm5JN 3q9tTPnt6tshqD36LtelnbQEblfTqG9gXVhXodNmbxKefGiUg/REpb8GeZpquOdJlZpI BdrQXnWpK2b41NK8QR0d4cgXDLw1xuhTX9xr4MPt2zs6p7DTPlLiumTkB/FC6cV193KO rVUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mistralsolutions.com header.s=google header.b=GDrWWocz; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t20-20020a056a00139400b0052ea6666960si16032845pfg.337.2022.10.18.06.12.38; Tue, 18 Oct 2022 06:13:12 -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=@mistralsolutions.com header.s=google header.b=GDrWWocz; 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 S230030AbiJRNJU (ORCPT + 99 others); Tue, 18 Oct 2022 09:09:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229841AbiJRNJT (ORCPT ); Tue, 18 Oct 2022 09:09:19 -0400 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 A930FC7060 for ; Tue, 18 Oct 2022 06:08:42 -0700 (PDT) Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by mx-outbound21-93.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 18 Oct 2022 13:08:37 +0000 Received: by mail-qk1-f197.google.com with SMTP id o13-20020a05620a2a0d00b006cf9085682dso12111412qkp.7 for ; Tue, 18 Oct 2022 06:08:37 -0700 (PDT) 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=Uo+ITjhG9HDjqWHd8nAsV6QBhaSqq9cRpHoiwNcyW4A=; b=GDrWWocz25yGPOiU4gqn2W3P8RmJp4bJNXQAB2DWSHeMURx4Y28M2hjdlpKnVmiN6X Ho6ST12/VQa2ARfdV0M7LcWqMsOih8GEnMFnFSAiyvKKO2flJAhJ4fugnmAcxXbWUCKE rda7hbX4qmki3JQwilEsR9AMPigZ/TGYClPjg= 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=Uo+ITjhG9HDjqWHd8nAsV6QBhaSqq9cRpHoiwNcyW4A=; b=jVDHjXoNZr1s7aYqelTuH2UfVens7V8btPuPGQIAMtU//lSrokNX6hPCU57TQxl9ss c3DDAsNMVMtGOcvWCofRh2TNvFXjxlWiNmD2zYhlq4hjDurWRGvQbHOGxlaMv0HO5QzR woAu/2qT2rkQEhIf75ce14bYIxxf2OGbO6F+goiIOzvkkbo8dLKlRIWn9ybeM8TMKDFd +JuPWkPkveYynVFymLpbYRTv4SAitHmD7g5SlmB5ABcUJauq1N9l5m61EUWtSbwZQzWv 2DMgQTBOJZT4ow9x5AKIOT3Zxh5M3KBr0RuEMQt9BX7ZV5SNaCjRQ9St+gSh1NT9CqNk AwOQ== X-Gm-Message-State: ACrzQf1y/2DRA8u7JUxP7QL3u8/T8WNBr4ZSj1688k7f6MxLABnsg6xl AC1qs74ranjOZiBf8+PiO3/Wg1uQd50PtJ9w4Mv2B+RwqSZFhRzXKUeY3aIVH3PieZKlWrxYD0R QTCJJVelFZN9JUYPPMosC+GX5sqx4yJUu/pREdkE+wVMfrApSFs7sFEz4QBI6 X-Received: by 2002:a17:902:be18:b0:178:b9c9:97b8 with SMTP id r24-20020a170902be1800b00178b9c997b8mr2766072pls.38.1666097110369; Tue, 18 Oct 2022 05:45:10 -0700 (PDT) X-Received: by 2002:a17:902:be18:b0:178:b9c9:97b8 with SMTP id r24-20020a170902be1800b00178b9c997b8mr2766048pls.38.1666097110071; Tue, 18 Oct 2022 05:45:10 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:330a:c5d2:e90c:db79:45c8:3513]) by smtp.gmail.com with ESMTPSA id a17-20020a621a11000000b00563ce1905f4sm9110102pfa.5.2022.10.18.05.45.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 05:45:09 -0700 (PDT) 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 2/3] arm64: dts: ti: Add initial support for AM68 SK System on Module Date: Tue, 18 Oct 2022 18:08:48 +0530 Message-Id: <20221018123849.23695-3-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20221018123849.23695-1-sinthu.raja@ti.com> References: <20221018123849.23695-1-sinthu.raja@ti.com> MIME-Version: 1.0 X-BESS-ID: 1666098517-305469-5652-12520-1 X-BESS-VER: 2019.1_20221004.2324 X-BESS-Apparent-Source-IP: 209.85.222.197 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.243545 [from cloudscan8-153.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.00 BSF_BESS_OUTBOUND META: BESS Outbound X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_SC0_MISMATCH_TO, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747031068064002114?= X-GMAIL-MSGID: =?utf-8?q?1747031207371778667?= 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 --- arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi | 129 +++++++++++++++++++++ 1 file changed, 129 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..734c13eb0490 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi @@ -0,0 +1,129 @@ +// 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; + }; + + }; + +}; + +&mailbox0_cluster0 { + status = "disabled"; +}; + +&mailbox0_cluster1 { + status = "disabled"; +}; + +&mailbox0_cluster2 { + status = "disabled"; +}; + +&mailbox0_cluster3 { + status = "disabled"; +}; + +&mailbox0_cluster4 { + status = "disabled"; +}; + +&mailbox0_cluster5 { + status = "disabled"; +}; + +&mailbox0_cluster6 { + status = "disabled"; +}; + +&mailbox0_cluster7 { + status = "disabled"; +}; + +&mailbox0_cluster8 { + status = "disabled"; +}; + +&mailbox0_cluster9 { + status = "disabled"; +}; + +&mailbox0_cluster10 { + status = "disabled"; +}; + +&mailbox0_cluster11 { + status = "disabled"; +}; + +&mailbox1_cluster0 { + status = "disabled"; +}; + +&mailbox1_cluster1 { + status = "disabled"; +}; + +&mailbox1_cluster2 { + status = "disabled"; +}; + +&mailbox1_cluster3 { + status = "disabled"; +}; + +&mailbox1_cluster4 { + status = "disabled"; +}; + +&mailbox1_cluster5 { + status = "disabled"; +}; + +&mailbox1_cluster6 { + status = "disabled"; +}; + +&mailbox1_cluster7 { + status = "disabled"; +}; + +&mailbox1_cluster8 { + status = "disabled"; +}; + +&mailbox1_cluster9 { + status = "disabled"; +}; + +&mailbox1_cluster10 { + status = "disabled"; +}; + +&mailbox1_cluster11 { + status = "disabled"; +};