Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp430110pxb; Wed, 15 Sep 2021 05:30:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5rAQjFf+8o05BCzfTOstQjKlaqGpUsqYLbPSl2o2+Sp6SxB51f13F/iTRpS4nGfmMxwvy X-Received: by 2002:a02:9082:: with SMTP id x2mr18899966jaf.44.1631709000565; Wed, 15 Sep 2021 05:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631709000; cv=none; d=google.com; s=arc-20160816; b=JoqHLlw5ddhNl3gTc0QEyGseN1dNYTClAfmyBKFK/YdhpmKAc8Hn4fOPQOZYSbcipL 18eoBIN3JsTVrIxsc8vw7KZc3kVwnc+nNufW/P39V+6YfTkPHQTpN3ze5DKIfu74LRY/ U1REonkgnSHzcem13mfEdXDewZ6i73W+IlHs4essM/cEfzaWRI3g7ccHXBKNfi4P2hIW gUP7qia8INAIeTZhhIIcwYaXPaJB07Q5irLCKm5+JzsTVK/YNQt7xEANm95maXXsjy14 wxsZAk6YMhm1pOe3vMNPklHw5Iv0FA7cbSqfyzicdN+S3WQBlcT7rN+lwHYZMJy059aB wsNw== 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; bh=nGz6pvsvIWUMCI60w60MTkDCounhKY/fQtoOqE8kFV0=; b=zmNt18BROW5hrT9irzu6/gHRum/r3WDoRwzV5g2HAE5MlYTCphCfk/RTJ2nyXzOZWU PsHhJKM8fgGZnF3eiLE1bjsFFve5aoJ2snoXoflEgEReRAH5eu14LZErNQjsPQnFOL60 YVcsV0lNn5FDrMaQfR+pOgeXXOirDsi9AOvqxo2bilY9zMLj+T/++FH2653A3a/ZIIQN IpGqB6yO4jWMgIcHll0cAFcmf/9qT9aTIYvVIO5Uk/o2Ev0gbVCzPsY5HmgAm2m1LYF4 LCmjOGxrC+d71mIZhIDcXYkH9+W97O8eUW+TT9kBLlO+7jaoP+7KvKEJLu6Yn7sR/odo 2PhQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r11si13733051ilc.144.2021.09.15.05.29.48; Wed, 15 Sep 2021 05:30:00 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237709AbhIOM2w (ORCPT + 99 others); Wed, 15 Sep 2021 08:28:52 -0400 Received: from thoth.sbs.de ([192.35.17.2]:35184 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236700AbhIOM2q (ORCPT ); Wed, 15 Sep 2021 08:28:46 -0400 Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id 18FCRDxv005856 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 15 Sep 2021 14:27:14 +0200 Received: from md1f2u6c.ad001.siemens.net ([167.87.79.72]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 18FCRAr5006124; Wed, 15 Sep 2021 14:27:13 +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 v4 3/6] arm64: dts: ti: iot2050: Add/enabled mailboxes and carve-outs for R5F cores Date: Wed, 15 Sep 2021 14:27:07 +0200 Message-Id: <1a39e2efad70eefd548f38d7d5ea2333e0cfab59.1631708830.git.jan.kiszka@siemens.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- .../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"; }; -- 2.31.1