Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1236781imm; Tue, 3 Jul 2018 07:48:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI336+nuv6V/DWPreySO9rtIrBY+rFRv89dGuaaETuizSroEcJXAJC4APTu+B6exU4UrMeO X-Received: by 2002:a17:902:b58f:: with SMTP id a15-v6mr30656949pls.76.1530629303751; Tue, 03 Jul 2018 07:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530629303; cv=none; d=google.com; s=arc-20160816; b=Vy9FcmJrcJ/ecdyiBliXjqoO6UW6AgRGPHvkZN/YAvSwqrwCO+apHUeXbx5lQ791D3 PCdg4oDaUHXeo72HNJMWTUSchzmwbrXXUxTkzpBvJNsNfJQaiahEbn4G802siXU2eIeP oh9YX2pDuiZvshhe0Whv973fRcgJUYNFDcJdl3MwfY02BrHISglLdLGtddPICX1buKsP RUuFFqQ9h5vfjmDus6iShhfFmzgdqLykr5L1v+z0jW7AETgq0vzmru7NfDZn8zPNJqip YrYyNZ+5oQWniOHOvkkwxgjxvW2T+K56Gm6xl3xecN/P0HhkEAx0mTap32PhmehRDczf ONGw== 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=bGNu9GWleYdns5YpZn3jBdlT6iC0jXcVkw9rA0L9SSE=; b=kEg6wJ90U3I3TVVpKQkXVBq+aELCGUu1FNCMw9rYJvheyXJ200KLXWnFRX+uEcX+EL wu1DmA5sGJMj/bLMBQ+xCaLXpXJ9iUrqIa1F46a3+jNSy/IxF01o96D3HSHZFLZ5QyHR cuMhe28isrhAmKYnEvvkDNPShNDIJTsx0B93U51A+7O+Vs2PjYZBo2GiOC/bXrooN2zR sMghVMEbp6iLHhbnLKo7DlHO8+K6yNCdr+/BVCeibKJKiphYHD7k6ElO8FTGDKAc+k4F Gs95fUbquvaDgS/dTm67yLkIryiNlOQ5SESGkC4MIBoarBW84reuORMgP0a9eHSSKpJH 4X9g== 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 y10-v6si1259602pfm.162.2018.07.03.07.48.09; Tue, 03 Jul 2018 07:48:23 -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 S933316AbeGCOpu (ORCPT + 99 others); Tue, 3 Jul 2018 10:45:50 -0400 Received: from mga14.intel.com ([192.55.52.115]:9362 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932531AbeGCOoH (ORCPT ); Tue, 3 Jul 2018 10:44:07 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jul 2018 07:44:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,303,1526367600"; d="scan'208";a="68333189" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga004.fm.intel.com with ESMTP; 03 Jul 2018 07:43:59 -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: [PATCHv6 5/8] arm64: dts: stratix10: add fpga manager and region Date: Tue, 3 Jul 2018 09:46:52 -0500 Message-Id: <1530629215-26990-6-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530629215-26990-1-git-send-email-richard.gong@linux.intel.com> References: <1530629215-26990-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 --- 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 1ba9a1c..5431c8a 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>; @@ -500,6 +508,10 @@ compatible = "intel,stratix10-svc"; method = "smc"; memory-region = <&service_reserved>; + + fpga_mgr: fpga-mgr { + compatible = "intel,stratix10-soc-fpga-mgr"; + }; }; }; }; -- 2.7.4