Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1036228imm; Thu, 6 Sep 2018 14:17:08 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaX/snWXFX7UYm6xxxso62rEF79aAMJE+XIMQmEj0EYchy2wn1w/m+fbZ5BMQS32n+Pnw7I X-Received: by 2002:a62:6003:: with SMTP id u3-v6mr5098565pfb.114.1536268628175; Thu, 06 Sep 2018 14:17:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536268628; cv=none; d=google.com; s=arc-20160816; b=iVrH1XAEvM3Mk8qw5ca6nJdvAl8X+VQAgA5M4kXzPdusZcmT9ROwaqAfTPI1YvGFCV E99uvlzzDgxJ6DkE4ySF2z3AZyekFsIfw1USSpwaugfGzfhYYj7c1zUybi6WQZrgFJq4 SlmeF2W6LW4L/ouTVmpw68Im5O6bgFZsOxXhxvNS8poxNFXEeO+Chnkjsy96/EXEseb+ OngXnoRAeFuzU3sx/aERdYe7Yn+i2r4s+SCxOtEqsjniYMLxkdUAeVLb92oI5sqAEq1F gol7fG+ubqp8P3ejcSeKr5Ezd9HyJS4871ZmUiLLBZveda3FwqL5uB+dpcbKFn8Q4sCv b1nQ== 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; bh=KSDcifu15Dzbi1PyKW7niH0KmNDK9tqUNfSdMKbhPZ0=; b=e5TIN9cqk/cuXxq7FHPb4cC5dwOLf7YoNS3rx1rc56uvI/1Y0GPBDGGfnMxljHGPUe s/eEKWPb0e1je8vVV7Xc+ElVOl6qCN8XFIuxwtoyXk1bAjhuSSopKizMiFeRvFQhTvWO duuMcxtiPZtS4LAlKUmmYNA5oedpWy69OAveGybx3bfNk4bWOjh/Tjvdqq615NGta04z QVRqHZ6Bil/CeoQ2LqpjxGMatF9P7G8urkYZogzxl8YiojpGqoqW6XwLHk12hwDD3vQ0 +QMxqux1lNA1lyDtDLvi0RxnrY9O8eR8kiBnAkS8I87azp+jSfevbTB5sYbUhcYnxgkx dhEw== 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 d2-v6si5865287pgp.256.2018.09.06.14.16.51; Thu, 06 Sep 2018 14:17:08 -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 S1730512AbeIFXy6 (ORCPT + 99 others); Thu, 6 Sep 2018 19:54:58 -0400 Received: from mga05.intel.com ([192.55.52.43]:64811 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729769AbeIFXy6 (ORCPT ); Thu, 6 Sep 2018 19:54:58 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Sep 2018 12:18:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,339,1531810800"; d="scan'208";a="68939843" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga008.fm.intel.com with ESMTP; 06 Sep 2018 12:17:58 -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: [PATCHv9 5/8] arm64: dts: stratix10: add fpga manager and region Date: Thu, 6 Sep 2018 14:25:07 -0500 Message-Id: <1536261910-16426-6-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536261910-16426-1-git-send-email-richard.gong@linux.intel.com> References: <1536261910-16426-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 v9: 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