Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2938473imm; Thu, 24 May 2018 19:28:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZocobjDgKEWCFlfG0OJwyxzeNklndW59/ADpTookybhlNpRbaefyryLCQTWK0eu+hsXNLgk X-Received: by 2002:a62:1282:: with SMTP id 2-v6mr525330pfs.243.1527215292471; Thu, 24 May 2018 19:28:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527215292; cv=none; d=google.com; s=arc-20160816; b=IsdrHnv34iT40ANLIv6bNsRQuWhN2VTNKtrbEruStPhWLJ5fLL+R6pjm6PLeCjmtbX lttjWkNhS4Jz++aA70NbkP4OYf3cyxSdvVkz2RkdfnFQh2FdB1A/s++MtUCzAzEuo6/q MfTJl0/ExwW30aTm8CbkGQAmwk1zO/Q0Pd3YwF+iGQg0hVqqqKn+y6BKxGIBo9Gc/UxF dxq1135LfB1ia5fzBcDYOG1D3ZBvmrq8QsZs8jEoFrtlq3oLCQYWbz9N297ryuQlNDJ9 MNiMOZrh6QSVScdMOQiS3trrrXER3CT1OXhVh9QGG+zhVb5y3b+WGwTCMO8JzS/R9cJr /5mQ== 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=PZV/BzkwVguVcAvBxEM6TQt2cwH84ZgOhdVTkE61VNw=; b=TFoKZeJz0F6KP7FKACGMDuYBlwGVAAwIjobHGjnaQEeb4MCCNeLRg6MaOZj/gIlnMx A9mnk6jZNhx1ExlXZwn79HctToprbzgkhUXvJy9bp9dJohgQ6VOu6IVFWLoWrrxfCIl5 v75lBQKVW6FJRpQJIJAqiH36qYZ2gzYKls4EicojM5Un6s8hgqplyFbnTrjiojkEXuOx OutEvAm/XJ5XPHIa5UzVdKNiwrDA4dRUI7FM3SRMSF5leoL9o+rnkrMIgTFjnls3G/25 EDtf8+hxw/dG+jdiJWg5GO+mOPgCaK1oN/zP+BXFfOmhn2xHI+N3hr8jY9SNobRtQHeV obsA== 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 b6-v6si23333300pls.583.2018.05.24.19.27.58; Thu, 24 May 2018 19:28:12 -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 S1161050AbeEXQ33 (ORCPT + 99 others); Thu, 24 May 2018 12:29:29 -0400 Received: from mga06.intel.com ([134.134.136.31]:7324 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031742AbeEXQ3W (ORCPT ); Thu, 24 May 2018 12:29:22 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 May 2018 09:29:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,436,1520924400"; d="scan'208";a="51893083" Received: from marshy.an.intel.com ([10.122.105.159]) by FMSMGA003.fm.intel.com with ESMTP; 24 May 2018 09:29:19 -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, 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@linux.intel.com, richard.gong@intel.com Subject: [PATCHv5 5/8] arm64: dts: stratix10: add fpga manager and region Date: Thu, 24 May 2018 11:33:17 -0500 Message-Id: <1527179600-26441-6-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527179600-26441-1-git-send-email-richard.gong@linux.intel.com> References: <1527179600-26441-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 --- 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 c257287..8f8f409 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>; @@ -506,6 +514,10 @@ compatible = "intel,stratix10-svc"; method = "smc"; memory-region = <&service_reserved>; + + fpga_mgr: fpga-mgr { + compatible = "intel,stratix10-soc-fpga-mgr"; + }; }; }; }; -- 2.7.4