arm64: dts: marvell: armada-ap806: reserve PSCI area
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 21 Dec 2018 16:30:46 +0000 (17:30 +0100)
committerStefan Roese <sr@denx.de>
Mon, 21 Jan 2019 10:39:50 +0000 (11:39 +0100)
The memory area [0x4000000-0x4200000[ is occupied by the PSCI firmware. Any
attempt to access it from U-Boot leads to an immediate crash.

So let's make the same memory reservation as the vendor device tree.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-ap806.dtsi

index ebdee514c09ae3c14f2741d470e78ffe5bf0940e..713c2dba74cd68378ee8e073ce79c7aa5df0643e 100644 (file)
                method = "smc";
        };
 
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               psci-area@4000000 {
+                       reg = <0x0 0x4000000 0x0 0x200000>;
+                       no-map;
+               };
+       };
+
        ap806 {
                #address-cells = <2>;
                #size-cells = <2>;