ARM: dts: rtd1195: Exclude boot ROM from memory ranges

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>
This commit is contained in:
Andreas Färber 2019-11-23 18:49:16 +01:00
parent 517a77d07c
commit af19d9b884
2 changed files with 4 additions and 3 deletions

View File

@ -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 */
};

View File

@ -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>;