Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7123067imm; Tue, 28 Aug 2018 06:50:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZcYZ7jbPttkzmxnxqbfbxqNey2mqj4rdcfIdbLPtfqn0TnjwGXc1ZGPNmTB5vYdgUuJoBz X-Received: by 2002:a17:902:904c:: with SMTP id w12-v6mr1685317plz.95.1535464225722; Tue, 28 Aug 2018 06:50:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535464225; cv=none; d=google.com; s=arc-20160816; b=xyXEDEimicbVmeCLc/5pCbSvVQduog6waKcmFhV+byNaPhgSeB8pOsS3m75WVePvaQ qw6E3bbn3Wx/S79U2X+WQ9bZ50kXQjV42l3ZHIG8KYd53SUWq6hM/HMoKcw/wRwTkpgm lmM3E/oQrXIwavVYoo0zPDxZqgolFpUeMDk36d24eV/DoK8/rKLn/z8gCaBh9OMKrG8h 6hBG7xAmvXDra7qWjh9E0OWge9mf16yt8+JGaXDwsAMryQg6kELMhBNUEda3OqsGfiu+ 4ajxkjkVaBxFA/Jmhxf6UAGP9hA/cdbDgzD9Xk/8yzdPvaWp88ZxF9g9JNjKvLIW3JBL Wj5Q== 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=OZxRl7NB67IwxmPjQEp8CC56p2px2qJzh7AjZeZPrZIzqt4nU7aQVbYhYfkRiKa77O D1+YmY7CQvCPeW6sxIigXkO2sw8kRVpPw325a3YfKFeX7SDlppAc8qZoIkGqScFitKdQ bv1+CCn1V0CdXUx+BwSS8pLmcQtVZERfzGgpg4du9fN1fM9sA5m4CEtIvVknuJ+O7+rM a1//efWvOX/y71+JcqwSGMk7M9JC1hvFAH1n0Ydl/TUa3useC0fHCmO/QzQwC5s922w1 QAblQlFm3a7nI1oztV0B5mDoG/fLYgQfiT5npaq/Wqvzk0eg7nAgqmYwb4EmBTnHXCFB NK3g== 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 a7-v6si1083843pfa.109.2018.08.28.06.50.10; Tue, 28 Aug 2018 06:50:25 -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 S1728380AbeH1RkB (ORCPT + 99 others); Tue, 28 Aug 2018 13:40:01 -0400 Received: from mga09.intel.com ([134.134.136.24]:61233 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728363AbeH1Rj7 (ORCPT ); Tue, 28 Aug 2018 13:39:59 -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 orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Aug 2018 06:48:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,299,1531810800"; d="scan'208";a="85609965" Received: from marshy.an.intel.com ([10.122.105.159]) by orsmga001.jf.intel.com with ESMTP; 28 Aug 2018 06:48:13 -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 Subject: [PATCHv8 5/9] arm64: dts: stratix10: add fpga manager and region Date: Tue, 28 Aug 2018 08:50:41 -0500 Message-Id: <1535464245-11638-6-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535464245-11638-1-git-send-email-richard.gong@linux.intel.com> References: <1535464245-11638-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