Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp816511pxb; Thu, 9 Sep 2021 12:44:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw10oHodZehCRhXX2A6XDeAo93sWo9yC0Lj4J0Qep4ajwW9fDljr3LONTUdsR3JwPU+ZRYD X-Received: by 2002:a17:907:1c1f:: with SMTP id nc31mr5106359ejc.371.1631216677467; Thu, 09 Sep 2021 12:44:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631216677; cv=none; d=google.com; s=arc-20160816; b=06TZ+B2YTjDBthN1SELa6FwWdp7S5VNjfJeQ6iBbrW1YqgrMjfqliTsXkX4GqR/oRH fhmejBN85x9Kd3IhZn5VPol1FF1bcINFehj1yHbHMWp/H4MUgptyBw9FrTrf4TKgWu2S 0tSYsLcwLsZdGa+nIb/ddG6JK1kvngO+hsFk0cA4l5luZAdGdbAsZB9kR12TAK4laZSX 3ivdOp61VR0r+30+qaBt4mrPDUrdbX2VY5b+1BsZDULUuUteowgU8yh5vfgw5ZWefJ0X ckoxyo4O0U4zpqpo8P9P4yHjM/6vJCkC5/bV5Yy1NcJLNjn51s/7vfRAb/4q86o2GDo0 SvQg== 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=MH82JoNFXf2VWQI1CM0leRF0r7ORQA8v3tTj7/vhBmc=; b=HIUoZ3x50c5tH3eUefjcXCAhTtEpGTKe9l3JFzahyk7PvfKoZTAP60y8bLVBnp9Es5 QGcKgXpQn1E/kPbPzcnASyVWLcuqRmLrcwpfgllZSPd2WnSstGmJj9GXBAfonH5lh8k8 VBPV3OWcPIwotDQMftaa9G2KFo2MG32Ppa+QlTcoW9Y3CkQI4/TfRVmTn/cFjKJISuDi X0XQ3TGtxo+Vvta1l6KXDXTJFBRI6hjAu7ao9uq0L7PVnjULM/NCM6l2Hw8/oUjQUz8J a79J3HSxm9VsClqDK80IigytsqOfZAPfC51SqFPHp0aGRxOrf9n5A80LMbVLkRlHwfy/ fhbQ== 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 bu1si2908862ejb.482.2021.09.09.12.44.13; Thu, 09 Sep 2021 12:44:37 -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 S1344654AbhIITmx (ORCPT + 99 others); Thu, 9 Sep 2021 15:42:53 -0400 Received: from gecko.sbs.de ([194.138.37.40]:33718 "EHLO gecko.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343879AbhIITmp (ORCPT ); Thu, 9 Sep 2021 15:42:45 -0400 Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id 189JfLDq026750 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 9 Sep 2021 21:41:21 +0200 Received: from md1f2u6c.ad001.siemens.net ([167.87.244.119]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 189JfIcV001594; Thu, 9 Sep 2021 21:41:20 +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 v3 3/5] arm64: dts: ti: iot2050: Add/enabled mailboxes and carve-outs for R5F cores Date: Thu, 9 Sep 2021 21:41:16 +0200 Message-Id: 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 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