Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp642032imm; Thu, 26 Jul 2018 09:27:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe1XussCENpEN1AppNea8Ck4gjfxUJYGHBCH+3auJAJIenUQUHI3YJ23CcJZy1cfWQIJarB X-Received: by 2002:a17:902:9687:: with SMTP id n7-v6mr2529680plp.33.1532622465566; Thu, 26 Jul 2018 09:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532622465; cv=none; d=google.com; s=arc-20160816; b=OadmxYv9IGHvtiAPKjO9LFBt9xWH3Z5UqZzXANqnIEuFRtiXX18JiCCmj08lg77wMR wqtWoQYLN0QlAzuV5DqbrP4YAT0DrACwjMCucSXcG1ppT3W30ZiRs4j6ZmxFEkLOGDV+ wB7nHFyWdS0kGu0ewsKQT88STwtZ5jNtzwFmsAfMMdU1PVWTm+SfTKHhb+50fuKKCq+d 5+dRsrYSET/BSbRvHIZLrTWDofTvr5q2N8wYkeUOgsh3wbn6qdpTxc9RFxrkUybh6OtT KJLcH5V4B6Xmhhxen0SHIRL7gFOkeEMCtP4yANiUAlCR45OSWVIyBqNSwpbMzVqTY1Ka ogrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=xMXhNsXzdtyD6uFM8iElja7HVdPZnbwUzQNjU7uVUm4=; b=tTgrbSLpMVBs5a7U51VZzgEQaDMYb4O88tRtUwHkvwD31Y9EWjbvUWQ1iuw/tZQKib cOmLRnSFQ8zoUVPdU+88paV+LiovOSjMTdMsw2Eq2+k0UUmSpra3HZIfQCA6Jyy9MBDH SdRls21P6yP9OoUUuXCWSwehnggWYJaiTRCBOhJK/gQozYCgUBWIri3l+Mh2EMagRMtw bNbG9bRtfe2ENZQdl2WcUMe3V98J3mIbjpVS5/8msXSc+SkrYO7mog5PlihByAgTSdGi 03O/XFi9Nrneu6QmashDR2xUg2qRuAItZy/QmnsA8E17E3nquolX1GfOCHMCmY+Q/xae Drcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j10-v6si1432217pgq.503.2018.07.26.09.27.30; Thu, 26 Jul 2018 09:27:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732114AbeGZRnE (ORCPT + 99 others); Thu, 26 Jul 2018 13:43:04 -0400 Received: from mga03.intel.com ([134.134.136.65]:54848 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732101AbeGZRnD (ORCPT ); Thu, 26 Jul 2018 13:43:03 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jul 2018 09:25:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,405,1526367600"; d="scan'208";a="76192038" Received: from marshy.an.intel.com ([10.122.105.159]) by orsmga001.jf.intel.com with ESMTP; 26 Jul 2018 09:25:28 -0700 From: richard.gong@linux.intel.com To: gregkh@linuxfoundation.org, catalin.marinas@arm.com, will.deacon@arm.com, dinguyen@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, atull@kernel.org, mdf@kernel.org, arnd@arndb.de, corbet@lwn.net Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-fpga@vger.kernel.org, linux-doc@vger.kernel.org, yves.vandervennet@linux.intel.com, richard.gong@intel.com, joyce.ooi@intel.com Subject: [PATCHv8 2/9] arm64: dts: stratix10: add stratix10 service driver binding to base dtsi Date: Thu, 26 Jul 2018 11:27:19 -0500 Message-Id: <1532622446-19663-3-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1532622446-19663-1-git-send-email-richard.gong@linux.intel.com> References: <1532622446-19663-1-git-send-email-richard.gong@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Gong Add Intel Stratix10 service layer to the device tree Signed-off-by: Richard Gong Signed-off-by: Alan Tull Acked-by: Moritz Fischer --- v2: change to put service layer driver node under the firmware node change compatible to "intel, stratix10-svc" v3: no change v4: s/service driver/stratix10 service driver/ in subject line v5: no change v6: add Moritz's Acked-by v7: no change v8: no change --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index d033da4..ee4715a 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi @@ -24,6 +24,19 @@ #address-cells = <2>; #size-cells = <2>; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + service_reserved: svcbuffer@0 { + compatible = "shared-dma-pool"; + reg = <0x0 0x0 0x0 0x1000000>; + alignment = <0x1000>; + no-map; + }; + }; + cpus { #address-cells = <1>; #size-cells = <0>; @@ -493,5 +506,13 @@ status = "disabled"; }; + + firmware { + svc { + compatible = "intel,stratix10-svc"; + method = "smc"; + memory-region = <&service_reserved>; + }; + }; }; }; -- 2.7.4