From patchwork Mon Nov 7 12:38:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sinthu Raja X-Patchwork-Id: 16409 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2038271wru; Mon, 7 Nov 2022 05:08:58 -0800 (PST) X-Google-Smtp-Source: AMsMyM772xV9GLeQ03KVB+xuSRa4Kn4OICFnGJ0yLxb2wm3QGCiIj+cnM1eGF41cJ+Kcxj1htkpZ X-Received: by 2002:a05:6402:5406:b0:452:1560:f9d4 with SMTP id ev6-20020a056402540600b004521560f9d4mr50687271edb.333.1667826538479; Mon, 07 Nov 2022 05:08:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667826538; cv=none; d=google.com; s=arc-20160816; b=Koxn4Exfpt7GebUZN/H0l8Q3Tg/9FntdzIwiU6XrhFi9ILCjXurM3t53K9/BhT2Hyd ENLNwDoe4T7WsmX59Gt1nUvYmDtC7JsD4ptmiVy2OqGyQGiVLw8tiLcZI1VyrqbLJI4t HpX0XE+XqEp8N8uHsfbS3ikYXMbQHT+RegzQ8P1uZ52HJXNQu7aDBCsW1P/FG4KmM3kW TcOGLaMYUvTeEkPSil09HK5a0MwxsI9upsxRmIXglZEtPt0PgAeK3rJBUdF+BV2AR+h1 wnXvepZdKIvgUGbGrdwlO4f2OhPEHWKPbGISwPlhuKIBhnldFNmO4g4xNBqQboPSWfwa 21bA== 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=AVRDz2BIo+vmNYU+2ymb0qBib0aSJsJ1LoD/KgL4ZhY=; b=bMBWIhqbwm9wHXCAFZPp7bZz0ZVxMkxy7S4ur05Wb9dfyv1m9eds1EZLDzmjBxDB8p +jC6mVxHYOQfhHcFbhJokJAVsplucpr9SE5Xd5rTp5eCaQVvotO4lUUxRY50ah8qJYvT AsKjGir/KQKb+wXQThw7q+IVthLeoYGgufyfUWaBzIx0srlXx5hyHLyV5gr+NEVFLcJk v70QgXulFY7h+S6nMuERoOkbzFJm3sN4JQBNjWvIuvKCpv0w4OFD5BpSOlgsgD2wdUHT w5D3FREk+gE3oQr0ZPy1U+8g2JlU18yvdva0gqgXKywXyfj5uVkyFs4RYwdREffVJTU9 1row== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mistralsolutions.com header.s=google header.b=oQra8D5u; 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 jv10-20020a170907768a00b007ae286f26b1si6572211ejc.620.2022.11.07.05.08.31; Mon, 07 Nov 2022 05:08:58 -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=oQra8D5u; 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 S232215AbiKGNHa (ORCPT + 99 others); Mon, 7 Nov 2022 08:07:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232207AbiKGNH1 (ORCPT ); Mon, 7 Nov 2022 08:07:27 -0500 Received: from egress-ip4b.ess.de.barracuda.com (egress-ip4b.ess.de.barracuda.com [18.185.115.208]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46D6A1C123 for ; Mon, 7 Nov 2022 05:07:26 -0800 (PST) Received: from mail-ot1-f72.google.com (mail-ot1-f72.google.com [209.85.210.72]) by mx-outbound22-4.eu-central-1b.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 07 Nov 2022 13:07:22 +0000 Received: by mail-ot1-f72.google.com with SMTP id l12-20020a9d6a8c000000b0066c33f1649cso5529874otq.2 for ; Mon, 07 Nov 2022 05:07:23 -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=AVRDz2BIo+vmNYU+2ymb0qBib0aSJsJ1LoD/KgL4ZhY=; b=oQra8D5uHhgvvN7RUxYjCSzUnPqEwxEl9q/kPqap8IDgXiFjM2WftZT8kcl9/4xTZS 75/Z+m6UTUB19KlyQJ8cM7fzGyNPDqB+PRU2vrtrQTNCxc+sZyAP+NIhnkXIaH9nsBwU pvI5KI/ZaLBZdIclGwcG62U6BI6bbUQMdcgrs= 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=AVRDz2BIo+vmNYU+2ymb0qBib0aSJsJ1LoD/KgL4ZhY=; b=O9exsDoE3RQi7iqyHybF1FnhBMK+17+kCFEXCudMKZ7JPAwQ+IIEKMiibcQ0Zd9eZp 72uArVouljM17AvnpzJzV91TTBPG8IqVvV4vWaDUue9Xi5fVopm2/GRjLNI+O7572Euq jiqekAMaXRK9daifvMkQfi5LnaaZPzrZ/Yfa0OL2c5Ywal/TBxHItOvVt5iVJSzXjJmu 0YQZPnO/yEuf0dftnnWOhLpXPlO+spKiDkq2MJSpXXTr6pVMMjEC4urfzwsOKerPi37Q tQ6XH8xp+5yLd86zq2BoSCy3i/qnQI2uwYs5prLce8dWOl9OfA8u/BY7FIK0sHU2BWae jgQw== X-Gm-Message-State: ACrzQf2HsQWPgLzpSEscqsOX/cvyhWIKV286CU+lXTEg9KmFH6cbAovD vRWcy/DngI/7m6GXIuqeaLSoCt9z4r82hlDEUtXBVZ0W+/04TRdTSuWk85edmsg8aNKIhNicmsq /vUp/+i4YoUqkSQxeiAIydcNNCW4hwk0TBTvWmaaJMgLDDdQEG8SGEKRDkmcw X-Received: by 2002:a17:90a:a017:b0:213:ad3:4d1a with SMTP id q23-20020a17090aa01700b002130ad34d1amr68063338pjp.120.1667824753852; Mon, 07 Nov 2022 04:39:13 -0800 (PST) X-Received: by 2002:a17:90a:a017:b0:213:ad3:4d1a with SMTP id q23-20020a17090aa01700b002130ad34d1amr68063324pjp.120.1667824753574; Mon, 07 Nov 2022 04:39:13 -0800 (PST) Received: from LAP568U.mistral.in ([106.51.69.35]) by smtp.gmail.com with ESMTPSA id x11-20020aa7956b000000b0056bbba4302dsm4400423pfq.119.2022.11.07.04.39.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 04:39:13 -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 V2 2/3] arm64: dts: ti: Add initial support for AM68 SK System on Module Date: Mon, 7 Nov 2022 18:08:51 +0530 Message-Id: <20221107123852.8063-3-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20221107123852.8063-1-sinthu.raja@ti.com> References: <20221107123852.8063-1-sinthu.raja@ti.com> MIME-Version: 1.0 X-BESS-ID: 1667826442-305636-5386-13613-1 X-BESS-VER: 2019.1_20221024.2147 X-BESS-Apparent-Source-IP: 209.85.210.72 X-BESS-Outbound-Spam-Score: 0.90 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.243991 [from cloudscan11-132.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 0.50 BSF_RULE_7582B META: Custom Rule 7582B X-BESS-Outbound-Spam-Status: SCORE=0.90 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_SC0_MISMATCH_TO, BSF_SC0_SA085b, BSF_BESS_OUTBOUND, BSF_RULE_7582B 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748842880266958788?= X-GMAIL-MSGID: =?utf-8?q?1748842880266958788?= 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 V2: Addressed review comments - dropped the empty lines. V1:https://lore.kernel.org/linux-arm-kernel/20221018123849.23695-3-sinthu.raja@ti.com/ arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi | 127 +++++++++++++++++++++ 1 file changed, 127 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..cb1c58fcd154 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi @@ -0,0 +1,127 @@ +// 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"; +};