Received: by 10.223.185.116 with SMTP id b49csp8057564wrg; Thu, 1 Mar 2018 16:26:01 -0800 (PST) X-Google-Smtp-Source: AG47ELsuSkvchBcj+GihVln2TXtCUTleK//o4IXorIulmTeDl/K2cNbrD63foK0WXRuEyDUzac+t X-Received: by 10.99.0.207 with SMTP id 198mr3059184pga.364.1519950361860; Thu, 01 Mar 2018 16:26:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519950361; cv=none; d=google.com; s=arc-20160816; b=vFpPl1KgFlpbOqwVXnVIZsclcCf7OkB04B2PavuBsH+4852Q27n9/ahfRX7J4ics7y RLCVUDuFwc0GJb13mKgB2zO3uvfO+Dbwcs4FvmOUNDMyTTrZbKXACZJ1l0m3waufmL+/ lV7b2YT4V0fSZcwcX5GNOVrH9kgSpGQqzTsHbzDdn1NwvQgVTJEuUTm18VljgwHAC9MW LRqUFoOuURJm0ybocGOrjMhC8DC6Qm4oFmvZ6QXounLgMs0/TiQge/ZSdzsjogdXeqP2 AHi5v5yiTCXRh6TVOveg1K7WbdCcgHwMutnJELjYTdhPOeACWhm3byOn4SYe3aIweG53 Lq9A== 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=Wcaiq27gfz7vSknLrdffwD+gj240wBh5K5BVPdj5dA0=; b=lxndc0DMCOVLRVVzXCy6jChXPf+ba0lqkCXI61c/F5EUcLqxuRKkyRTDTSutoH+5Ml kgKSgQuXKgl2JitDcu9McOCX9Su8HY7J8x3JyIgfIXAWTtTRth3KgGuEcRs1OZsFIrGw gd1p+lMznrfDYivgRbY8eMLlvm27tuAHm/3rgZIwH1QqIUY1CPwtIYzGtpitJJYMqmX8 6lA6OPTx/rnuqENVuIhT5xCzkCvaDz0tXAs/Jc4B386Xw8ZWZ2pDcry2w+1WbUUlWRSk a3XdfQg7RLgc0FYkulMxdaA6Yorn5cR2TMne24NfkdKe3sLfxVZ4rSaXFHO/Y/puS2Py HFyA== 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 p125si3160889pga.97.2018.03.01.16.25.47; Thu, 01 Mar 2018 16:26:01 -0800 (PST) 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 S1163785AbeCBAXb (ORCPT + 99 others); Thu, 1 Mar 2018 19:23:31 -0500 Received: from mga03.intel.com ([134.134.136.65]:60693 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1163507AbeCBAX0 (ORCPT ); Thu, 1 Mar 2018 19:23:26 -0500 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; 01 Mar 2018 16:23:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,409,1515484800"; d="scan'208";a="35279644" Received: from marshy.an.intel.com ([10.122.105.159]) by orsmga001.jf.intel.com with ESMTP; 01 Mar 2018 16:23:24 -0800 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 Subject: [PATCHv2 2/7] arm64: dts: stratix10: add service driver binding to base dtsi Date: Thu, 1 Mar 2018 18:19:30 -0600 Message-Id: <1519949975-13548-3-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519949975-13548-1-git-send-email-richard.gong@linux.intel.com> References: <1519949975-13548-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" --- 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