Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2939081imm; Thu, 24 May 2018 19:29:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrzcs95160HBgENg/t7LdKHmfRp2k3eUbNMV9PgSXY55Tas9ycnM3fmNHwX822KCoGhJ60p X-Received: by 2002:a63:a44a:: with SMTP id c10-v6mr434147pgp.147.1527215348267; Thu, 24 May 2018 19:29:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527215348; cv=none; d=google.com; s=arc-20160816; b=OH8oqJsr4TqH2gjf20lNDUkkdexYVGGJB3FTr7I4QGNP6siUdFnO1k5z4LC2VJW6hN VEydY4jjmhj7DiGfIwXS6/XMzhougFvIAHmIxwIQxh6llfNqeDk54MwAtDjnD/jJPM8A R1M3aPoOSEUJoQFx17QmcNY0cvD7SGwFH4z8Zy7m7xs6gvubgT0Xp6vYwNUMBLy0H5kG AQHt1FzBBTfbjXiItp/ftOzXX6hv3wy8VdyTn6o0U/erGChEzU/6abDJr8kRWPkT2rvW LzVe1tFvGr+Fe9WbdPe78wszZuslUvabY59GtbOAiXWdlHrrEIuXQd2G4qw0MeMeuOXr jMlA== 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=s8t/fnUHcBOI5UDlRXX95mEL5LWm2NfEMtN4Do+29Ic=; b=L5pOwRRd/XREIqtOY7rf9yxe6VtYh11Ols5uYPT7WLPJcknsh45kE2HLybRQupa1OL dNoUKPTXLwA+lJjCV/z5PM0qAs2OGRT5tZylOmTlHpc9vxvf+UnRXDDms1lZxYyk1cUZ 917VrKcUKDFfFJDFnxtWpzDMGipAGxTK1xh8odFKE4iHsV44px8BMUBZ51iS4sp10jUc 7EluYPV0BaRG6hZM9LYX1VH8EPJblk7RVb7Jsd0hJ3kAVZqQPt9HO+uORsR1F47YkO/k HKA8Fm7brnLJA/p55TSEAbBdZyQF73oaZ+EdyDImSYwj6rGJVxiYy8VFheOGTFqmGJhu mpYw== 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 j12-v6si17616543pgf.222.2018.05.24.19.28.53; Thu, 24 May 2018 19:29:08 -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 S1161106AbeEXQbc (ORCPT + 99 others); Thu, 24 May 2018 12:31:32 -0400 Received: from mga06.intel.com ([134.134.136.31]:7296 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031544AbeEXQ3S (ORCPT ); Thu, 24 May 2018 12:29:18 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 May 2018 09:29:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,436,1520924400"; d="scan'208";a="51893072" Received: from marshy.an.intel.com ([10.122.105.159]) by FMSMGA003.fm.intel.com with ESMTP; 24 May 2018 09:29:16 -0700 From: richard.gong@linux.intel.com To: 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, gregkh@linuxfoundation.org, 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@linux.intel.com, richard.gong@intel.com Subject: [PATCHv5 2/8] arm64: dts: stratix10: add stratix10 service driver binding to base dtsi Date: Thu, 24 May 2018 11:33:14 -0500 Message-Id: <1527179600-26441-3-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527179600-26441-1-git-send-email-richard.gong@linux.intel.com> References: <1527179600-26441-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 --- 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 --- 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 d8c94d5..c257287 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>; @@ -487,5 +500,13 @@ status = "disabled"; }; + + firmware { + svc { + compatible = "intel,stratix10-svc"; + method = "smc"; + memory-region = <&service_reserved>; + }; + }; }; }; -- 2.7.4