From patchwork Thu Aug 22 17:09:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abdellatif El Khlifi X-Patchwork-Id: 13773961 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C3F50C3DA4A for ; Thu, 22 Aug 2024 17:13:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KxBjrCYHsm8PW0NZqxjG4GfAOZO+hi46At6XryTea08=; b=C5gYPDNydcOv4XKmnTFcdxwILu t/kZikXBhbR7EEFIcrXuKcmYHGa9tU+a5C85LxNj5SImdWs9Qq73u9bwwhT/EWkWCMQy67/M/9dAl 7ss6PycubzeAxumUnHZnzc6mFaSJl3tEeEP/zQHZJamM5xSG6Lrh4EsxK1TalgRSYDc0Vp52fmvS4 PaK1aRhbXTY0QeKexHhuRJAk0aDY3cBDZsarljgRpd2gFtfmkBjXteKrtrcbSRhSI1whKzZan3WrX niTo9Pdo5kK2ypnJCvKOE/Fbi+za8LWSDxqqgz94MXd6OH+FC9tGdozByMUU7qeyj2G2g73gVDZ1u v9wa6NCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shBN3-0000000Dkdc-1dUu; Thu, 22 Aug 2024 17:13:13 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shBKD-0000000DjtR-1esk for linux-arm-kernel@lists.infradead.org; Thu, 22 Aug 2024 17:10:18 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0CC76DA7; Thu, 22 Aug 2024 10:10:43 -0700 (PDT) Received: from e130802.cambridge.arm.com (e130802.arm.com [10.1.37.66]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5ECA13F58B; Thu, 22 Aug 2024 10:10:13 -0700 (PDT) From: Abdellatif El Khlifi To: mathieu.poirier@linaro.org Cc: Adam.Johnston@arm.com, Hugues.KambaMpiana@arm.com, Drew.Reed@arm.com, abdellatif.elkhlifi@arm.com, andersson@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, liviu.dudau@arm.com, lpieralisi@kernel.org, robh@kernel.org, sudeep.holla@arm.com, robin.murphy@arm.com Subject: [PATCH v2 3/5] arm64: dts: corstone1000: Add MHU nodes used by the External System Date: Thu, 22 Aug 2024 18:09:49 +0100 Message-Id: <20240822170951.339492-4-abdellatif.elkhlifi@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240822170951.339492-1-abdellatif.elkhlifi@arm.com> References: <20240822170951.339492-1-abdellatif.elkhlifi@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240822_101017_505862_C7689603 X-CRM114-Status: GOOD ( 10.45 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add normal world mhu0_hes0 and mhu0_es0h nodes In Corstone-1000 IoT Reference Design Platform, communication between the host (Cortex-A35) running in normal world (EL0 and EL1) and the external system (Cortex-M3) is done with MHU0. MHU0 is a bidirectional communication channel described in the device tree through mhu0_hes0 and mhu0_es0h. Signed-off-by: Abdellatif El Khlifi --- arch/arm64/boot/dts/arm/corstone1000.dtsi | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/arm/corstone1000.dtsi b/arch/arm64/boot/dts/arm/corstone1000.dtsi index bb9b96fb5314..01c65195ca53 100644 --- a/arch/arm64/boot/dts/arm/corstone1000.dtsi +++ b/arch/arm64/boot/dts/arm/corstone1000.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 OR MIT /* - * Copyright (c) 2022, Arm Limited. All rights reserved. + * Copyright (c) 2022, 2024 Arm Limited. All rights reserved. * Copyright (c) 2022, Linaro Limited. All rights reserved. * */ @@ -134,6 +134,26 @@ uart1: serial@1a520000 { clock-names = "uartclk", "apb_pclk"; }; + mhu0_hes0: mhu@1b000000 { + compatible = "arm,mhuv2-tx","arm,primecell"; + reg = <0x1b000000 0x1000>; + clocks = <&refclk100mhz>; + clock-names = "apb_pclk"; + interrupts = ; + #mbox-cells = <2>; + arm,mhuv2-protocols = <0 1>; + }; + + mhu0_es0h: mhu@1b010000 { + compatible = "arm,mhuv2-rx","arm,primecell"; + reg = <0x1b010000 0x1000>; + clocks = <&refclk100mhz>; + clock-names = "apb_pclk"; + interrupts = ; + #mbox-cells = <2>; + arm,mhuv2-protocols = <0 1>; + }; + mhu_hse1: mailbox@1b820000 { compatible = "arm,mhuv2-tx", "arm,primecell"; reg = <0x1b820000 0x1000>;