diff options
author | Andreas Färber <afaerber@suse.de> | 2019-11-23 18:49:16 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2020-04-12 23:24:11 +0200 |
commit | af19d9b8844f5e4573e59a42914af83200bf86a4 (patch) | |
tree | 0e06290f25e479a6ea2d62b717ce71bc8d5327ef | |
parent | ARM: dts: Prepare Realtek RTD1195 and MeLE X1000 (diff) | |
download | linux-af19d9b8844f5e4573e59a42914af83200bf86a4.tar.xz linux-af19d9b8844f5e4573e59a42914af83200bf86a4.zip |
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>
-rw-r--r-- | arch/arm/boot/dts/rtd1195-mele-x1000.dts | 4 | ||||
-rw-r--r-- | 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>; |