Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp643643imm; Thu, 26 Jul 2018 09:29:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfYnMwAdGDYu3E+OuUQqxNMTm+/QMSBZDcOCbwXTYe8HQiwNXZKR4IOu/gTGa4IIKcEhv9B X-Received: by 2002:a62:a05:: with SMTP id s5-v6mr2786167pfi.147.1532622572653; Thu, 26 Jul 2018 09:29:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532622572; cv=none; d=google.com; s=arc-20160816; b=YnTygEGD/PQZJM7ASHjG+NCtqlzrhOIlfpylZuA2S90RD3D3Q73abd4fCnhh+hOjb5 BP+S4IpikPttaJ2dYbQQfocdK4WqhuqWXJmMLWIkCQUZc/sulvLrSg3f7Zofce8BmfNT l3TDGpo0LKtBak5cfoM+7kKY36qpQt17GeLZgpR/tRfu2jLrHK2JmW22uJqo61T8b1wl SBiCNpEPOzE4piMCB0lvDJRXtRi6necRgkuRLBjsJ7y33HR+d0c2kuBEWLg7UwsrWDA/ si3Nga11FkMZPoBEiSlHrtSLH1gkF7IN3kqwctr7W8Iew6KqIfVLp8V1uQhmvvVJfCSo hWGw== 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=S8gVSknxSeaP4Gdzjc7cUDemIuYGW2ePtTV991W5oOI=; b=0gAdyr56jZCqLoObrdq9PbH23F/R1gzGWkhzv6FV6UcElKA8SINbMGPMaNXc/iFOzP +mmoqUoPN5ZVu8JRl0jKK6oVkW1nWkaNex9E8YO+yaS+ff6W+cPUlnNJ27uI2GgxtAXH +MThMFwqi1vE1IovLEuVLFw5utNcYOlJOcrPQSGwPJHMWo0xBnXitTbpoa/eMrA6cZAd EhY2OvOhfLCtARSb9oSQibulTDQi6qjrUiXP7yhBkjsd1dLG++P9UpV8PHPTiGlYU4d2 MoNFBWRVEM6cd0ETxkTUZcQHGsi5ZxU0NC4MvZRRqR6p3TNBnGj7PJ4RFmhmh6nm4fjV qbIA== 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 31-v6si1513208plc.173.2018.07.26.09.29.17; Thu, 26 Jul 2018 09:29:32 -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 S1732153AbeGZRnJ (ORCPT + 99 others); Thu, 26 Jul 2018 13:43:09 -0400 Received: from mga03.intel.com ([134.134.136.65]:54853 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732101AbeGZRnH (ORCPT ); Thu, 26 Jul 2018 13:43:07 -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 orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jul 2018 09:25:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,405,1526367600"; d="scan'208";a="76192056" Received: from marshy.an.intel.com ([10.122.105.159]) by orsmga001.jf.intel.com with ESMTP; 26 Jul 2018 09:25:32 -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, joyce.ooi@intel.com Subject: [PATCHv8 5/9] arm64: dts: stratix10: add fpga manager and region Date: Thu, 26 Jul 2018 11:27:22 -0500 Message-Id: <1532622446-19663-6-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1532622446-19663-1-git-send-email-richard.gong@linux.intel.com> References: <1532622446-19663-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: Alan Tull Add the Stratix10 FPGA manager and a FPGA region to the device tree. Signed-off-by: Alan Tull Signed-off-by: Richard Gong --- v2: this patch is added in patch set version 2 v3: change to put fpga_mgr node under firmware/svc node v4: s/fpga-mgr@0/fpga-mgr/ to remove unit_address add Richard's signed-off-by v5: no change v6: no change v7: no change v8: no change --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index ee4715a..0b20209 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi @@ -106,6 +106,14 @@ interrupt-parent = <&intc>; ranges = <0 0 0 0xffffffff>; + base_fpga_region { + #address-cells = <0x1>; + #size-cells = <0x1>; + + compatible = "fpga-region"; + fpga-mgr = <&fpga_mgr>; + }; + clkmgr: clock-controller@ffd10000 { compatible = "intel,stratix10-clkmgr"; reg = <0xffd10000 0x1000>; @@ -512,6 +520,10 @@ compatible = "intel,stratix10-svc"; method = "smc"; memory-region = <&service_reserved>; + + fpga_mgr: fpga-mgr { + compatible = "intel,stratix10-soc-fpga-mgr"; + }; }; }; }; -- 2.7.4