Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1287856ybg; Fri, 18 Oct 2019 15:16:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxm3KsfVKd/f28Jetb/4zbQwr1qyH4L/yyrP1fXRm/sWmoSsKnGEV4Oy8xglF0155DvVFp X-Received: by 2002:aa7:de1a:: with SMTP id h26mr12240367edv.289.1571436966188; Fri, 18 Oct 2019 15:16:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571436966; cv=none; d=google.com; s=arc-20160816; b=QZK3t8UyPe0sH96DBJRO35oJviZRnyRoukcqRcV0J3Z+wZSBkfLGzqsddQtLBYbgBJ JhscK1n/eId11Ym2JV8HwoPr/daPf7VaC2v9SImFbGabJX3FuaPvlsOeHS9l7wyiybhC K4AHfmhCmmpVc75DQVw+gb5Orl/A4gODDqLrWaTOChSZKK+5jcpAv4U09+WRIgjeqwRV tPq7f0JkFzNBN9mfT3+ve9EDC3G3t2+wDaI/0C6ewgKm64CZSgpBZ7cLi4sAilgDPypn Q7yeDcppwhGDQW0ssof9vBGfUMNiZTjDWYfTnFWVSl7Lgm7bqWLlXX6UftqbwEth6hXF 1oGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=x3ofKEqeiMGqm3/IY0Vfjo6pamVvOkObLyVwLysbBq4=; b=chT7fa4PlE52f81OpKBE4ekVoEup4t/U7iv5at8qEsPwNISRu9CxFzx9HDTeiQ5OPR aBESOm5q0BaWd1hqntoCKmQPNKZxVOiKG4HTcBzo3CDGXWvTWrQ93AzPW6OHpUgdRioL HP9S0CPWIBDHvp8cZfLL8qSbw20vXVoDOuvHwh7lFIkgo/vXQCqKbsmhMvKjD3HoOYlq XW/x2IgPXM0hO/s5936ucO+VY3fWx81V4BjF5PiiLvzpeiR3GhJeMPJ0kiuqFxpm93BI uVjBrLI+TCiQVw3+6hyTvVd1IRgrnZ/xWQJ6s3B8zPAyQyD0TxT/PRzg6y+YefL32k3D JZxg== 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 ot41si4051181ejb.215.2019.10.18.15.15.43; Fri, 18 Oct 2019 15:16:06 -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 S2395244AbfJQTVH (ORCPT + 99 others); Thu, 17 Oct 2019 15:21:07 -0400 Received: from mga12.intel.com ([192.55.52.136]:22068 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727397AbfJQTVH (ORCPT ); Thu, 17 Oct 2019 15:21:07 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Oct 2019 12:21:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,308,1566889200"; d="scan'208";a="397690533" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga006.fm.intel.com with ESMTP; 17 Oct 2019 12:21:06 -0700 From: richard.gong@linux.intel.com To: dinguyen@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: richard.gong@linux.intel.com, Richard Gong Subject: [PATCHv1] arm64: dts: agilex: add service layer, fpga manager and fpga region Date: Thu, 17 Oct 2019 14:34:40 -0500 Message-Id: <1571340880-18421-1-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Gong Add service layer, fpga manager and fpga region to the device tree on Intel Agilex platform. Signed-off-by: Richard Gong --- arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi index 36abc25..94090c6 100644 --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi @@ -12,6 +12,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>; @@ -81,6 +94,13 @@ interrupt-parent = <&intc>; ranges = <0 0 0 0xffffffff>; + base_fpga_region { + #address-cells = <0x1>; + #size-cells = <0x1>; + compatible = "fpga-region"; + fpga-mgr = <&fpga_mgr>; + }; + gmac0: ethernet@ff800000 { compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac"; reg = <0xff800000 0x2000>; @@ -442,5 +462,17 @@ status = "disabled"; }; + + firmware { + svc { + compatible = "intel,stratix10-svc"; + method = "smc"; + memory-region = <&service_reserved>; + + fpga_mgr: fpga-mgr { + compatible = "intel,stratix10-soc-fpga-mgr"; + }; + }; + }; }; }; -- 2.7.4