lkml.org 
[lkml]   [2019]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v4 4/8] ARM: dts: rtd1195: Exclude boot ROM from memory ranges
Date
Carve out 0xa800 for the boot ROM from the /memory@0 node,
updating it to /memory@a800, and add it to /soc ranges.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
Could be squashed.

v4: New

arch/arm/boot/dts/rtd1195-mele-x1000.dts | 4 ++--
arch/arm/boot/dts/rtd1195.dtsi | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/rtd1195-mele-x1000.dts b/arch/arm/boot/dts/rtd1195-mele-x1000.dts
index e2050cb64474..c7951b9a2c97 100644
--- a/arch/arm/boot/dts/rtd1195-mele-x1000.dts
+++ b/arch/arm/boot/dts/rtd1195-mele-x1000.dts
@@ -19,9 +19,9 @@
stdout-path = "serial0:115200n8";
};

- memory@0 {
+ memory@a800 {
device_type = "memory";
- reg = <0x00000000 0x18000000>, /* up to r-bus */
+ reg = <0x0000a800 0x17ff5800>, /* boot ROM to r-bus */
<0x18070000 0x00090000>, /* r-bus to NOR flash */
<0x19100000 0x26f00000>; /* NOR flash to 1 GiB */
};
diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi
index c5713a5ef472..0d7c2be750f6 100644
--- a/arch/arm/boot/dts/rtd1195.dtsi
+++ b/arch/arm/boot/dts/rtd1195.dtsi
@@ -88,7 +88,8 @@
compatible = "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
- ranges = <0x18000000 0x18000000 0x00070000>,
+ ranges = <0x00000000 0x00000000 0x0000a800>,
+ <0x18000000 0x18000000 0x00070000>,
<0x18100000 0x18100000 0x01000000>,
<0x80000000 0x80000000 0x80000000>;

--
2.16.4
\
 
 \ /
  Last update: 2019-11-23 21:39    [W:0.141 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site