[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210805065429.27485-8-clin@suse.com>
Date: Thu, 5 Aug 2021 14:54:28 +0800
From: Chester Lin <clin@...e.com>
To: Rob Herring <robh+dt@...nel.org>
CC: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-serial@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Shawn Guo <shawnguo@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Oleksij Rempel <linux@...pel-privat.de>,
Stefan Riedmueller <s.riedmueller@...tec.de>,
Matthias Schiffer <matthias.schiffer@...tq-group.com>,
Li Yang <leoyang.li@....com>,
Fabio Estevam <festevam@...il.com>,
Matteo Lisi <matteo.lisi@...icam.com>,
Frieder Schrempf <frieder.schrempf@...tron.de>,
Tim Harvey <tharvey@...eworks.com>,
Jagan Teki <jagan@...rulasolutions.com>, s32@....com,
catalin-dan.udma@....com, bogdan.hamciuc@....com,
bogdan.folea@....com, ciprianmarian.costea@....com,
radu-nicolae.pirea@....com, ghennadi.procopciuc@....com,
Matthias Brugger <matthias.bgg@...il.com>,
Andreas Färber <afaerber@...e.de>,
"Ivan T . Ivanov" <iivanov@...e.de>,
"Lee, Chun-Yi" <jlee@...e.com>, Chester Lin <clin@...e.com>
Subject: [PATCH 7/8] arm64: dts: s32g2: add memory nodes for evb and rdb2
Add memory nodes for S32G-VNP-EVB and S32G-VNP-RDB2 since they have fixed
RAM size.
Signed-off-by: Chester Lin <clin@...e.com>
---
arch/arm64/boot/dts/freescale/s32g274a-evb.dts | 8 ++++++++
arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/s32g274a-evb.dts b/arch/arm64/boot/dts/freescale/s32g274a-evb.dts
index a1ae5031730a..cd41f0af5dd8 100644
--- a/arch/arm64/boot/dts/freescale/s32g274a-evb.dts
+++ b/arch/arm64/boot/dts/freescale/s32g274a-evb.dts
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
* Copyright (c) 2021 SUSE LLC
+ * Copyright 2019-2020 NXP
*/
/dts-v1/;
@@ -14,6 +15,13 @@ / {
chosen {
stdout-path = "serial0:115200n8";
};
+
+ memory@...00000 {
+ device_type = "memory";
+ /* 4GB RAM */
+ reg = <0 0x80000000 0 0x80000000>,
+ <8 0x80000000 0 0x80000000>;
+ };
};
&uart0 {
diff --git a/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts b/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts
index b2faae306b70..8fbbf3b45eb8 100644
--- a/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts
+++ b/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dts
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
* Copyright (c) 2021 SUSE LLC
+ * Copyright 2019-2020 NXP
*/
/dts-v1/;
@@ -14,6 +15,13 @@ / {
chosen {
stdout-path = "serial0:115200n8";
};
+
+ memory@...00000 {
+ device_type = "memory";
+ /* 4GB RAM */
+ reg = <0 0x80000000 0 0x80000000>,
+ <8 0x80000000 0 0x80000000>;
+ };
};
&uart0 {
--
2.30.0
Powered by blists - more mailing lists