Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp985840pxb; Tue, 14 Sep 2021 13:18:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+P5i6n5eXUCD2Kz1AVqZeEu8e3hkfLGPa9AXvi5hmUv+tyfGWtHM7JKnhFYoDLpdOk6jo X-Received: by 2002:a02:7813:: with SMTP id p19mr13423307jac.38.1631650686490; Tue, 14 Sep 2021 13:18:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631650686; cv=none; d=google.com; s=arc-20160816; b=W+MxZnA1eHeHnOW1+45v5KVeDADd2Y5asF8L5Yhng88uHFBh/rHGqH3TZASmK/39Dn ORQIYisWsiV+7iyUw4HV0zMfX9Sp8Gd3ks/0TkT3RgeM4DC+QixSHd2mgQkSzImbTH4N AcfCnoN6C9fMayqkctqXplEb68jsVYigSj1mg91XSL7uiOp8p8DDccyK3Q52GtbG+JtC Po6k4UNj0pGfE3UR/MwJJn7MBHp94EvpBMiPs+ET9au44ZlIhHSdUdHcFkfpOJnTRrmX YHUHgpWPK6Yc8G5kWI/IhyL+ZMVmidW7lSUziyp2MbUtjJ0YqQkSZDl3VeVLC6Fpb0S5 qumA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=uWPQHA6IGjfDQPaAbnzSASJkiTweOzUE4gDEBM2O0tU=; b=d2Py037VX3OQtkm7ewqVvnMjO5FaMy5+QwCDQ1qkN3SMnCiU9uoyTaaOGn5Dv0nMMq cnlM0VluZ4dKNVocnvNbdE2j4mB1Kdu4jYZpXzmBoaq+946HYctME6Aap7io6E6Q03ME 5Mklvtrhwu+9WInw2KFX4SyZlSOYgRAdeyOt/fb1gbV16SQKy4Xqwy3E3kZlaCwvtR3p ltLpdBpwbl2RTCpNG36aU2VsPC/JCNydcoH1rEIDcuI7iSRJ9aGEpWL9zdi5VHAgxr45 miVD3XwcTFACAXDj6fipMYKBt7+28aZmz7PrsjKtsfgNLUbZpuW1792MT2GPgaBmj0yO wwLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=EW6pD1vn; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d6si8567184ios.63.2021.09.14.13.17.54; Tue, 14 Sep 2021 13:18:06 -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=@ti.com header.s=ti-com-17Q1 header.b=EW6pD1vn; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233456AbhINUR5 (ORCPT + 99 others); Tue, 14 Sep 2021 16:17:57 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:38726 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232545AbhINUR4 (ORCPT ); Tue, 14 Sep 2021 16:17:56 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 18EKGX3m118731; Tue, 14 Sep 2021 15:16:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1631650593; bh=uWPQHA6IGjfDQPaAbnzSASJkiTweOzUE4gDEBM2O0tU=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=EW6pD1vnBi/Yk6vGXT2dl9WZvbBND/dvVD3DrmlADqZo3XXleeRIjbXHU6kOJbW1q QZ5EQeV9yEEZJi2+HNyJ2CJ1uQ/pJbOpgYul87ar7nuZ8MQu0Ya5+hXINL6xCQkoKp h9CZ/gqniNJ13D/S7WLaYISrTdtr1vKxFdoI9qbU= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 18EKGXFx076008 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 14 Sep 2021 15:16:33 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 14 Sep 2021 15:16:32 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE100.ent.ti.com (10.64.6.21) 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, 14 Sep 2021 15:16:32 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 18EKGWrH111951; Tue, 14 Sep 2021 15:16:32 -0500 Date: Tue, 14 Sep 2021 15:16:32 -0500 From: Nishanth Menon To: Jan Kiszka CC: Tero Kristo , Rob Herring , , , , Bao Cheng Su , Chao Zeng Subject: Re: [PATCH v3 3/5] arm64: dts: ti: iot2050: Add/enabled mailboxes and carve-outs for R5F cores Message-ID: <20210914201632.q5ato3bkvk3qd34s@easiness> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21:41-20210909, Jan Kiszka wrote: > From: Jan Kiszka > > Analogously to the am654-base-board, configure the mailboxes for the the s/the the/the -> could you checkpatch and dtbs_checks please? > 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 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D