From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FCF3C433F5 for ; Tue, 21 Sep 2021 15:13:25 +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 E17F260F41 for ; Tue, 21 Sep 2021 15:13:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E17F260F41 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com 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:In-Reply-To:MIME-Version:Date: Message-ID:From:References:CC:To:Subject:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=bqLc8ZhJLSTZAA88Z2e3sp8sqYVD+QE/Uocj+ThVTyU=; b=vjVwHOIZlHrM0cn43M060HL3dr Y2aA21xoE1D+cbGM9ERxnXdv6Apanuj2oNrQJ2lx77Yl3p6ZcJrlDTHxpUA8uYiAfCi2EXXvJt0cI +yyIzziNpKdY1SSVbGQorErzvzhFwRQ+9+0u3x2MOo80zTNfYDT9TJ+sMpchgR8TzdKL/37sk3OHf ni6HGTHAWiS1BoLrBU0Aqa9IC7SeedHOYIxLVWvaelrAnkOxbp13tiIZLYuCS8nVi/UsLuVi/hol/ s77JFjbl7sUbRUOgTkdrBJPlHvhyCFRqT56+lY6TTe7lBoI10Ay18/7y3oiEvmsb6hMal1T3uLXJ5 A1dZlcww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mShQZ-004qPX-Ib; Tue, 21 Sep 2021 15:11:23 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mShQU-004qOm-Le for linux-arm-kernel@lists.infradead.org; Tue, 21 Sep 2021 15:11:20 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 18LFBF8G002620; Tue, 21 Sep 2021 10:11:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1632237076; bh=yOQfXpdLi3GbeN/OgalwY7X2Y2cl5Pm23Ai/MWKFggY=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=CEsnirUXHpg6YtCyxKHfUWe42E1vLvGHRG9jc16E0/TkD0hsnnVSGSjpzQT+GvQNn PGYKj5MOEr4OPMohb8UWxwqufqzKIw9ncMPMcP7ikJ50v2PdQBXxuKSjW37X0KIlFY tmrS8xELs28ESyqVivYAWOYpdChzMo6FL60B/Z/c= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 18LFBF7C035923 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 Sep 2021 10:11:15 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 21 Sep 2021 10:11:15 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Tue, 21 Sep 2021 10:11:15 -0500 Received: from [10.250.37.219] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 18LFBFI8096751; Tue, 21 Sep 2021 10:11:15 -0500 Subject: Re: [PATCH v4 3/6] arm64: dts: ti: iot2050: Add/enabled mailboxes and carve-outs for R5F cores To: Jan Kiszka , Nishanth Menon , Tero Kristo , Rob Herring CC: , , , Bao Cheng Su , Chao Zeng References: <1a39e2efad70eefd548f38d7d5ea2333e0cfab59.1631708830.git.jan.kiszka@siemens.com> From: Suman Anna Message-ID: <0704f1bd-7c40-c08e-1cc2-a3b24f1b16e7@ti.com> Date: Tue, 21 Sep 2021 10:11:15 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <1a39e2efad70eefd548f38d7d5ea2333e0cfab59.1631708830.git.jan.kiszka@siemens.com> Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210921_081118_840323_DCE82CE3 X-CRM114-Status: GOOD ( 18.01 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 9/15/21 7:27 AM, Jan Kiszka wrote: > 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(-) > > 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"; > }; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel