Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp321282pxb; Thu, 12 Nov 2020 04:54:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwoNqHIeOaCqoo4jS5j1wQvGzlt6Md4YWyP57hCL+WaH5VwWDmsbwmwCZFz4QxERo/SBLh5 X-Received: by 2002:a17:906:1f92:: with SMTP id t18mr31503947ejr.539.1605185673238; Thu, 12 Nov 2020 04:54:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605185673; cv=none; d=google.com; s=arc-20160816; b=Sn0pCOxFo+CjqG9rRzEK6q8gn8nGskDlXtqI/yC4Y9yYpPWOTRR7fxFeMmQ2hkvSLb +kgWVxqFUYaeFQQsa/C31xbA3AgzCUcnSnzsbOUKdImwCd0R+kYJ5bu3BtZYgbb7yIkW Vc+QxeQ+ByalpbzzBnL41a0BGQwERGHEcr3r6oONLmX88c5AcBEndxn2mZDHbmMgRh7e GZGXiosxOBui7LD0A9BYHGmQBMwSNlu/NeT1mc+vdgLBigmtdqT05cvLzrcZOMX/OvBh 5VLBDy94XbYdWqaUkYWLoUywCYum3l/QwC0/ABDC+9VFZSAz1rw0uQd5RBtnA6mzMSEh zlRg== 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 :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=VO5buX3O3865XeSNAiYdkmHwudPvyFuKPpXIgcQuiQo=; b=xs/Bemz+p7NxnvDbBYdq86+xuCTsBGJzwbYhtDgyQ35ULOvAKnHyBJUc2NfRj1M/1f /xJQQacS9iWxPhyIUzKtcd5HqZazztVVGP9LtkLlTnFz7u8+NBIXJaToJT7OCVkfn0Zm 82YBB/gNFTAlbm79HDJTfPTJpPy7f5hcxvH5r4XAmmNTeIXw0dr/0NSLMqKpBiwYcBte 5iKgkg/8tvZR6dhIbdRfT9ytUnRH4bf/51DNbLrmM8V083koCOFSV519Ah/VCes79dBY dzhk+K92ju8HEnS3TKbVM4Nw42d3dT4c/BUApRZjuWV51b0+50J0psMRQhvswYs8606O HlCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=B6KAVAL2; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt4si4667218ejc.439.2020.11.12.04.54.10; Thu, 12 Nov 2020 04:54:33 -0800 (PST) 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=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=B6KAVAL2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728151AbgKLMwl (ORCPT + 99 others); Thu, 12 Nov 2020 07:52:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727997AbgKLMwl (ORCPT ); Thu, 12 Nov 2020 07:52:41 -0500 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14113C0613D4 for ; Thu, 12 Nov 2020 04:52:41 -0800 (PST) Received: by mail-ed1-x543.google.com with SMTP id v4so6045507edi.0 for ; Thu, 12 Nov 2020 04:52:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VO5buX3O3865XeSNAiYdkmHwudPvyFuKPpXIgcQuiQo=; b=B6KAVAL2EmeGP3N+DEht9mufwYAaCbCfkacyMFL0brBEYT9mD0dCKeFFTplJf2Xvpb ZjDj/GJutnYrfwHF4Nfi0WfG8SjhVPLDlnWRD0l+Qch6xKkbgxECp+jsSqP9J49DuE41 4fdoc6Pafv5lHMcf2Qs3RDODPOCTkuZ20mFXs9eTU+Oikpy3jiddtOqv2HyKMvZvLohN w5akI2+/HrvAiK9P8CxLnGD8Cwfm8WLUApIaTRr0vymEcZHTbkcMSiYDKI3NvyCMvRtY niFVY/pWUaUZ4oNPqMYMyqU/+d9+0yvxRoiRtFUnTIBugeV5SYOL9dbIGCvrwdXJH/7m wgUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=VO5buX3O3865XeSNAiYdkmHwudPvyFuKPpXIgcQuiQo=; b=iIS90BiMo2fWeE4DZZiPR19qX/+5xbsSLZccHSrr+hkZ5QHxSRQ77gbKiC7unRyqYK AUS0lDCyd0YYxdqTpYAYGGJ4FzHwPl8n3iJNv1ZutTvSatKavBNSr2WR0vLS4BFK/HCE COp6s5+69w4e4uOhemiLAbvTovP/5mO770iQHG9CgzeihNBx6pGRUZhyWnOz+KMzvihn RFWT1oWVqEBVqhBr3pn1NeiI5/7fedNVvtTf7TCOF/RjlWU7cIq4rBYzGYYLvaU/vyro 8GCLdo+0Lm8WFWKpqN5MXA5q7u1dnCd7EkbwrF1SDWuoymlevZ2ZMsC9o2+fpTroa5uW cB/w== X-Gm-Message-State: AOAM5336cwxuyU1Q4bMLIBBSFSkTwfrH3LsmBlXbZBjfSJpr5u+2Ldec mSWtQwHmNnFbz96thBr88qcZPZjy3mal6cxL X-Received: by 2002:a05:6402:1352:: with SMTP id y18mr4921489edw.378.1605185559553; Thu, 12 Nov 2020 04:52:39 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id n22sm2366989edr.11.2020.11.12.04.52.38 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Nov 2020 04:52:38 -0800 (PST) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Cc: Kalyani Akula , Krzysztof Kozlowski , Laurent Pinchart , Manish Narani , Rajan Vaja , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: zynqmp: Wire mailbox with zynqmp-power driver Date: Thu, 12 Nov 2020 13:52:34 +0100 Message-Id: <5d3523150890e494df308ee69523d0f0e7b33b22.1605185549.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The support to driver was added by commit ffdbae28d9d1 ("drivers: soc: xilinx: Use mailbox IPI callback") that's why also enable it via DT by default. It setups communication with firmware via IPI interface. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 66dad22b8a76..68923fbd0e89 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -99,6 +99,29 @@ opp03 { }; }; + zynqmp_ipi { + compatible = "xlnx,zynqmp-ipi-mailbox"; + interrupt-parent = <&gic>; + interrupts = <0 35 4>; + xlnx,ipi-id = <0>; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + ipi_mailbox_pmu1: mailbox@ff990400 { + reg = <0x0 0xff9905c0 0x0 0x20>, + <0x0 0xff9905e0 0x0 0x20>, + <0x0 0xff990e80 0x0 0x20>, + <0x0 0xff990ea0 0x0 0x20>; + reg-names = "local_request_region", + "local_response_region", + "remote_request_region", + "remote_response_region"; + #mbox-cells = <1>; + xlnx,ipi-id = <4>; + }; + }; + dcc: dcc { compatible = "arm,dcc"; status = "disabled"; @@ -128,6 +151,8 @@ zynqmp_power: zynqmp-power { compatible = "xlnx,zynqmp-power"; interrupt-parent = <&gic>; interrupts = <0 35 4>; + mboxes = <&ipi_mailbox_pmu1 0>, <&ipi_mailbox_pmu1 1>; + mbox-names = "tx", "rx"; }; zynqmp_clk: clock-controller { -- 2.29.2