From patchwork Wed Jun 21 17:10:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 9802325 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8F07E600C5 for ; Wed, 21 Jun 2017 17:11:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7434228534 for ; Wed, 21 Jun 2017 17:11:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6722028589; Wed, 21 Jun 2017 17:11:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AA1AC28534 for ; Wed, 21 Jun 2017 17:11:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=bO0LCqxChcxs3W0vryGZVK30RNHDJwXTAptfGs7h4nI=; b=I7T HszqfmsRvzkM+bbT/+7xOhKEJld7A7sEGPhr3Y0KKO0IsPRYpZ7wvIvwltUFPp9e9LMcINs9f8xll dP1XC/pScO5xiu0BSLX4twxYIxcILJsiRCxtwu7It45Ek1N+vH2DLSjiVcFBl43781MIMJJwPi1hb afPC++S8s9raLYQPZWDqc4gLeBNM2sbbcmfnW2koBsfEpJSitd9rY/HxO6Tv+XnXiDXocF/Riw5Yt glDJEAQFZ+Zgr9YrbaCDUjvY2AJZIylhA2DzT/pkOu9bnfg3jg6uvEodsXzfNcBuIcea1geOKTW8k pGDNV6qRs1GJc6z/l4Bl25gab9g5pdA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dNj9y-0004kh-Tv; Wed, 21 Jun 2017 17:11:18 +0000 Received: from mout.gmx.net ([212.227.17.22]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dNj9v-0004j7-57 for linux-arm-kernel@lists.infradead.org; Wed, 21 Jun 2017 17:11:16 +0000 Received: from zwerg.lan ([31.18.251.132]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MOfQw-1dShUp3ywo-0066C8; Wed, 21 Jun 2017 19:10:30 +0200 From: Oleksij Rempel To: Rob Herring , Mark Rutland , Russell King , Maxime Ripard , Chen-Yu Tsai , Kees Cook , Anton Vorontsov , Colin Cross , Tony Luck , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] ARM: dts: sun7i: provide ramoops region on BananaPi Date: Wed, 21 Jun 2017 19:10:17 +0200 Message-Id: <1498065017-30556-1-git-send-email-linux@rempel-privat.de> X-Mailer: git-send-email 2.7.4 X-Provags-ID: V03:K0:lXJl2isjx8FNkfjU1K6UtvHxt3HA8wd23kW+fbY0maEHxHuwp/i tfePgIE9VJZMPxh55bnMYr1UbGrd56TPY8v/Hr5V46Ah+vCOyiBa3LJNtxBRmbz/IymZqxH DbrXhJ5Qo8HZnQspfi0CCYwhVUvr+V6YIhnilLrMU8AoPT3QSPnwFRu6nroutlomRZCIqSZ rHXYmgVjTB9HFM3J3MQ/Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:ykZnsYT+Xuo=:tXPVi2eupt9gbJ0csk1n4Z CwWWuvkLtwwkNZwAQyKQ5q3eMdDnGi3GxiYs4Nz3++70RwilxiPX+zG9VyD6RMmWx1ILjpMo1 pAHqXlsH+ePJQ3Vrj0Fc0CFLd9NuRfRNodJr1x2ugMg2mFrXb04DwD2zQXuuzwkjhLAAGhXYY J3jrpx7oRl8hvJ/60DW5uGKaKFNw/VWIDfFbFM+WzvCHQgenyF2vsIr2inIiizbRrAemZGIcW bqR4VxGuTWGPOhxW4IjMo4F0XeNFLlGYpK1zfH1DtFl2pHn4jYAEW73ujhQIhwcLEKANw0Nq7 1DIn91ku26zM9VDLyHxrzIXfsAD+K72Pnrm/uds0ixCrrbeLPBRtWldqFhugFmI30fV94nycv DQzSUlh7/cEEigx6t9NemV2GhFtmdVUhEqxkXvyw7+BZb+zbDYOCHP75mWTEGdd7ejtK+iiIh 6g7dDqU45MmCxMfB2jzLRQ3yncQBoJqtuUxlPWjtxYQsl1RU1OaZdyj7VbSbyXs08+36NGkoI vcXZ54+KokoVVMZTCYg+UMNEPR0hsfCRoVaHlJQQcFADh5BzbAzkkuWffsAlbGcw7LvDLdnPx cSJCFbZnhE/JSfdLiHxYRZduJ1v1xdF6k0nZbatCcR/1vVGEd+4bm0iZm2EUVyGBjrVvSXtwG 6BybJv6DfchNEP+Kb+AqFdlkcCInuy/WowFp75ODa8QckPDz8I/APUIbABRtvEvyFk4myGqNQ dzO0h+r05zETQz3iaq24255ym8H9LEasvblugj4qy+cftbQfM1AbaYGsOhc= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170621_101115_522886_22ED4D36 X-CRM114-Status: UNSURE ( 7.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Oleksij Rempel MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This should help provide useful debug information on remote targets without UART. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/sun7i-a20-bananapi.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-bananapi.dts b/arch/arm/boot/dts/sun7i-a20-bananapi.dts index ed2f35a..38923bf 100644 --- a/arch/arm/boot/dts/sun7i-a20-bananapi.dts +++ b/arch/arm/boot/dts/sun7i-a20-bananapi.dts @@ -63,6 +63,22 @@ stdout-path = "serial0:115200n8"; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + ramoops@7fb6a000 { + compatible = "ramoops"; + reg = <0x7fb6a000 0x100000>; + ecc-size = <16>; + record-size = <0x00020000>; + console-size = <0x00020000>; + ftrace-size = <0x00020000>; + pmsg-size = <0x00020000>; + }; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default";