Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp710918imm; Wed, 18 Jul 2018 09:20:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcTqI2Sji5d2PDPbVuEUC4Vh/Xud5f4eEXlLUEp1ge7Ax++Pnp+Vyj2nsIrT7KlCtzUhYuG X-Received: by 2002:a62:1a4a:: with SMTP id a71-v6mr5892678pfa.190.1531930816208; Wed, 18 Jul 2018 09:20:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531930816; cv=none; d=google.com; s=arc-20160816; b=N2DJB34oQ9cb1L6Y9mGiGPE8dp2dRaayAiR0qs0N74r1IkeIY05eqUvq7cKFXzfOwj SQmJZvo1SeEifNhIXhGlAI2wxk9gp0oidJnvAwLcKAfqmXNbdPgbPBB1IOQmKGFgGMcN Rij/+lXF8q9KtAf4Qlb1ooH7T3PTKUZb+3ZTAghXX3n9cTYrTEsfW+cE8Wtf6bIYnwPD VwxGtsSnp9G1FJZF0HN2WdD2t0wkAYAnevyoMb4U2DZJE0rsnnJ94pTU9CVSaMDCTyuQ mYN2T3iYR/3dP6foGesmRGCWfTOJsLrj9mDAVQJWlA/VWEU2ZMG4EqU/ZwoJELRg5oSq YjPg== 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=iSXBetg4BjLxOEjMv/MFb/sRN9QX/uZnTzZFaV70zNQ=; b=Dejb1TEfGdInNMvyfn5rJANFC7Ii3dHrM17I9HD4hBES/3pte0z3wRARXFyKK2dnIJ ck4ZmqFNUP3cbnJY3+hyNMSMDl2uWEJCre8u3XeC3NmndqpL7IMXVMBb4nLDCuY4xess ApHxlwXFJaXNDDZqqaOvsSDH3V45VxgNjAsI10Tu7Ac0bZtm83r8bGMRFEiI3wWp4tL3 cxZCTLF7/fEEE5gAYl9tJbRPYuHHOT2btyEUUjLSL0A6gGhn3ZOVf31fJDvtsLL/aW0I Y9B4xW4JwvSjdeLyTo9yhXowwe101VZXWfziMu116ITUK09yizoZpGqD6Q/ZCHeWTQlr pPpA== 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 z125-v6si3681988pfz.10.2018.07.18.09.20.01; Wed, 18 Jul 2018 09:20:16 -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 S1731586AbeGRQzM (ORCPT + 99 others); Wed, 18 Jul 2018 12:55:12 -0400 Received: from mga14.intel.com ([192.55.52.115]:3828 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731282AbeGRQzM (ORCPT ); Wed, 18 Jul 2018 12:55:12 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jul 2018 09:16:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,370,1526367600"; d="scan'208";a="67947023" Received: from marshy.an.intel.com ([10.122.105.159]) by orsmga003.jf.intel.com with ESMTP; 18 Jul 2018 09:16:33 -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: [PATCHv7 2/9] arm64: dts: stratix10: add stratix10 service driver binding to base dtsi Date: Wed, 18 Jul 2018 11:18:37 -0500 Message-Id: <1531930724-22061-3-git-send-email-richard.gong@linux.intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531930724-22061-1-git-send-email-richard.gong@linux.intel.com> References: <1531930724-22061-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 Acked-by: Moritz Fischer --- 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 v5: No change v6: Add Moritz's Acked-by v7: No change --- 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 d033da4..ee4715a 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>; @@ -493,5 +506,13 @@ status = "disabled"; }; + + firmware { + svc { + compatible = "intel,stratix10-svc"; + method = "smc"; + memory-region = <&service_reserved>; + }; + }; }; }; -- 2.7.4