mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
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: Rob Herring <robh@kernel.org> Fixes:72a7786c0a
("ARM64: dts: Add Realtek RTD1295 and Zidoo X9S") Fixes:d938a964a9
("arm64: dts: realtek: Add ProBox2 Ava") Fixes:a9ce6f8545
("arm64: dts: realtek: Add MeLE V9") Fixes:cf976f660e
("arm64: dts: realtek: Add RTD1293 and Synology DS418j") Fixes:5133636e41
("arm64: dts: realtek: Add RTD1296 and Synology DS418") Cc: James Tai <james.tai@realtek.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
6d2fdb2410
commit
3040e132be
6 changed files with 18 additions and 17 deletions
|
@ -1,6 +1,6 @@
|
|||
// 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 {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* 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 {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* 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";
|
||||
|
|
Loading…
Reference in a new issue