summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2021-07-14 01:00:21 -0700
committerYe Li <ye.li@nxp.com>2022-04-06 18:03:27 +0800
commit1080d7f5f1f3376f967d815557d791fb578cb779 (patch)
tree06bb6bc8bb41a2dc4d44d9c1929239b43395321f
parent72a0061288356d28afddbccb1b58973c5667050d (diff)
LFU-193-5 DTS: imx8mp: Add the CMA reserved memory
Add the CMA reserved memory node. For distro kernel which has enabled CMA, it can use this reserved memory Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 66b5e4c0c2a4cbd68b4b04e092bb93dbc01275f6) (cherry picked from commit 595e03376003c00e8d8b6ecacdfeb0417a6ef25d)
-rw-r--r--arch/arm/dts/imx8mp.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mp.dtsi b/arch/arm/dts/imx8mp.dtsi
index 74d33fd05f..c1822a3ef5 100644
--- a/arch/arm/dts/imx8mp.dtsi
+++ b/arch/arm/dts/imx8mp.dtsi
@@ -106,6 +106,21 @@
interrupt-parent = <&gic>;
};
+ resmem: reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ /* global autoconfigured region for contiguous allocations */
+ linux,cma {
+ compatible = "shared-dma-pool";
+ reusable;
+ size = <0 0x3c000000>;
+ alloc-ranges = <0 0x40000000 0 0xC0000000>;
+ linux,cma-default;
+ };
+ };
+
osc_32k: clock-osc-32k {
compatible = "fixed-clock";
#clock-cells = <0>;