Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1235941imm; Tue, 3 Jul 2018 07:47:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe+cV8wKGLxVTZwsYVQnX1kSiuZiadXHbOHU8u2Vx7GO/Jf1Oph1VP8W2kfVJjgtOPqfFNW X-Received: by 2002:a62:2942:: with SMTP id p63-v6mr30062853pfp.62.1530629254128; Tue, 03 Jul 2018 07:47:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530629254; cv=none; d=google.com; s=arc-20160816; b=GHLOrzoirbTvYFgK2UI4hzLHjR/0PWj6DkqzwIP75aFxe+zymtr88QnfNykY7wRpWB gLHY/J3QEG9zEOzwgAgOMpi6lHa8hSXlF4pzL1VVSo92Ql7q7RZptGwM3RgX0NoUqe/N vNmcrCsoyXsS7bEf6zQbY6dLAH4NrzqRYFRmPNvm8Kt5UbvRJd0I+Ay1NiqEPXO17kn7 aQ7QkizCBvPHfSi2P5BBWXtAY4rcuGizqMu3uuoB3/uoBvf4AKeopsd7rt9wPvZl+5I7 711J8LUsXgxw0w3m4s9oOV0IIuNRoXt6b54Lwb/YjASxeUsZgaaa8PaDKEmgl1SGDohH XY2w== 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=wZjdTkYgfyH01yFsxfD2rIGPG0BMeB6h2aPNkr4+7+k=; b=uxxiaLarv1RjjroGrf8fZih2qfUWlYAwGKG3wGUjs9FvpigXsFdjETiiuoQNlIUsG4 zjmfttunXablt2q7VeYx5Atoxr/5U+1brG53WxmuJdH2rHYrXGxDtTBTsAh3R8YEdCYo YW1kXcV/XwMNrpnp/svzkq9Vetfhq5UmR7TzmFBL/DVZ/QeJAL0TNXEvnwoV3sBuxyu+ 5T8uzpFcM6IZ67ErLR+a7sukJHv+GxM8G1aHDOJC6DZvj0hk/fRgOBfJxXf5McwqMQrx i/dWU4trcxQ2syZ1Vuex1RwixM17F7A8P1Efcjk1mJnPbHzVQAQIqyG/cUL9qKNkRLpf pBqA== 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 k190-v6si1175278pge.276.2018.07.03.07.47.19; Tue, 03 Jul 2018 07:47:34 -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 S933436AbeGCOqG (ORCPT + 99 others); Tue, 3 Jul 2018 10:46:06 -0400 Received: from mga14.intel.com ([192.55.52.115]:9365 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932517AbeGCOoH (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="68333117" Received: from marshy.an.intel.com ([10.122.105.159]) by fmsmga004.fm.intel.com with ESMTP; 03 Jul 2018 07:43:52 -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 2/8] arm64: dts: stratix10: add stratix10 service driver binding to base dtsi Date: Tue, 3 Jul 2018 09:46:49 -0500 Message-Id: <1530629215-26990-3-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: 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 --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index e6b05937..1ba9a1c 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>; @@ -466,5 +479,28 @@ interrupts = <16 4>, <48 4>; }; }; + + qspi: spi@ff8d2000 { + compatible = "cdns,qspi-nor"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0xff8d2000 0x100>, + <0xff900000 0x100000>; + interrupts = <0 3 4>; + cdns,fifo-depth = <128>; + cdns,fifo-width = <4>; + cdns,trigger-address = <0x00000000>; + clocks = <&qspi_clk>; + + status = "disabled"; + }; + + firmware { + svc { + compatible = "intel,stratix10-svc"; + method = "smc"; + memory-region = <&service_reserved>; + }; + }; }; }; -- 2.7.4