Received: by 10.192.165.148 with SMTP id m20csp100357imm; Fri, 4 May 2018 07:18:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZot02oLavNbK5+M8TML+8I9dZQr7xo/l9w4K5HGH2c21/i4kec6/uzs1It76vztd3nBZEDF X-Received: by 2002:a63:6344:: with SMTP id x65-v6mr22651835pgb.34.1525443534801; Fri, 04 May 2018 07:18:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525443534; cv=none; d=google.com; s=arc-20160816; b=xHfZCpVqjiJT+i1j43+55He3ynwQEKhn4i41hbmiXYWGwAKdnax+21FZfV6lLXuiQ2 6FFSQIc5yNvaMMWYzCAn7CcPUazHYOs8YIn+loegTsFnqVzEBGZ1AlaEVomQqFBxa5ZV 3CqEkx75xe0dFCjLGB6XE7fJ9HW/JLffV7cYt25Q3Gwg5I/e5EIiRrJuS4RmGxvZVrxk o2v7aZaYPRzDToB6DWyKG4+b/rJ8IEi/I4VyrPOM10r8LrRj9SWRfSwLRiQEo5FkEzh/ /XdxLd7aZcx9gsrflZslMVKkLUaiErlsbYxqfcjAlIqR5Bo88i8OyfgOUlF3fM5tMZOW YiQw== 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=884RrJKBm8yZ52WijgNM5kJDTh83TzA4/KagCamADWo=; b=OofG6pmeVVGULGieuEru2NHZPNNKzjUglKuOMioPLzdLXTxs9LjT34SrcaSKBQmq2t akIvTkXWkHCllUUjpK77mP5k+XSnjvKFEt3TKjk/QYF+UKJW5mYN/K3NDqJkJhW5Be1O D8xgz1SUk/0SGjQw7FU3FnVwaAnHoHUgQ6GCV9kjhr9+wvVywLwCivwAIb35hYJs2R/j 4XgcYWz08URLvs0qWBazP2OVSIqV0yh3azpPmFaqvmBO/fPHxJvKol32fnGANuVpKiNV eOWQt/czaCtH7iCFnlF4BQBcKbyXHAzQ+hECxURFG6dX/jFka8zKKZkHSpln9aOHnuW3 HeJw== 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 y26-v6si6708039pgv.202.2018.05.04.07.18.40; Fri, 04 May 2018 07:18:54 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751561AbeEDOR6 (ORCPT + 99 others); Fri, 4 May 2018 10:17:58 -0400 Received: from mga06.intel.com ([134.134.136.31]:5630 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751519AbeEDORy (ORCPT ); Fri, 4 May 2018 10:17:54 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 May 2018 07:17:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,362,1520924400"; d="scan'208";a="196735559" Received: from marshy.an.intel.com ([10.122.105.159]) by orsmga004.jf.intel.com with ESMTP; 04 May 2018 07:17:52 -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 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@intel.com Subject: [PATCHv4 5/7] arm64: dts: stratix10: add fpga manager and region Date: Fri, 4 May 2018 09:21:35 -0500 Message-Id: <1525443697-31009-6-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525443697-31009-1-git-send-email-richard.gong@linux.intel.com> References: <1525443697-31009-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 --- 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 985b9e5..9e32607 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>; @@ -473,6 +481,10 @@ compatible = "intel,stratix10-svc"; method = "smc"; memory-region = <&service_reserved>; + + fpga_mgr: fpga-mgr { + compatible = "intel,stratix10-soc-fpga-mgr"; + }; }; }; }; -- 2.7.4