Received: by 10.213.65.68 with SMTP id h4csp1031940imn; Tue, 27 Mar 2018 13:24:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx49XaEMhwenmciacQD5LzyBErw0uRl0Qm9tVD2Cl1Ngz7K3yb9CIMZRqVrqRhz9vKCC1NWqZ X-Received: by 10.101.77.144 with SMTP id p16mr495384pgq.327.1522182293267; Tue, 27 Mar 2018 13:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522182293; cv=none; d=google.com; s=arc-20160816; b=xG/WZjq3jXnHbQmABLQoNFjctJUEn13APmQ673SWljx9ikbQPrAEQpSq+p0w7rlEEw ym0j8koCwDfRMbX7z1gjEMSkeaGzSnEQKnp06nrVB1/UX7DHFSLtOW2st16HP1CbnpBt J7xyjDzObBsfFdQ2Nii0aQvFbwCq7CXrqvZ74JGMOZPIoVcDT3D1J8e/yr3NW7b3t1qX l2cRTEiXNrfcv/Lb3YPqqNTHmr2t1fh16TwvqNR4GocEEK98SyFJ5sB5ZhJJS9FCt6K/ u0p/0sDaATZ9XTmbqYQSEKmx6ALbTsI6LO5M7+T06rjv3uAa9Gk2eAZY/Ly+nXGVvQPc HSnA== 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=2kcOl85RgyISMbFfGpjIXSktPMv+JCebQYGLad0iTK4=; b=JC4E7/L+V2Rkw3x/xM+m5E7TlFw72cIb+ZC+Z4DSLY+PlyU0A6WT/kZy39K7G69cLJ O2KZvEK2+plduxqJpXb38RwoZdm66XuIwmClgTU834WizZUswkIKLDB2uIyS12zJ0+mL ihnx6MF3yr7bbFu8G702UE7eeusKrbCakXclYZBtdICbwgInlMWmh23InLwGJIy2SD8n 9Wcx024QrFrTD9HEpdfQL2n+ERJtlkbHyZK6vsiN1Bni+LqgPdlEWDNO50Lw2+takY2V LzvcAWYMMqHyYAR+JdNovjawvGC4XZpMk+B4PYQTEye1eIYeBS4SalckQnYmweWMjs9e xNVQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o19-v6si2194583pli.88.2018.03.27.13.24.39; Tue, 27 Mar 2018 13:24:53 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752021AbeC0UXe (ORCPT + 99 others); Tue, 27 Mar 2018 16:23:34 -0400 Received: from mga02.intel.com ([134.134.136.20]:20156 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751110AbeC0UXa (ORCPT ); Tue, 27 Mar 2018 16:23:30 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Mar 2018 13:23:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,368,1517904000"; d="scan'208";a="215401383" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga005.fm.intel.com with ESMTP; 27 Mar 2018 13:23:27 -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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-fpga@vger.kernel.org, yves.vandervennet@linux.intel.com, richard.gong@linux.intel.com, richard.gong@intel.com Subject: [PATCHv3 2/7] arm64: dts: stratix10: add service driver binding to base dtsi Date: Tue, 27 Mar 2018 15:20:09 -0500 Message-Id: <1522182014-7338-3-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522182014-7338-1-git-send-email-richard.gong@linux.intel.com> References: <1522182014-7338-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 --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index 5a6a699..4395e76 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi @@ -24,6 +24,20 @@ #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>; @@ -433,5 +447,13 @@ resets = <&rst WATCHDOG3_RESET>; status = "disabled"; }; + + firmware { + svc { + compatible = "intel,stratix10-svc"; + method = "smc"; + memory-region = <&service_reserved>; + }; + }; }; }; -- 2.7.4