lkml.org 
[lkml]   [2023]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] arm64: zynqmp: Add memory reserved node for k26 Kria SOM board
From


On 6/12/23 09:41, Michal Simek wrote:
> From: Sharath Kumar Dasari <sharath.kumar.dasari@xilinx.com>
>
> 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>
> ---
>
> arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
> index c1f21b0e1760..c4774a42d5fc 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
> @@ -50,6 +50,17 @@ memory@0 {
> 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

\
 
 \ /
  Last update: 2023-07-10 12:11    [W:0.035 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site