Commit 3040e132 authored by Andreas Färber's avatar Andreas Färber
Browse files

arm64: dts: realtek: rtd129x: Carve out boot ROM from memory



Update DS418j, MeLE V9, PROBOX2 AVA, Zidoo X9S and DS418 /memory nodes
to exclude 0..0x1efff from reg entry and update unit address to match.
Add this region to /soc ranges and for now just update the /memreserve/s.

Suggested-by: default avatarRob Herring <robh@kernel.org>
Fixes: 72a7786c ("ARM64: dts: Add Realtek RTD1295 and Zidoo X9S")
Fixes: d938a964 ("arm64: dts: realtek: Add ProBox2 Ava")
Fixes: a9ce6f85 ("arm64: dts: realtek: Add MeLE V9")
Fixes: cf976f66 ("arm64: dts: realtek: Add RTD1293 and Synology DS418j")
Fixes: 5133636e ("arm64: dts: realtek: Add RTD1296 and Synology DS418")
Cc: James Tai <james.tai@realtek.com>
Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
parent 6d2fdb24
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
/*
 * Copyright (c) 2017 Andreas Färber
 * Copyright (c) 2017-2019 Andreas Färber
 */

/dts-v1/;
@@ -11,9 +11,9 @@
	compatible = "synology,ds418j", "realtek,rtd1293";
	model = "Synology DiskStation DS418j";

	memory@0 {
	memory@1f000 {
		device_type = "memory";
		reg = <0x0 0x40000000>;
		reg = <0x1f000 0x3ffe1000>; /* boot ROM to 1 GiB */
	};

	aliases {
+3 −3
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017 Andreas Färber
 * Copyright (c) 2017-2019 Andreas Färber
 *
 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
 */
@@ -12,9 +12,9 @@
	compatible = "mele,v9", "realtek,rtd1295";
	model = "MeLE V9";

	memory@0 {
	memory@1f000 {
		device_type = "memory";
		reg = <0x0 0x80000000>;
		reg = <0x1f000 0x7ffe1000>; /* boot ROM to 2 GiB */
	};

	aliases {
+3 −3
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017 Andreas Färber
 * Copyright (c) 2017-2019 Andreas Färber
 *
 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
 */
@@ -12,9 +12,9 @@
	compatible = "probox2,ava", "realtek,rtd1295";
	model = "PROBOX2 AVA";

	memory@0 {
	memory@1f000 {
		device_type = "memory";
		reg = <0x0 0x80000000>;
		reg = <0x1f000 0x7ffe1000>; /* boot ROM to 2 GiB */
	};

	aliases {
+2 −2
Original line number Diff line number Diff line
@@ -11,9 +11,9 @@
	compatible = "zidoo,x9s", "realtek,rtd1295";
	model = "Zidoo X9S";

	memory@0 {
	memory@1f000 {
		device_type = "memory";
		reg = <0x0 0x80000000>;
		reg = <0x1f000 0x7ffe1000>; /* boot ROM to 2 GiB */
	};

	aliases {
+2 −2
Original line number Diff line number Diff line
@@ -11,9 +11,9 @@
	compatible = "synology,ds418", "realtek,rtd1296";
	model = "Synology DiskStation DS418";

	memory@0 {
	memory@1f000 {
		device_type = "memory";
		reg = <0x0 0x80000000>;
		reg = <0x1f000 0x7ffe1000>; /* boot ROM to 2 GiB */
	};

	aliases {
Loading