Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3089396pxb; Sun, 26 Sep 2021 05:06:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoVq2eypHEWF8R3pfLGGdMEo/RqPGO1NewkZCWMBr0nEUCjseT/7CdHzY7LhvRDOQa324z X-Received: by 2002:a62:1857:0:b0:44a:e385:a8fe with SMTP id 84-20020a621857000000b0044ae385a8femr18080609pfy.3.1632658014825; Sun, 26 Sep 2021 05:06:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632658014; cv=none; d=google.com; s=arc-20160816; b=v3+Xmk893bapnxUAFhQPbqZWjvV27Y8yn8h9Z7bk2B3C0gl1m2guovrM0gVSPNZ8MS FKeF01azsdmHB7JQoFxpFupGxMxRghQn+twvWZdChOOZeLCmAfnGFYME6IujLGa8MzAy z8RDzM1rXJVWpsdYCdU4v3aVDvxvZZRF+ku4zGdrgV/9VZ0TgowchSlnE1inaXj1VvPW gan1YCnszkCNKR4jjkgcLMDnhuPv3B7mxmjFzPnx1fikdTWBh5Q25aEgXNr9BtvJMx8I iqEsY7fpgP1ftJivhq6ft4mD/qaTgY6099ztZdkcPBRKfHbeAgRxKHikTm1Xetwr5NX4 iNgA== 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=Fk5SREXcGiQX8LPuAbBCjfapNszlY0pzWhK5XpaAyV4=; b=LmSmUO+Wf+KUTE8C4a0ZdF2UTC4hu5vodCDARIeDZgz5VAY4kWu58QBiIDdaH0XT4r +Rw5mzq+XbDTKL3lMxo+p3S/GHCJ1l3hjffj9hGbjtGZs+UpqaaSf25aT/pRpOMNJHyb 2+W6vJ2unIHNskGu/Uixiq2Ty9nEK0/eaqDwo5Yx7CtHRbE0Uk5WqM8qVxdwc6iPctdQ xpNvJD+eZM/lycrOmv7DzU2ZqHGtj8hfx1+N1yXje6io9pSRKMKwfC5Ukd2HW5DDzwfk hTD45Aei805SkZNDxMbhFd4F7AEsUgDiZ6YPqtdF0JNzmWlERvY/P8yfyKc8YhEjSIcS EkPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=d+Y7Dp0J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v18si17063453pfi.316.2021.09.26.05.06.42; Sun, 26 Sep 2021 05:06:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=d+Y7Dp0J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=web.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231400AbhIZMHS (ORCPT + 99 others); Sun, 26 Sep 2021 08:07:18 -0400 Received: from mout.web.de ([212.227.17.11]:44273 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231356AbhIZMHP (ORCPT ); Sun, 26 Sep 2021 08:07:15 -0400 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 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:dp14hlKFy54eJnzueDrBM91JLiiueaexsmj7SEdq785kwzfo87g YrdhsftbQU3M8LapCgIjn7rnuaqoJClXsFdFhxtEYKbdBORU6GngX7s0my/2hflrIkzoDy7 mzAuk8j79GoezzJl3AFpW7axXi11eSFncGUpCSYzRV4vrYNdgMrfahRPzqnTUhbvBEMjy55 K5S72M+ZBZI1lA6xUF7Pg== X-Spam-Flag: NO 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= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 =2D-- .../boot/dts/ti/k3-am65-iot2050-common.dtsi | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm= 64/boot/dts/ti/k3-am65-iot2050-common.dtsi index 58c8e64d5885..b29537088289 100644 =2D-- 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 =3D "disabled"; + interrupts =3D <436>; + + mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { + ti,mbox-tx =3D <1 0 0>; + ti,mbox-rx =3D <0 0 0>; + }; }; &mailbox0_cluster1 { - status =3D "disabled"; + interrupts =3D <432>; + + mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { + ti,mbox-tx =3D <1 0 0>; + ti,mbox-rx =3D <0 0 0>; + }; }; &mailbox0_cluster2 { @@ -705,6 +715,18 @@ &mailbox0_cluster11 { status =3D "disabled"; }; +&mcu_r5fss0_core0 { + memory-region =3D <&mcu_r5fss0_core0_dma_memory_region>, + <&mcu_r5fss0_core0_memory_region>; + mboxes =3D <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; +}; + +&mcu_r5fss0_core1 { + memory-region =3D <&mcu_r5fss0_core1_dma_memory_region>, + <&mcu_r5fss0_core1_memory_region>; + mboxes =3D <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; +}; + &icssg0_mdio { status =3D "disabled"; }; =2D- 2.31.1