Message ID | 57452d16df2d48593de206bebf877d2c2cfe7bf1.1685966389.git.michal.simek@amd.com |
---|---|
State | Accepted |
Commit | 85a2d124cdcae616d651a90fca1c3e1e06e0b91b |
Delegated to: | Michal Simek |
Headers | show |
Series | arm64: zynqmp: Fix the memory node for k26/k24 kria som boards | expand |
On 6/5/23 13:59, Michal Simek wrote: > From: Sharath Kumar Dasari <sharath.kumar.dasari@xilinx.com> > > PMUFW requires top 1MB of the lower DDR memory reserved for its operation, > this is missing in k26/k24 sm static dts files because of which U-Boot > throws warning messages "efi_free_pool: illegal free" as EFI puts > some code to that space which shouldn't happen. > > Signed-off-by: Sharath Kumar Dasari <sharath.kumar.dasari@xilinx.com> > Signed-off-by: Michal Simek <michal.simek@amd.com> > --- > > arch/arm/dts/zynqmp-sm-k26-revA.dts | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/dts/zynqmp-sm-k26-revA.dts b/arch/arm/dts/zynqmp-sm-k26-revA.dts > index f6ed047f3d9c..eac0b55de368 100644 > --- a/arch/arm/dts/zynqmp-sm-k26-revA.dts > +++ b/arch/arm/dts/zynqmp-sm-k26-revA.dts > @@ -50,6 +50,17 @@ > 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; applied. M
diff --git a/arch/arm/dts/zynqmp-sm-k26-revA.dts b/arch/arm/dts/zynqmp-sm-k26-revA.dts index f6ed047f3d9c..eac0b55de368 100644 --- a/arch/arm/dts/zynqmp-sm-k26-revA.dts +++ b/arch/arm/dts/zynqmp-sm-k26-revA.dts @@ -50,6 +50,17 @@ 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;