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

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
// 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 {
......
/*
* 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 {
......
/*
* 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 {
......
......@@ -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 {
......
......@@ -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 {
......
......@@ -5,8 +5,8 @@
* Copyright (c) 2016-2019 Andreas Färber
*/
/memreserve/ 0x0000000000000000 0x0000000000030000;
/memreserve/ 0x0000000000030000 0x00000000000d0000;
/memreserve/ 0x0000000000000000 0x000000000001f000;
/memreserve/ 0x000000000001f000 0x00000000000e1000;
/memreserve/ 0x0000000001b00000 0x00000000004be000;
#include <dt-bindings/interrupt-controller/arm-gic.h>
......@@ -52,8 +52,9 @@ soc {
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
/* Exclude up to 2 GiB of RAM */
ranges = <0x80000000 0x80000000 0x80000000>;
ranges = <0x00000000 0x00000000 0x0001f000>, /* boot ROM */
/* Exclude up to 2 GiB of RAM */
<0x80000000 0x80000000 0x80000000>;
rbus: bus@98000000 {
compatible = "simple-bus";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment