[linux-yocto] [PATCH 5/5] arm64: dts: r8a7795-h3ulcb: Add reserved memory regions
Meng.Li at windriver.com
Meng.Li at windriver.com
Wed Oct 23 23:02:03 PDT 2019
From: Yusuke Goda <yusuke.goda.sx at renesas.com>
commit 1d40ccc5723b9b3028829194c422a01cf8afd2a3 from
git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-bsp.git
This patch adds reserved memory regions:
- Lossy Decompression
48 MiB : 0x0054000000 -> 0x0056ffffff
- Default CMA area
400 MiB : 0x0057000000 -> 0x006fffffff
- CMA area for MMP
256 MiB : 0x0070000000 -> 0x007fffffff
Signed-off-by: Yusuke Goda <yusuke.goda.sx at renesas.com>
[takeshi.kihara.df: fix W=1 dtc unit_address_vs_reg warnings]
Signed-off-by: Takeshi Kihara <takeshi.kihara.df at renesas.com>
Signed-off-by: Meng Li <Meng.Li at windriver.com>
---
.../arm64/boot/dts/renesas/r8a7795-h3ulcb.dts | 29 ++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts
index 54515eaf0310..b9088a4e0a4a 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts
@@ -2,7 +2,7 @@
/*
* Device Tree Source for the H3ULCB (R-Car Starter Kit Premier) board
*
- * Copyright (C) 2016 Renesas Electronics Corp.
+ * Copyright (C) 2016-2017 Renesas Electronics Corp.
* Copyright (C) 2016 Cogent Embedded, Inc.
*/
@@ -34,6 +34,33 @@
device_type = "memory";
reg = <0x7 0x00000000 0x0 0x40000000>;
};
+
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ /* device specific region for Lossy Decompression */
+ lossy_decompress: linux,lossy_decompress at 54000000 {
+ no-map;
+ reg = <0x00000000 0x54000000 0x0 0x03000000>;
+ };
+
+ /* global autoconfigured region for contiguous allocations */
+ linux,cma at 57000000 {
+ compatible = "shared-dma-pool";
+ reusable;
+ reg = <0x00000000 0x57000000 0x0 0x19000000>;
+ linux,cma-default;
+ };
+
+ /* device specific region for contiguous allocations */
+ mmp_reserved: linux,multimedia at 70000000 {
+ compatible = "shared-dma-pool";
+ reusable;
+ reg = <0x00000000 0x70000000 0x0 0x10000000>;
+ };
+ };
};
&du {
--
2.17.1
More information about the linux-yocto
mailing list