arm64: zynqmp: Add memory reserved node for k26 Kria SOM board
authorSharath Kumar Dasari <sharath.kumar.dasari@xilinx.com>
Mon, 12 Jun 2023 07:41:45 +0000 (09:41 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 10 Jul 2023 10:06:26 +0000 (12:06 +0200)
PMUFW (Power Management Unit firmware) requires top 1MB of the lower DDR
memory reserved for its operation, this is missing in k26 SM static dts
file. Bootloader or kernel shouldn't access this location.

Signed-off-by: Sharath Kumar Dasari <sharath.kumar.dasari@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/8ddc7fb4bf40faead7a015ad7e095f3f7d2ec191.1686555698.git.michal.simek@amd.com
arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts

index c1f21b0e1760f61a6351c326f257921cde278ce4..c4774a42d5fcd4811ec36b989be63a496c835aa5 100644 (file)
                reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
        };
 
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+
+               pmu_region: pmu@7ff00000 {
+                       reg = <0x0 0x7ff00000 0x0 0x100000>;
+                       no-map;
+               };
+       };
+
        gpio-keys {
                compatible = "gpio-keys";
                autorepeat;