* [PATCH] arm64: zynqmp: Add memory reserved node for k26 Kria SOM board
@ 2023-06-12 7:41 Michal Simek
2023-07-10 10:06 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2023-06-12 7:41 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Sharath Kumar Dasari, Amit Kumar Mahapatra, Conor Dooley,
Krzysztof Kozlowski, Manikanta Guntupalli, Parth Gajjar,
Rob Herring, Srinivas Neeli, devicetree, linux-arm-kernel
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;
--
2.36.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: zynqmp: Add memory reserved node for k26 Kria SOM board
2023-06-12 7:41 [PATCH] arm64: zynqmp: Add memory reserved node for k26 Kria SOM board Michal Simek
@ 2023-07-10 10:06 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2023-07-10 10:06 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Sharath Kumar Dasari, Amit Kumar Mahapatra, Conor Dooley,
Krzysztof Kozlowski, Manikanta Guntupalli, Parth Gajjar,
Rob Herring, Srinivas Neeli, devicetree, linux-arm-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-10 10:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-12 7:41 [PATCH] arm64: zynqmp: Add memory reserved node for k26 Kria SOM board Michal Simek
2023-07-10 10:06 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®