From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQTlr-0007pJ-G3 for barebox@lists.infradead.org; Thu, 08 Oct 2020 11:07:40 +0000 From: Oleksij Rempel Date: Thu, 8 Oct 2020 13:07:34 +0200 Message-Id: <20201008110734.31719-1-o.rempel@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v1] ARM: dts: imx6q-prti6q: add pstore/ramoops node To: barebox@lists.infradead.org Cc: Oleksij Rempel , david@protonic.nl In some cases we have no UART access, but we still need to get barebox messages. With ramoops enabled, we still can get barebox message from running Linux by reading: cat /sys/fs/pstore/console-ramoops-0 Signed-off-by: Oleksij Rempel --- arch/arm/dts/imx6qdl-prti6q.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/dts/imx6qdl-prti6q.dtsi b/arch/arm/dts/imx6qdl-prti6q.dtsi index f2b36553d4..bfc059e34f 100644 --- a/arch/arm/dts/imx6qdl-prti6q.dtsi +++ b/arch/arm/dts/imx6qdl-prti6q.dtsi @@ -27,6 +27,17 @@ }; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + /* Address will be determined by the bootloader */ + ramoops { + compatible = "ramoops"; + }; + }; + reg_1v8: regulator-1v8 { compatible = "regulator-fixed"; regulator-name = "1v8"; -- 2.28.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox