Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7122109imm; Tue, 28 Aug 2018 06:49:30 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYKXZvjOW3hQX+Ow8XTuFGGM27gtV7k/qXDonk6MrcD9QV87Adol3YcSE64N40i1heIw0uE X-Received: by 2002:a65:5286:: with SMTP id y6-v6mr1633511pgp.65.1535464170400; Tue, 28 Aug 2018 06:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535464170; cv=none; d=google.com; s=arc-20160816; b=p+zy1+XLjNPUtGBqF6mjWts7yHLc5J+lcEM2DpS+7t1OTDG2wjVUVwCIZ/KTofictq LRRgQAOGQsp7STvbo39LFa8SgUbRhraBSjaM0IC2iWzajY9DbqW9IqAhJ4gNTtZCQkeM JAqjx1vzmvFFuuzxtp7mn7fOOdqP3UXkdj7ewGhtVkMUTCz1Eo1ukgUR9NggAuS2Q3h5 Qn1R67mFlSBK/Nyp+ZVZmWeJeUz45Vhu0y376fqLFtIaVPDmETOBK83K9s1Yokhtjg/I j7HNYko02VUO54Zc3Cqclp82REKKyzcWS/Xx4LeqIUTHBQbbZ28X8IN2RAHQ8mORkiUk vovg== 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=mYmFZOQtFKBHfjgxwAgbtlsr6BbfemhaiZIilbQWr2OmDFZbFR99Sq42AzM/bOHnam Stl2jU4xHMe2zGAAJG3ucKak3pfHF/+n71Qyp/QaKvwE27G3gBCJtgp0p5VwMxDJVb/D WuCPOamYMi4oq1pej+pNEXmWB7lYQKaOaEjEAolmkAPRm5iX0m3WoIFZgLOSr1Tx+4aJ rlObN/mcHrKeTNuNhCXV4NXNb4qzp17Wi8c9ILx2nwUvdpdUT+vHXItlgTHKENdkj3yS l7zJERankYhGhdtJY1o8PQc5auOqu3KszV/tklSs2ul8ODUYprGi8Juwf0xnxzVPgKY2 1NfA== 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 10-v6si1136281ple.60.2018.08.28.06.49.15; Tue, 28 Aug 2018 06:49:30 -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 S1728334AbeH1Rj4 (ORCPT + 99 others); Tue, 28 Aug 2018 13:39:56 -0400 Received: from mga09.intel.com ([134.134.136.24]:61208 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728217AbeH1Rjz (ORCPT ); Tue, 28 Aug 2018 13:39:55 -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 orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Aug 2018 06:48:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,299,1531810800"; d="scan'208";a="85609947" Received: from marshy.an.intel.com ([10.122.105.159]) by orsmga001.jf.intel.com with ESMTP; 28 Aug 2018 06:48:09 -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 Subject: [PATCHv8 2/9] arm64: dts: stratix10: add stratix10 service driver binding to base dtsi Date: Tue, 28 Aug 2018 08:50:38 -0500 Message-Id: <1535464245-11638-3-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535464245-11638-1-git-send-email-richard.gong@linux.intel.com> References: <1535464245-11638-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