Received: by 10.192.165.148 with SMTP id m20csp99759imm; Fri, 4 May 2018 07:18:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqNsh9/7yL6SwSPWl2IeTnnzjU4Oig03R0EJ73RxS61M2yBlIg7eEmXpBKmNeHFibKS4lrt X-Received: by 10.167.129.204 with SMTP id c12mr14606551pfn.169.1525443501437; Fri, 04 May 2018 07:18:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525443501; cv=none; d=google.com; s=arc-20160816; b=FsQHj3ATD9Ft7p0faHmTyjh9GJJDjiXfFd40BUKfWc4uFUhI8CziQlwCsXW2fdDAnX zKzIuTQbqqZkjJYlJw/zHjEDo1/11oY4CEUcsZk5ODsRv46ltk7BIT77bSkHF1mXHoFq 0xZS01OJv1Zx5tPj29wddFY0KTdhi008bkTRaruNHE8zkEli/CY8cLH914tSmdaWO/mT sZS23oa1VBtXtOXG+4O7NpEbMPylAhiUbKGcU6By67ZyKaG6B/+wq6xYRO7+PoZi0L0Z k5W3ySkLR5ToNt0i2f5MmOvUuwpxsIjv2R8VzPlP6ZELWeb6RLiIn8T9qGnPaMBx6m4t FpHw== 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=NjgUJO9KUPqUkOqy1wMnAxDThs4/rESeBEWTBCf846Q=; b=DqEs8qdkmJFqi2SRlYKa8i0de5W0R0Tn9IqB84DUPoZtoNDwsnnUWmgpE4cGUQDYpP P77goB1fpK9QvVzqEhrDTTs1vXjFJiohAn2Wfcn8iXFAq+VjEJePgOd95wXOD6nKIyGA lQhk2FkeIn5+nVTvuXnllrINyISwLMAd5+BLffCJuNal0qCNsybhMfFxHH9iEn54SBkJ an9DHfgBQ2C5dg91sJTknhGr5P6+CBKdyjZ17DW9vqdlKfkxg6X414ACwzANbxlkWYJJ F+GjZYNl/7pMN2A+6gvMAx6idIdaQIUVXOML9rFKPCwTk7bjGK1auzwpqcsePfGftFsN WcEA== 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 h1-v6si1537415pgn.430.2018.05.04.07.18.07; Fri, 04 May 2018 07:18:21 -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 S1751455AbeEDORj (ORCPT + 99 others); Fri, 4 May 2018 10:17:39 -0400 Received: from mga07.intel.com ([134.134.136.100]:51761 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196AbeEDORg (ORCPT ); Fri, 4 May 2018 10:17:36 -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 orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 May 2018 07:17:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,362,1520924400"; d="scan'208";a="196735466" Received: from marshy.an.intel.com ([10.122.105.159]) by orsmga004.jf.intel.com with ESMTP; 04 May 2018 07:17:34 -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 2/7] arm64: dts: stratix10: add stratix10 service driver binding to base dtsi Date: Fri, 4 May 2018 09:21:32 -0500 Message-Id: <1525443697-31009-3-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: Richard Gong Add Intel Stratix10 service layer to the device tree Signed-off-by: Richard Gong Signed-off-by: Alan Tull --- v2: Change to put service layer driver node under the firmware node Change compatible to "intel, stratix10-svc" v3: No change v4: s/service driver/stratix10 service driver/ in subject line --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index 0b28f1f..985b9e5 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi @@ -24,6 +24,19 @@ #address-cells = <2>; #size-cells = <2>; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + service_reserved: svcbuffer@0 { + compatible = "shared-dma-pool"; + reg = <0x0 0x0 0x0 0x1000000>; + alignment = <0x1000>; + no-map; + }; + }; + cpus { #address-cells = <1>; #size-cells = <0>; @@ -454,5 +467,13 @@ resets = <&rst WATCHDOG3_RESET>; status = "disabled"; }; + + firmware { + svc { + compatible = "intel,stratix10-svc"; + method = "smc"; + memory-region = <&service_reserved>; + }; + }; }; }; -- 2.7.4