From patchwork Sun Sep 26 12:05:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 12518253 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E5DBC433EF for ; Sun, 26 Sep 2021 12:07:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D12A760F4B for ; Sun, 26 Sep 2021 12:07:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D12A760F4B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=web.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bZGPByNvQjMOmvB91NnC1P/lYtwUvM3IzUGO8TemMbw=; b=zxhniXblHYTvHp XIqoZpICS0EBdQ0GlPeyjsI73ek6m1ceNPG6P+w0vi9U5/ljPn9fVRyhbRWSU9M8Ycl819AtpJeBx 3Aefbn7bZl3NXRSpFlUdvoWt+OyI+jmC5luvIH7PX2bEn6iXMnJedW9HA63oJOzlC7zfpBFjU4wu2 PUxsOiTWhl/mca9zPVo104dCFPp0nDVuziFrud2eUPX4c1CWKAkdAf6IySJQOpXjTSMr81WigM0oh Gy7/vNGQGJ6W8F4UmV1ryZVaJ74uUaxWBAN1el3Fk+UyB1EEyBGPA6n/FOfAWEzJylqvHNeZFeget /WKNLxZeK6rlHUlKctrw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUSue-000V5a-Od; Sun, 26 Sep 2021 12:05:44 +0000 Received: from mout.web.de ([212.227.17.11]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUSuT-000V22-0Q for linux-arm-kernel@lists.infradead.org; Sun, 26 Sep 2021 12:05:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=dbaedf251592; t=1632657925; bh=m8VLC/pDV41oz+AGBUYV78PEgpYlctnnA9lRo6HUa8M=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=qKEmqF8c/KFaSANcVTb2+sfXNfQ2kIgVDN/XD+Udw8JDrPAzijRsdSTPFY75HUkkb KNfRNtZt96901B4ys4ECAMzgU+ZFqNBGTsWT+fAG3x/R4ulJGnkDXFNdRLhPiR3Sgt Bm0eIB6Pbe0xTs5bm37LdQOCDA1nDsfqWSxTW9wI= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from md1f2u6c.fritz.box ([94.217.148.121]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M3Bhz-1mo3tK2HZP-00st09; Sun, 26 Sep 2021 14:05:25 +0200 From: Jan Kiszka To: Nishanth Menon , Tero Kristo , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bao Cheng Su , Chao Zeng , Aswath Govindraju Subject: [PATCH v5 1/6] arm64: dts: ti: iot2050: Flip mmc device ordering on Advanced devices Date: Sun, 26 Sep 2021 14:05:12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u6GHuRNTr2lPLG5MDBHkbeD2g Wn1sBexOfIxhLG/39gPp/7qmNZzPbxTocIOwdo2xFOgpYgV1OTVpQMKMhcHQU2ht+U+OOzOna E51ORA32EtC7hINNqHQWGhwGr/pyfPKWWrZiBQYkEl7UEzI9UMF2s4EEb5Fv9tMrQhesmPVpD 7TdGvC9fTMdNiccASQEMHJ6D/zdgSWhAUdrtdJky9xgok04/MUuiGBE7XY8kru2wUYgUYzyzk ehIU29Re4Zr/Jl55RHkdT3gXqHkKbb3f0phD6dXvQIdR5cSGaU9WwHCmKuWPw5FrLRFpJPA4G 00qh3rG+CgqsSR75CmGVMTFhp/1SgXP/7bbfPwAaKAMzPmvT47nhBlBpwlgMBVS+wI+DZgfI3 tMsg4q3Ot3gd1Y= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210926_050533_395200_1D0B2214 X-CRM114-Status: UNSURE ( 8.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Jan Kiszka This ensures that the SD card will remain mmc0 across Basic and Advanced devices, also avoiding surprises for users coming from the downstream kernels. Signed-off-by: Jan Kiszka Acked-by: Aswath Govindraju --- arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) -- 2.31.1 diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi index 1008e9162ba2..6261ca8ee2d8 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi @@ -17,6 +17,8 @@ / { aliases { spi0 = &mcu_spi0; + mmc0 = &sdhci1; + mmc1 = &sdhci0; }; chosen { From patchwork Sun Sep 26 12:05:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 12518257 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29105C433F5 for ; Sun, 26 Sep 2021 12:08:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E271D60462 for ; Sun, 26 Sep 2021 12:08:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E271D60462 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=web.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wwtmyfxF+FSDdr9FQ3tDNqZdSGryWWIQV7ROHkn0xUo=; b=X8OuPQLxX9ZBET fqgQhe60QZiK3ndZXeNct+NrsMWTe4pMNqzqKinm8ZJI3C0RrKT4l/wu8Eo6IFTsrh56Zv81JXfeF 9sx/TRPtu1MmRNgLnxNlBt2y9pAReV5rvuVMXSo3e06uvoKz9hf23kiThbXn6VfBxT1t0wDbHtKRf VTbYXJdG/byHAf3XijhiGQ4lZ2kakR72LmWjBDg7geYzvL/yyL0chYH8XcGWCkP13i9DxS9BP1HQP jKB3lF54OIFPP/8xKjCUIxh+IDpC6SNHLCa99m8nTTVPe6UQcQg+mJW3ekPtmYsTqN5kIQ/qd3ccK vc/1yx13cxhTbduYv+GQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUSur-000V8Z-Fa; Sun, 26 Sep 2021 12:05:57 +0000 Received: from mout.web.de ([212.227.17.12]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUSuR-000V1u-RQ for linux-arm-kernel@lists.infradead.org; Sun, 26 Sep 2021 12:05:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1632657926; bh=JXUBttkyRgrw26wHzfuaQ48olNH5tGrG2ASYsEqtxh4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=KfQTyv40EHE9Uh6Hda6/QggsExhelbiwu5Pj8kNOaQOMby1sTFu1qYWQ1KdLcPSTx dd5+7kdRXZal7AK0KmxYkYqq/17Oeu/IyITQWJGnRJ2/lsDxNITWf3vRQasKDM7XgW IoHcyvD5iTXfuNdGH/blfrO6tW520y9JSMDsBT6A= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from md1f2u6c.fritz.box ([94.217.148.121]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M89mf-1mi1kl0zzN-00vcYN; Sun, 26 Sep 2021 14:05:26 +0200 From: Jan Kiszka To: Nishanth Menon , Tero Kristo , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bao Cheng Su , Chao Zeng , Aswath Govindraju , Suman Anna Subject: [PATCH v5 2/6] arm64: dts: ti: iot2050: Disable SR2.0-only PRUs Date: Sun, 26 Sep 2021 14:05:13 +0200 Message-Id: <189a91866fb1af02e4fd2345dc56774aa069d5ba.1632657917.git.jan.kiszka@web.de> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:OuJOHSOPnIVgBIz5KqP4yrx7lCWJMVrDvX93SSJqr6mRhQlAbMN fJG5hIw5SrxDNWWuydDZ25NZialc7bEaclQK3Ef2OxIaNQALfu6ihL77N1orjhQiG5lGG+5 ou5yNEnIa8GyqDAa9+qh4pjvEDFHoRQLT0bd5AKOJ4PbghmD7u+oz6lbYt5nczjzBAeyTiR sxTAEBbl2R1cqO3JGA7XQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:yhrtHlFDnKc=:qkPD0r5Fau6g+W8OWP3V7D u5vDS5abj/FlcqGgEBdqgsmiVdDX5kTHWCmzeBIN/iCv63cS8ZLMT8uaORi8AlO7NN7COPLvc Ylo8cgwviXcupIpiqWyXTZB312nPRCu7oASp2ZEMXblAyD16EHuu7QBvRVfy2pSnqUlLDdlN/ 5J+yjUmyO3T7BkAYhRfWGXmlfW02T3P5XUysUu5Jo216VPWo4/fqJDemprItOMDpSsWE3PQIN jdCZ9WcFjbGg3dte04MIYcD5HAdOf/c2O/3BYseDEWTZ6NsFWfrgNf5EYDaZ5jukDlOagdMVG myFLqYZbMLql5fbU0Z+H4WYO1YQrXHhxPdBy6E1jSV4q093LIl+VmVHY1/9BfXBoVEhPngW1S mIAlu7KKXxfcKYa+4oBVq08KGOP9joH2vIv0C+2HkaL9hXNI+4/CXseYHYaSs4um1Mya3bgsk 1REBe/YkyL88kdKP3ki0KxSJtiee4BiZjm+ncwlUzIYphlnrvtk6VA0ZlCF/yctfSikhCsUBr ivYkmyRb6qB7aXfA6AYKhUQxlkGkPgEe1Z1GD5qb8REoK0TdGpo76cL5i+AX7wxwkbFem8HoV d5FEGwoGO3ZlpjeBrr1StpDaQ0XX/XEuBIWdNMKz3dfPfjngwXz1PJsGj8HyGKdnSJmrpFZYp QPF3GMLM0Cm3baLlK8kol3cx8Xt97yGIArrKE5OUoG2io7I+MjEd2Fu8kMgeOxo6kQrx1YDXW GPcqIX/Mv/0UA5EOECXIP0wd5NGhBdyxDZMMKEb+pLXbH287ZSOsRM/jmk269o9+xohq2tSbc 6DDZcurDEXX/5MMIqAtBLRAkYO+1Cjpd0A5alHbyaCGxRC2LK9T08G3hQBjkI8vlSX6fQDKEe EfcxG0KUEc6CsIBlPBoqJq34YuFuVpShMQxyneNvtt3MOvHFJl4kuvB8pkk5Ekv3dFLA8dWrZ HOuGkb9ij+l11s/Ps9ZOuT7JibVmJxAtpM4mPIISSiWL+lXoCnoUv6nIOT3NLqzLOu6Fw2srQ U9mBRWPn36IMzWnEg7c7m/kmtOOG6AK/VLdEtNq44aMfTvQcJnLNUwQg1tSbnbTxqazEkx1BY OMOXVHSWbxKmH4= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210926_050532_205956_62C6F4A6 X-CRM114-Status: UNSURE ( 6.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Jan Kiszka The IOT2050 devices described so far are using SR1.0 silicon, thus do not have the additional PRUs of the ICSSG of the SR2.0. Disable them. Signed-off-by: Jan Kiszka Acked-by: Aswath Govindraju Acked-by: Suman Anna --- .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.31.1 diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi index 6261ca8ee2d8..58c8e64d5885 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi @@ -716,3 +716,27 @@ &icssg1_mdio { &icssg2_mdio { status = "disabled"; }; + +&tx_pru0_0 { + status = "disabled"; +}; + +&tx_pru0_1 { + status = "disabled"; +}; + +&tx_pru1_0 { + status = "disabled"; +}; + +&tx_pru1_1 { + status = "disabled"; +}; + +&tx_pru2_0 { + status = "disabled"; +}; + +&tx_pru2_1 { + status = "disabled"; +}; From patchwork Sun Sep 26 12:05:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 12518259 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59B1AC433EF for ; Sun, 26 Sep 2021 12:08:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2BB5D60E94 for ; Sun, 26 Sep 2021 12:08:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2BB5D60E94 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=web.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+4WOAPgDLVat1KbC6W0gzXy1K4loLmup2leuDIKDTx8=; b=gdkSV1u7Ue8nhO WCQ7rt05oZrpjqL0ZXWD9HSAeT+sCT4/I32BM/L8+4XrC+A5obhG8MKcgdRrpoqOFJyVQWqRMTvKQ KyANwGH4xpFqlxshbOR6+FIsS2Ily66kSTRBFcGvCbYjoQkuuB+9Zeer2j3ZXphFs/mfsom03HNPU M0JKmFRZ9KtnxmmETIJoHgl2j/5GC8X3U1aSNXQsQdqXbs8UJJNPh3sU1+lojlQk4lLD7pBiLR/u0 Z8NtLoaEavK1W76j0A0j3RSl5lPI+n6RO9++VBKCiKY5DJ1mTF2aevoWh/wRSwCV/WT+kDen+B3RU hGX18W62wVZaTrNziDYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUSvE-000VDJ-RL; Sun, 26 Sep 2021 12:06:21 +0000 Received: from mout.web.de ([212.227.17.11]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUSuT-000V21-0T for linux-arm-kernel@lists.infradead.org; Sun, 26 Sep 2021 12:05:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=dbaedf251592; t=1632657927; bh=Fk5SREXcGiQX8LPuAbBCjfapNszlY0pzWhK5XpaAyV4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=d+Y7Dp0J7fsXTDyyNvcxHZCy/jrs90VAqiDFAouMHf1OSjiajrdy+MjMokRS9RX5a FqmwNivVF946lnn9NLfYthnc1uguQE2iEKHgIiTi/tYy2oqsFVfVUQTTFOBKzvywH7 33n8BwzfGy7xWVq7iJcTgwuovNpKwzskDJTXvbV0= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from md1f2u6c.fritz.box ([94.217.148.121]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Ljaei-1n60eU3Owq-00bcrq; Sun, 26 Sep 2021 14:05:26 +0200 From: Jan Kiszka To: Nishanth Menon , Tero Kristo , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bao Cheng Su , Chao Zeng , Suman Anna Subject: [PATCH v5 3/6] arm64: dts: ti: iot2050: Add/enabled mailboxes and carve-outs for R5F cores Date: Sun, 26 Sep 2021 14:05:14 +0200 Message-Id: <1776f8be19b39a938d9248fcfc5332b753783c3e.1632657917.git.jan.kiszka@web.de> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:dp14hlKFy54eJnzueDrBM91JLiiueaexsmj7SEdq785kwzfo87g YrdhsftbQU3M8LapCgIjn7rnuaqoJClXsFdFhxtEYKbdBORU6GngX7s0my/2hflrIkzoDy7 mzAuk8j79GoezzJl3AFpW7axXi11eSFncGUpCSYzRV4vrYNdgMrfahRPzqnTUhbvBEMjy55 K5S72M+ZBZI1lA6xUF7Pg== X-UI-Out-Filterresults: notjunk:1;V03:K0:r1sMIBbw0Y8=:9Xk1/WrB/p7m2ExHScKzgc Xmh3Fz+qDcx60IKALHFycQwCDd06kn0+jhkp9SE3s1otw5/25PaB4RwGToL57AZk1GPiS/oFT JGVAmiUBw4iHKEbwssm/mo3QUIjQhacpaD/INA0IZcajeGu7ISrSnG8t+D+WEZbJpv/YGUAps //EEA8f7HLM7EMBv9abQF8bgc0TaPrTkTzYfVvG5SzdszVih1UccndonTFwq3INt7j/1my0eN H7kxHtfeu3XaS+sulwKpZPKo7DL5PH8r80G4GapJDbeK/Bjpeg8dWNKAl6wlJRTAtpwuXcrT5 oVOnjQUf84yA2xw5p+Djlt2jd4tAc73tr9b+uxxB/s+1bmZUPlBZ2XacBV6L+l2zCl6DcHB4m 1FS5dD3T5sauWcY/NQfGqltYv62bcMrzTjRYH8jbYYmPyJGJJn9g+DUzQIOVCadnxMOFUN17L Rj/i6raNPt+ngaWj9VVZGl8uMB2J/3JN4Q4PKKa+nIvkDqi1eO0kbVMuaCGQEQgHXzt6+P+Dg y0d30KQcWAXUVi+i43i3gL+QwfeM487IpxPxlDsiVsOYLwXuTuzu3DwlE8fumkemdpZaOHoPU eqn++67EemPsAF3n7BN6A9/bpRjU6fEg1a9GnmBE8FnQKi1g36/q334GKsrNFweYlgQvR1zSS Xor5KamgQEYVZ0LUqKph19mO/UxRzYVU80MqyQacAnTASNOiwpElJNO7dIYkJhY9CWYZhjGoR vXTuKt3wYTuIakojMyZGr7QbV9lRKTpEv1Trv3GLgW2Du4icJ3TqOJutl9NQbC+QhrAdjjawe MoOQofQAZofc+nvW/UVXPsRhAm75ynwnoo75eMLaKAUIj/5vFwIlScoesmgkWoEtcXekW0ipV eyM2M+IFF3Kfgp4eAaS/wxVIWWzrLCUdkTKkupBNspdjxi0iecXKEqnnnZM43a10CrV5TS2Ns +zBhQhR5zWam2kyHaCgdvcg8YKR0zQlWc+QfJ5RaClWIW+Z3WoMe4F+7+9yIEywwB1st9oBzI bPiaATn3CO+zEBNdeBG6MdaPTe+ulcut4ARFwZl9Q9KCzuKPf//itknG2S78MBbvH+h+t6Q0J Vlj6AZnvnl1Xf4= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210926_050533_456723_E7E8982E X-CRM114-Status: UNSURE ( 8.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Jan Kiszka Analogously to the am654-base-board, configure the mailboxes for the two R5F cores, add them and the already existing memory carve-outs to the related MCU nodes. Allows to load applications under Linux onto the cores, e.g. the RTI watchdog firmware. Signed-off-by: Jan Kiszka Reviewed-by: Suman Anna --- .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) -- 2.31.1 diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi index 58c8e64d5885..b29537088289 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi @@ -658,11 +658,21 @@ &pcie1_ep { }; &mailbox0_cluster0 { - status = "disabled"; + interrupts = <436>; + + mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { + ti,mbox-tx = <1 0 0>; + ti,mbox-rx = <0 0 0>; + }; }; &mailbox0_cluster1 { - status = "disabled"; + interrupts = <432>; + + mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { + ti,mbox-tx = <1 0 0>; + ti,mbox-rx = <0 0 0>; + }; }; &mailbox0_cluster2 { @@ -705,6 +715,18 @@ &mailbox0_cluster11 { status = "disabled"; }; +&mcu_r5fss0_core0 { + memory-region = <&mcu_r5fss0_core0_dma_memory_region>, + <&mcu_r5fss0_core0_memory_region>; + mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; +}; + +&mcu_r5fss0_core1 { + memory-region = <&mcu_r5fss0_core1_dma_memory_region>, + <&mcu_r5fss0_core1_memory_region>; + mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; +}; + &icssg0_mdio { status = "disabled"; }; From patchwork Sun Sep 26 12:05:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 12518255 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FA88C433EF for ; Sun, 26 Sep 2021 12:08:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DAFFC60F45 for ; Sun, 26 Sep 2021 12:08:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DAFFC60F45 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=web.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ug7Lv1pV5TP/YeocJu2zhSk+JO7LlQk3E4bjOI3jb7c=; b=FQmhkJ5VWVIhSE TpjqDVnGTgrXCvWmJoPuNDeBQirlj3Jh/pWaXBIyrJmNR7Y6nNgRcfSJ61UGkC2Xj+dEq4P24A2rK 9XRUSm34W0WTpd1V+Ghejq6Laf9iJ+ZguTplT8bOg6sa08V32x6FJ3Jdf3hlmQFrw9+/eBCo7bT7v YMk5uXMqUiqbkb/1uG9/ql0/bIcW92ufUii2yqo9ZFDHLIVr3JdbhdNIbpTUQJXEAr0t609RQy5P9 KRNnh2RHG7hspbhfcrbl1GkkH2JVDNa4l1U2XlhLvbQPoPelQ4xEn0kyv5/OluaEYOyivobu7REKT Tmw0y70tIdmGNdydtjTA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUSv2-000VAr-Sy; Sun, 26 Sep 2021 12:06:09 +0000 Received: from mout.web.de ([212.227.17.11]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUSuT-000V23-0Q for linux-arm-kernel@lists.infradead.org; Sun, 26 Sep 2021 12:05:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=dbaedf251592; t=1632657927; bh=UwZB5p+aswQCHV5PRna/g5xryO8PKdHK/H/+WUl4CH4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=lvsfcJ2VmSBUSTPLD0fj2O8fTTnjViAuf3AsSpO4ueybTOUhi2RnW1TooBJiQDfnU pRSLN535Q2CDrD/wGDB/L7vu0G65eLWYGvHEmuG5hWx6pVmiHRuAFZRuxRjjlWuxbN MMD5IHHvWod0c42YWH8PXTuPfRn82koMaD5kKzLc= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from md1f2u6c.fritz.box ([94.217.148.121]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MQ6PP-1mQuH61WuB-005JBJ; Sun, 26 Sep 2021 14:05:27 +0200 From: Jan Kiszka To: Nishanth Menon , Tero Kristo , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bao Cheng Su , Chao Zeng , Rob Herring Subject: [PATCH v5 4/6] dt-bindings: arm: ti: Add bindings for Siemens IOT2050 PG2 boards Date: Sun, 26 Sep 2021 14:05:15 +0200 Message-Id: <5d99e69ff1e2fb78f51f03c351eff1fe1f6c3a71.1632657917.git.jan.kiszka@web.de> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:cuCn6QPm+/uJ0FLCIAOg3wk98JpE3ypSUngzzKY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InKlEdc9kOJWDlRAZO1eNCBgUWWXHytC4xS0WV23Vpmklimva4bfbeT a1vXnc6MjmMqbxU3WipSCTCba76GTb0L9RhzF/sJFyuVq9JWoZ1Z0jrlh0CtaLHSD0Aim9JG0 bK+giE5R9uYe69S44k8I/3/3c2I8LKkJ4n9MzE4ytkBd8p0pravKn79G5xJtlyoAnJQ3t67Q1 f6n9lKaa962oj5pFwOQ7WjHv8Nx4Fkg503gtqZ02o3225cZRgLeOVK8PgN2/Evoed0kLH8flI ZM9uLjmo8XZo00= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210926_050533_423165_F672CA5D X-CRM114-Status: UNSURE ( 6.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Jan Kiszka Product Generation 2 (PG2) boards are based on SR2.x SoCs and will be released soon. Signed-off-by: Jan Kiszka Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/ti/k3.yaml | 2 ++ 1 file changed, 2 insertions(+) -- 2.31.1 diff --git a/Documentation/devicetree/bindings/arm/ti/k3.yaml b/Documentation/devicetree/bindings/arm/ti/k3.yaml index c5aa362e4026..ccde4a0d7b46 100644 --- a/Documentation/devicetree/bindings/arm/ti/k3.yaml +++ b/Documentation/devicetree/bindings/arm/ti/k3.yaml @@ -24,7 +24,9 @@ properties: - enum: - ti,am654-evm - siemens,iot2050-basic + - siemens,iot2050-basic-pg2 - siemens,iot2050-advanced + - siemens,iot2050-advanced-pg2 - const: ti,am654 - description: K3 J721E SoC From patchwork Sun Sep 26 12:05:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 12518263 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8215C433EF for ; Sun, 26 Sep 2021 12:08:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9DF1E60462 for ; Sun, 26 Sep 2021 12:08:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9DF1E60462 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=web.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zQgWybqQuDWbJHL4F9JOHQQrzpJ10FuKDIiCPxtgZak=; b=LVAaM/WzTlH1Q1 NeJwMgPZzLeqTMPyCrdUmfLmtS/bcUVKZDGu7RKCo6MrKfOErcHhscG8DXLTpHHuCRUnb1UR0tysS GYZmMqIv2Et08shFpKR21TOBxxms7dykosMdC+S/UC4cqnBWzkH6HY3JbfwIXJhYQLG8YYTQ0/RWA cDv6wVGJ0pAdfAdFgo/z0MSSOvWvhdrK+S22iP66oXPHwb0dKsPIwpfRuJGbQ9DYjssNNcAzeSZsq uQX12D2BEyAHh3CzYr8fcWfXfk8ckYXPf6Cio6gFr8OBzTtQTujXhssWxGf/BuZlklfHrA4pzxHap dynURSqjTg5cuWj8f9kg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUSvf-000VM4-0E; Sun, 26 Sep 2021 12:06:47 +0000 Received: from mout.web.de ([212.227.17.11]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUSuT-000V24-0T for linux-arm-kernel@lists.infradead.org; Sun, 26 Sep 2021 12:05:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=dbaedf251592; t=1632657928; bh=+vHOWrkPb1sSZ91BYj3MQjUGez3FIoNWvLTaLDtzVUM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=YmBY3GlrKZY01zBtdqkFi7aMax0BMy4RhMUU5vt3OdY1IG05D/s9T04dxNE10sPS5 B7rAzdhl0anUPdHEZQFg21TKVKgJNoPfR9WV4l7fayII4Z6SYSebJo94FZ0RdDl3Uc hBp3f7QfdV1mThV49Cfa6qSrYtLdw3FWuzphSQf4= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from md1f2u6c.fritz.box ([94.217.148.121]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M3Bhz-1mo3tI48Nr-00st09; Sun, 26 Sep 2021 14:05:28 +0200 From: Jan Kiszka To: Nishanth Menon , Tero Kristo , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bao Cheng Su , Chao Zeng Subject: [PATCH v5 5/6] arm64: dts: ti: iot2050: Prepare for adding 2nd-generation boards Date: Sun, 26 Sep 2021 14:05:16 +0200 Message-Id: <31fece05f9728a852c0632985c4fa537cced4ece.1632657917.git.jan.kiszka@web.de> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.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Qg7ZJBhanQgBX8RHgGdmohf5QT/z+SwIbrcr tk5QhhMYZhogK2jrFcWC+tIKJvpmtzobW34x8HAVfcqi3Nm86JD6Rhelwe/JNMevwhzPa2llM QODkTN9WteVUxT4JNc03BKykNuxkh+y11XEZB2IjHTKBHSHMXrGs/SkPwzYU5EXTG0tlYkukZ MDRAYExdddWt9wZg8K/FpLhftgyDouCVUSM7LGLgnL8Tct8EgqXrOPkoalA2zR4gJCLF+y+p6 x7ecHJHr+dyQo81o0kKQavPBOyTvFtEnO/Sc2p5trgCUT+fRao/NwRNg5UwSbT53Jt0GG2e8A bfCm68DVkY3cvs= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210926_050533_454942_4367C759 X-CRM114-Status: GOOD ( 14.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Jan Kiszka The current IOT2050 devices are Product Generation 1 (PG1), using SR1.0 AM65x silicon. Upcoming PG2 devices will use SR2.x SoCs and will therefore need separate device trees. Prepare for that by factoring out common bits that will be shared across both generations. At this chance, drop a link to the product homepage to in the top-level dts files. Also fix a typo in my email address in some headers. Signed-off-by: Jan Kiszka --- .../dts/ti/k3-am65-iot2050-common-pg1.dtsi | 46 +++++++++++++++ .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 35 +----------- ...ts => k3-am6528-iot2050-basic-common.dtsi} | 12 +--- .../boot/dts/ti/k3-am6528-iot2050-basic.dts | 56 +++---------------- ...=> k3-am6548-iot2050-advanced-common.dtsi} | 8 +-- .../dts/ti/k3-am6548-iot2050-advanced.dts | 50 +++-------------- 6 files changed, 67 insertions(+), 140 deletions(-) create mode 100644 arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg1.dtsi copy arch/arm64/boot/dts/ti/{k3-am6528-iot2050-basic.dts => k3-am6528-iot2050-basic-common.dtsi} (80%) copy arch/arm64/boot/dts/ti/{k3-am6548-iot2050-advanced.dts => k3-am6548-iot2050-advanced-common.dtsi} (85%) -- 2.31.1 diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg1.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg1.dtsi new file mode 100644 index 000000000000..51f902fa35a7 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg1.dtsi @@ -0,0 +1,46 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) Siemens AG, 2021 + * + * Authors: + * Jan Kiszka + * + * Common bits of the IOT2050 Basic and Advanced variants, PG1 + */ + +&dss { + assigned-clocks = <&k3_clks 67 2>; + assigned-clock-parents = <&k3_clks 67 5>; +}; + +&serdes0 { + status = "disabled"; +}; + +&sdhci1 { + no-1-8-v; +}; + +&tx_pru0_0 { + status = "disabled"; +}; + +&tx_pru0_1 { + status = "disabled"; +}; + +&tx_pru1_0 { + status = "disabled"; +}; + +&tx_pru1_1 { + status = "disabled"; +}; + +&tx_pru2_0 { + status = "disabled"; +}; + +&tx_pru2_1 { + status = "disabled"; +}; diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi index b29537088289..65da226847f4 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi @@ -4,13 +4,11 @@ * * Authors: * Le Jin - * Jan Kiszka + * Jan Kiszka * - * Common bits of the IOT2050 Basic and Advanced variants + * Common bits of the IOT2050 Basic and Advanced variants, PG1 and PG2 */ -/dts-v1/; - #include "k3-am654.dtsi" #include @@ -557,7 +555,6 @@ &sdhci1 { pinctrl-0 = <&main_mmc1_pins_default>; ti,driver-strength-ohm = <50>; disable-wp; - no-1-8-v; }; &usb0 { @@ -631,10 +628,6 @@ dpi_out: endpoint { }; }; -&serdes0 { - status = "disabled"; -}; - &pcie0_rc { status = "disabled"; }; @@ -738,27 +731,3 @@ &icssg1_mdio { &icssg2_mdio { status = "disabled"; }; - -&tx_pru0_0 { - status = "disabled"; -}; - -&tx_pru0_1 { - status = "disabled"; -}; - -&tx_pru1_0 { - status = "disabled"; -}; - -&tx_pru1_1 { - status = "disabled"; -}; - -&tx_pru2_0 { - status = "disabled"; -}; - -&tx_pru2_1 { - status = "disabled"; -}; diff --git a/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts b/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic-common.dtsi similarity index 80% copy from arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts copy to arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic-common.dtsi index 94bb5dd39122..4a9bf7d7c07d 100644 --- a/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts +++ b/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic-common.dtsi @@ -4,20 +4,14 @@ * * Authors: * Le Jin - * Jan Kiszka + * Jan Kiszka * - * AM6528-based (dual-core) IOT2050 Basic variant - * 1 GB RAM, no eMMC, main_uart0 on connector X30 + * Common bits of the IOT2050 Basic variant, PG1 and PG2 */ -/dts-v1/; - #include "k3-am65-iot2050-common.dtsi" / { - compatible = "siemens,iot2050-basic", "ti,am654"; - model = "SIMATIC IOT2050 Basic"; - memory@80000000 { device_type = "memory"; /* 1G RAM */ @@ -61,6 +55,6 @@ &main_uart0 { }; &mcu_r5fss0 { - /* lock-step mode not supported on this board */ + /* lock-step mode not supported on Basic boards */ ti,cluster-mode = <0>; }; diff --git a/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts b/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts index 94bb5dd39122..87928ff28214 100644 --- a/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts +++ b/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic.dts @@ -4,63 +4,21 @@ * * Authors: * Le Jin - * Jan Kiszka + * Jan Kiszka * - * AM6528-based (dual-core) IOT2050 Basic variant + * AM6528-based (dual-core) IOT2050 Basic variant, Product Generation 1 * 1 GB RAM, no eMMC, main_uart0 on connector X30 + * + * Product homepage: + * https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html */ /dts-v1/; -#include "k3-am65-iot2050-common.dtsi" +#include "k3-am6528-iot2050-basic-common.dtsi" +#include "k3-am65-iot2050-common-pg1.dtsi" / { compatible = "siemens,iot2050-basic", "ti,am654"; model = "SIMATIC IOT2050 Basic"; - - memory@80000000 { - device_type = "memory"; - /* 1G RAM */ - reg = <0x00000000 0x80000000 0x00000000 0x40000000>; - }; - - cpus { - cpu-map { - /delete-node/ cluster1; - }; - /delete-node/ cpu@100; - /delete-node/ cpu@101; - }; - - /delete-node/ l2-cache1; -}; - -/* eMMC */ -&sdhci0 { - status = "disabled"; -}; - -&main_pmx0 { - main_uart0_pins_default: main-uart0-pins-default { - pinctrl-single,pins = < - AM65X_IOPAD(0x01e4, PIN_INPUT, 0) /* (AF11) UART0_RXD */ - AM65X_IOPAD(0x01e8, PIN_OUTPUT, 0) /* (AE11) UART0_TXD */ - AM65X_IOPAD(0x01ec, PIN_INPUT, 0) /* (AG11) UART0_CTSn */ - AM65X_IOPAD(0x01f0, PIN_OUTPUT, 0) /* (AD11) UART0_RTSn */ - AM65X_IOPAD(0x0188, PIN_INPUT, 1) /* (D25) UART0_DCDn */ - AM65X_IOPAD(0x018c, PIN_INPUT, 1) /* (B26) UART0_DSRn */ - AM65X_IOPAD(0x0190, PIN_OUTPUT, 1) /* (A24) UART0_DTRn */ - AM65X_IOPAD(0x0194, PIN_INPUT, 1) /* (E24) UART0_RIN */ - >; - }; -}; - -&main_uart0 { - pinctrl-names = "default"; - pinctrl-0 = <&main_uart0_pins_default>; -}; - -&mcu_r5fss0 { - /* lock-step mode not supported on this board */ - ti,cluster-mode = <0>; }; diff --git a/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced.dts b/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-common.dtsi similarity index 85% copy from arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced.dts copy to arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-common.dtsi index ec9617c13cdb..d25e8b26187f 100644 --- a/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced.dts +++ b/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-common.dtsi @@ -4,10 +4,9 @@ * * Authors: * Le Jin - * Jan Kiszka + * Jan Kiszka * - * AM6548-based (quad-core) IOT2050 Advanced variant - * 2 GB RAM, 16 GB eMMC, USB-serial converter on connector X30 + * Common bits of the IOT2050 Advanced variant, PG1 and PG2 */ /dts-v1/; @@ -15,9 +14,6 @@ #include "k3-am65-iot2050-common.dtsi" / { - compatible = "siemens,iot2050-advanced", "ti,am654"; - model = "SIMATIC IOT2050 Advanced"; - memory@80000000 { device_type = "memory"; /* 2G RAM */ diff --git a/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced.dts b/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced.dts index ec9617c13cdb..077f165bdc68 100644 --- a/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced.dts +++ b/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced.dts @@ -4,57 +4,21 @@ * * Authors: * Le Jin - * Jan Kiszka + * Jan Kiszka * - * AM6548-based (quad-core) IOT2050 Advanced variant + * AM6548-based (quad-core) IOT2050 Advanced variant, Product Generation 1 * 2 GB RAM, 16 GB eMMC, USB-serial converter on connector X30 + * + * Product homepage: + * https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html */ /dts-v1/; -#include "k3-am65-iot2050-common.dtsi" +#include "k3-am6548-iot2050-advanced-common.dtsi" +#include "k3-am65-iot2050-common-pg1.dtsi" / { compatible = "siemens,iot2050-advanced", "ti,am654"; model = "SIMATIC IOT2050 Advanced"; - - memory@80000000 { - device_type = "memory"; - /* 2G RAM */ - reg = <0x00000000 0x80000000 0x00000000 0x80000000>; - }; -}; - -&main_pmx0 { - main_mmc0_pins_default: main-mmc0-pins-default { - pinctrl-single,pins = < - AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0) /* (B25) MMC0_CLK */ - AM65X_IOPAD(0x01ac, PIN_INPUT_PULLUP, 0) /* (B27) MMC0_CMD */ - AM65X_IOPAD(0x01a4, PIN_INPUT_PULLUP, 0) /* (A26) MMC0_DAT0 */ - AM65X_IOPAD(0x01a0, PIN_INPUT_PULLUP, 0) /* (E25) MMC0_DAT1 */ - AM65X_IOPAD(0x019c, PIN_INPUT_PULLUP, 0) /* (C26) MMC0_DAT2 */ - AM65X_IOPAD(0x0198, PIN_INPUT_PULLUP, 0) /* (A25) MMC0_DAT3 */ - AM65X_IOPAD(0x0194, PIN_INPUT_PULLUP, 0) /* (E24) MMC0_DAT4 */ - AM65X_IOPAD(0x0190, PIN_INPUT_PULLUP, 0) /* (A24) MMC0_DAT5 */ - AM65X_IOPAD(0x018c, PIN_INPUT_PULLUP, 0) /* (B26) MMC0_DAT6 */ - AM65X_IOPAD(0x0188, PIN_INPUT_PULLUP, 0) /* (D25) MMC0_DAT7 */ - AM65X_IOPAD(0x01b8, PIN_OUTPUT_PULLUP, 7) /* (B23) MMC0_SDWP */ - AM65X_IOPAD(0x01b4, PIN_INPUT_PULLUP, 0) /* (A23) MMC0_SDCD */ - AM65X_IOPAD(0x01b0, PIN_INPUT, 0) /* (C25) MMC0_DS */ - >; - }; -}; - -/* eMMC */ -&sdhci0 { - pinctrl-names = "default"; - pinctrl-0 = <&main_mmc0_pins_default>; - bus-width = <8>; - non-removable; - ti,driver-strength-ohm = <50>; - disable-wp; -}; - -&main_uart0 { - status = "disabled"; }; From patchwork Sun Sep 26 12:05:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 12518261 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8886C433F5 for ; Sun, 26 Sep 2021 12:08:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 89E3360462 for ; Sun, 26 Sep 2021 12:08:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 89E3360462 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=web.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=scnx+UrLo6PwZQo9pO8Pvjl3LAdB2NDXdc1BNHQ3RW0=; b=4Ycb4aRv5npISP RoVrnOAUL5XabBiaG2wx0NXIryn1nQ4r8AKkJ7z2uVO66jJ5Uc4pYGf5rIfZ19prAEPIx/ap4mBvA BptJbjsucisUSS/Kdac7pm5BrMfvt9fJcftMjm1YW6gLJaYCDWqO63/Ao/1svnr0ArG57KdnQbzra SF8cH8smJEzl4bQqXr6QjIxzsRNsxDt8R0yZTASvJytrqDbVDEcM8yM5EKV75ZD6ucBKTh92hDeL+ yckq8uSjHJRb65hI4Nh9FuxdZxpk1Yfla8tczuM2oqAt56h5PDrYat6rZbd+QAUEDHs1xPjz7dyrh pB+AnNarcAjMTlYhnZug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUSvR-000VHR-GK; Sun, 26 Sep 2021 12:06:33 +0000 Received: from mout.web.de ([217.72.192.78]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mUSuT-000V2N-UC for linux-arm-kernel@lists.infradead.org; Sun, 26 Sep 2021 12:05:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1632657928; bh=TEEjgedS2noV5Dy6L5x12ddie7wICTatEiDhvSv7+eA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=WucMhGkLO7LECQcJKoYHoxhoHjh5yhWn/HfUbIZ3gyLRAnBYFVWcj1e/P87Haivba JcI+Rgu/HJxbi/fUANKmBlf8RZU/gXDbRihzw/yKbWzUpIHFHZDGDKRHbgXcHzyyQ/ 3XxpL92ujCN/ssKQFRDvZ0SVqvr9TUk4bSNNRZ+A= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from md1f2u6c.fritz.box ([94.217.148.121]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Lo0V2-1n1cw42Ubw-00g0a2; Sun, 26 Sep 2021 14:05:28 +0200 From: Jan Kiszka To: Nishanth Menon , Tero Kristo , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bao Cheng Su , Chao Zeng Subject: [PATCH v5 6/6] arm64: dts: ti: iot2050: Add support for product generation 2 boards Date: Sun, 26 Sep 2021 14:05:17 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-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7ghj8eGqbm0eSCfeT vetjFIaf8uWkAprIBYouB1ZhnbckD3aB9DeT50+htAwKkUgA1fYapAbXWHz/Paabq3VpxbmeO AlryXncHs03CESGtFNV0z/+naVq+h1b0bCilCVE68TAJZL0zah62TCL9Ug03q2x3wcP7I5AMl Zf2qjVp20+hDWZSnU9Puh0DosByCOuDzXasKQ/Ql5b2BKpkHBb09lE2ML6jlCyLllPrKEUs2O HYMpObiK6+QlB4uwSq2uruCVlVbovBusEpzcuzyWxCpe8WoMTZVl9vITtvcO/HCAL8suK0NcS vCOnq8aGxWVzps= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210926_050534_328694_5C73EF92 X-CRM114-Status: GOOD ( 11.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Jan Kiszka This adds the devices trees for IOT2050 Product Generation 2 (PG2) boards. We have Basic and an Advanced variants again, differing in number of cores, RAM size, availability of eMMC and further details. The major difference to PG1 is the used silicon revision (SR2.x on PG2). Signed-off-by: Jan Kiszka --- arch/arm64/boot/dts/ti/Makefile | 2 + .../dts/ti/k3-am65-iot2050-common-pg2.dtsi | 51 +++++++++++++++++++ .../dts/ti/k3-am6528-iot2050-basic-pg2.dts | 24 +++++++++ .../dts/ti/k3-am6548-iot2050-advanced-pg2.dts | 29 +++++++++++ 4 files changed, 106 insertions(+) create mode 100644 arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic-pg2.dts create mode 100644 arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-pg2.dts -- 2.31.1 diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile index d56c742f5a10..41a4bc96e6bd 100644 --- a/arch/arm64/boot/dts/ti/Makefile +++ b/arch/arm64/boot/dts/ti/Makefile @@ -8,7 +8,9 @@ dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board.dtb dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic.dtb +dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic-pg2.dtb dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced.dtb +dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-pg2.dtb dtb-$(CONFIG_ARCH_K3) += k3-j721e-common-proc-board.dtb diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi new file mode 100644 index 000000000000..e73458ca6900 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg2.dtsi @@ -0,0 +1,51 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) Siemens AG, 2021 + * + * Authors: + * Chao Zeng + * Jan Kiszka + * + * Common bits of the IOT2050 Basic and Advanced variants, PG2 + */ + +&main_pmx0 { + cp2102n_reset_pin_default: cp2102n-reset-pin-default { + pinctrl-single,pins = < + /* (AF12) GPIO1_24, used as cp2102 reset */ + AM65X_IOPAD(0x01e0, PIN_OUTPUT, 7) + >; + }; +}; + +&main_gpio1 { + pinctrl-names = "default"; + pinctrl-0 = <&cp2102n_reset_pin_default>; + gpio-line-names = + "", "", "", "", "", "", "", "", "", "", + "", "", "", "", "", "", "", "", "", "", + "", "", "", "", "CP2102N-RESET"; +}; + +&dss { + /* Workaround needed to get DP clock of 154Mhz */ + assigned-clocks = <&k3_clks 67 0>; +}; + +&serdes0 { + assigned-clocks = <&k3_clks 153 4>, <&serdes0 AM654_SERDES_CMU_REFCLK>; + assigned-clock-parents = <&k3_clks 153 7>, <&k3_clks 153 4>; +}; + +&dwc3_0 { + assigned-clock-parents = <&k3_clks 151 4>, /* set REF_CLK to 20MHz i.e. PER0_PLL/48 */ + <&k3_clks 151 8>; /* set PIPE3_TXB_CLK to WIZ8B2M4VSB */ + phys = <&serdes0 PHY_TYPE_USB3 0>; + phy-names = "usb3-phy"; +}; + +&usb0 { + maximum-speed = "super-speed"; + snps,dis-u1-entry-quirk; + snps,dis-u2-entry-quirk; +}; diff --git a/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic-pg2.dts b/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic-pg2.dts new file mode 100644 index 000000000000..c62549a4b436 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic-pg2.dts @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) Siemens AG, 2018-2021 + * + * Authors: + * Le Jin + * Jan Kiszka + * + * AM6528-based (dual-core) IOT2050 Basic variant, Product Generation 2 + * 1 GB RAM, no eMMC, main_uart0 on connector X30 + * + * Product homepage: + * https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html + */ + +/dts-v1/; + +#include "k3-am6528-iot2050-basic-common.dtsi" +#include "k3-am65-iot2050-common-pg2.dtsi" + +/ { + compatible = "siemens,iot2050-basic-pg2", "ti,am654"; + model = "SIMATIC IOT2050 Basic PG2"; +}; diff --git a/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-pg2.dts b/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-pg2.dts new file mode 100644 index 000000000000..f00dc86d01b9 --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-pg2.dts @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) Siemens AG, 2018-2021 + * + * Authors: + * Le Jin + * Jan Kiszka + * + * AM6548-based (quad-core) IOT2050 Advanced variant, Product Generation 2 + * 2 GB RAM, 16 GB eMMC, USB-serial converter on connector X30 + * + * Product homepage: + * https://new.siemens.com/global/en/products/automation/pc-based/iot-gateways/simatic-iot2050.html + */ + +/dts-v1/; + +#include "k3-am6548-iot2050-advanced-common.dtsi" +#include "k3-am65-iot2050-common-pg2.dtsi" + +/ { + compatible = "siemens,iot2050-advanced-pg2", "ti,am654"; + model = "SIMATIC IOT2050 Advanced PG2"; +}; + +&mcu_r5fss0 { + /* lock-step mode not supported on this board */ + ti,cluster-mode = <0>; +};