ARM: dts: rtd1195: Exclude boot ROM from memory ranges
authorAndreas Färber <afaerber@suse.de>
Sat, 23 Nov 2019 17:49:16 +0000 (18:49 +0100)
committerAndreas Färber <afaerber@suse.de>
Sun, 12 Apr 2020 21:24:11 +0000 (23:24 +0200)
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>
arch/arm/boot/dts/rtd1195-mele-x1000.dts
arch/arm/boot/dts/rtd1195.dtsi

index e2050cb64474e4fe0b65d8d0df4804d7afa2913b..c7951b9a2c97bef7c800ad5a40a61c4331806b94 100644 (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 */
        };
index c5713a5ef4729cce65b364b15da68dbb2cab331b..0d7c2be750f6fc2d4ad0ff9c6924f96972923430 100644 (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>;