Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5685537imu; Tue, 13 Nov 2018 10:08:03 -0800 (PST) X-Google-Smtp-Source: AJdET5diQYOyGKfT6Qv1uXm+IqvuafYEMJito5DBxGblw01mARR0QBBC0KvS/Hwux7lTbMhTga3B X-Received: by 2002:a17:902:1c9:: with SMTP id b67-v6mr6239714plb.152.1542132483111; Tue, 13 Nov 2018 10:08:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542132483; cv=none; d=google.com; s=arc-20160816; b=xG6uLWwwo90hmNrZpwdZXL+Zikg8ExLWYBaxI+93NP5KhbsBA2+DIiBEL6qlLe4Fqj CXJot6FQxpPOObpf8TqCeR3vzP18Tx8EHS5IP/ZliN1lGFU0eG1wKHyuihzKTHwAsEtz b1rpR4UbwSusMmu7grg/qpzIs8wXgZWCdlIvffWAHYp4wSleqgAiD2nV+AU8kMeN+hFM DaMetPsWwj128Ocjj1zYeA6dB0DdAzgZRQtcLu1x5oBVU7ixj/It1hvQ//jY8Da46Q58 ihO+RL0TTFhRx4Fr63TqoiPWQitEA3V2OXLt/n1S5ht11jm51mQSrOjtIOH+Vo9EKh3J c4ew== 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=L6h+sdb48WAES6lzVz/RPPazmR1c7xaTcs3z5+uIUMc=; b=j61EeLXkgCbX5tqN1FTf2C51hLkj2ziKNY0fiOY0bXl0ofEYpgejHdJB7UTag9/nrt UyvkKUTEhJUjUWM2K66029sebwHzBAoORjooGzwMvwojm/cNJ7ZD96lB/vc/hvLIOgDI 3lhr+HLLo4UYEQT9um3UIXHWNJyrVkPf5OdBPO/lHpQnCIcaBWl+W+UsjIZET4hvySnk oMltTeGPSQMPbj/2yURGibJEojrqhlO7/PinpqL2iyRo9ERp+918WBoGyG9oVE16PVuI k843x5tBl7MujR/zVSbc+0BQ2GWnvWTqm0G5a5Eovnvg1wJVNE7N5GvVnuPaPZ71Ei2s N06g== 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 d3-v6si24812014pln.204.2018.11.13.10.07.32; Tue, 13 Nov 2018 10:08:03 -0800 (PST) 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 S1732585AbeKNEFx (ORCPT + 99 others); Tue, 13 Nov 2018 23:05:53 -0500 Received: from mga02.intel.com ([134.134.136.20]:59581 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732221AbeKNEFx (ORCPT ); Tue, 13 Nov 2018 23:05:53 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Nov 2018 10:06:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,229,1539673200"; d="scan'208";a="279519675" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga005.fm.intel.com with ESMTP; 13 Nov 2018 10:06:39 -0800 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, todd.riffel@intel.com, richard.gong@linux.intel.com, richard.gong@intel.com Subject: [PATCHv11 5/8] arm64: dts: stratix10: add fpga manager and region Date: Tue, 13 Nov 2018 12:14:03 -0600 Message-Id: <1542132846-24168-6-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542132846-24168-1-git-send-email-richard.gong@linux.intel.com> References: <1542132846-24168-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 v10: no change v11: 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 519b16e..a20df0d 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>; @@ -556,6 +564,10 @@ compatible = "intel,stratix10-svc"; method = "smc"; memory-region = <&service_reserved>; + + fpga_mgr: fpga-mgr { + compatible = "intel,stratix10-soc-fpga-mgr"; + }; }; }; }; -- 2.7.4