From patchwork Mon Aug 14 09:50:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 109970 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4117794qge; Mon, 14 Aug 2017 02:52:39 -0700 (PDT) X-Received: by 10.98.36.198 with SMTP id k67mr25098557pfk.154.1502704359075; Mon, 14 Aug 2017 02:52:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502704359; cv=none; d=google.com; s=arc-20160816; b=j24mL/IlRmsmTJMTfe7X97KWm5dmPI1yH7v+58zShSa8ttU+vG+nmT/eaXLI/LZPEH G1iwPFQ/mNEdm4LfO3iD5ovzWFDQw7p8QkhliEtZA92G+Nd1EIHvDDclyQ78qGp5o6ml fLdca05dWcY0A0jrrmrlR1YTeAzPjDRYsAmP4MH3KzUZ7cHCy28idgFB/8+yR/XHMuvv D1zJ54CrnXBx/vEtkCxDQFsM3HzQDV+fILzr0hLULl7LSIgiSYSXA9Dw0+aD3Y3GmAaC v7gGjiBGGPQc8kDTJA7QJ1ZBoWf327we2qFY9XRy2XplM5F+5MvXqNy8ZGq0aGXLbz3Z +gmw== 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:dkim-signature:arc-authentication-results; bh=BcntUKTVJ+FA0VcGPAtUHosXSpVV2KncpZwvcUW/Se0=; b=nUjT0dYwE1HBFgoFZQyRULBXO+yRHxHd0a/CRajCbJcBjyCGhWrs7IYo0UIln+6+Lr JwWtOjqz2aYigKE7UNPHd53FO0U58c38r+lw6cBY6GpY1/ifHLS9DK/CA0Zts+Pdustx Yx/5rwClIS1xqr7Mr5q8hie1WR4eNCQ8G8Gcs9kpIUOd+wX5KyvuLkISYeatP1huLpyk nIUGAW/NT8RICMtf2fcXpr0W/dF3aAD2a3lYhJ5KYAMeu352VLMYV7yQgKJkJJ2oEfTr hww0TBQH4IkP0hMn7hqlSSu+JHINu41gEBw+i8uEX850pW9FizTkujR/qqmq+fh4b2/d hkNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ys7+/vu8; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m88si3973364pfa.226.2017.08.14.02.52.38; Mon, 14 Aug 2017 02:52:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ys7+/vu8; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752837AbdHNJwf (ORCPT + 6 others); Mon, 14 Aug 2017 05:52:35 -0400 Received: from mail-pg0-f46.google.com ([74.125.83.46]:37507 "EHLO mail-pg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752817AbdHNJwd (ORCPT ); Mon, 14 Aug 2017 05:52:33 -0400 Received: by mail-pg0-f46.google.com with SMTP id y129so44159976pgy.4 for ; Mon, 14 Aug 2017 02:52:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0p32t2rEJNcki7qqS9LxDJb86SxhFm8dQpqqyYidYmg=; b=Ys7+/vu8xqmcEAaVxGy9XuRYsHNypyvPmr4DdzvyguBp7cDTVFK/PF06BNPRi90L4u RRM+9kdJDpMg6e5wLY+BHJvx7vkozag8LY3REYSOUZsqeYJ2wHp5dEu1bYMe/Sumo692 yIhMoT96B7RKjJZeRy4agcYVBIsFZpSJJs5Dc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0p32t2rEJNcki7qqS9LxDJb86SxhFm8dQpqqyYidYmg=; b=IQ6IZTI58qzM1i2+VBHmKHonlb5pd0/W/Jd613pTF7VNZVMyMEq/YpYnOVFFBAEULP BofCjl2OEsKn/MiDfvyYBl1AYejEYVg+YsRx5qmvmVwoUvVTmf1ayf++0wBwEpGH8ETF 1LQncTjLC40RUFI1Ib/u/2oPE+Nn645CbbtPkFaqklNDR6Z1B8oOqHWOwzEfgnA8FjVE 3buPu6fFzHlagTfVEVwmPJZyamb2l6lr8VbP7nSMYxf7DicSezu/KGCnJmEKxhn4a4dT WedhQCZNLqrGdnQbKi7wf3AX0qu6uBgDpU8b1gGGHHepD5e4SmhJoiaZAqjOEg4LODUd 4SZw== X-Gm-Message-State: AHYfb5jih0pb2JpNxe2FeEGhzirk5UATXOVfoB68+DrJjS9rwFkf9ylG tc10xDjUN5mp1Scm X-Received: by 10.84.217.76 with SMTP id e12mr27273813plj.399.1502704353126; Mon, 14 Aug 2017 02:52:33 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.45]) by smtp.gmail.com with ESMTPSA id e63sm3468674pfc.24.2017.08.14.02.52.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 02:52:32 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Guodong Xu , John Stultz Subject: [PATCH v3 06/10] arm64: dts: hikey960: Add pstore support Date: Mon, 14 Aug 2017 17:50:45 +0800 Message-Id: <20170814095049.27701-7-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170814095049.27701-1-guodong.xu@linaro.org> References: <20170814095049.27701-1-guodong.xu@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch reserves some memory in the DTS and sets up a pstore device tree node to enable pstore support on HiKey960. Cc: John Stultz Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index ce5e874..7770ec7 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -39,6 +39,20 @@ reg = <0x0 0x0 0x0 0x0>; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + ramoops@32000000 { + compatible = "ramoops"; + reg = <0x0 0x32000000 0x0 0x00100000>; + record-size = <0x00020000>; + console-size = <0x00020000>; + ftrace-size = <0x00020000>; + }; + }; + reboot-mode-syscon@32100000 { compatible = "syscon", "simple-mfd"; reg = <0x0 0x32100000 0x0 0x00001000>;