DTS: axg_s420_128m change secmon reserve method to CMA.
authoryuegui.he <yuegui.he@amlogic.com>
Fri, 21 Sep 2018 08:07:06 +0000 (16:07 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 25 Sep 2018 07:22:08 +0000 (00:22 -0700)
PD#174134: axg s420 128m ddr trunk secmon malloc failure

Change-Id: Ie836d84537056cd28c1d5a4868b3cdc5fd710cac
Signed-off-by: yuegui.he <yuegui.he@amlogic.com>
arch/arm64/boot/dts/amlogic/axg_s420_128m.dts

index 5b9e0eb..fc52b5e 100644 (file)
                ranges;
                /* global autoconfigured region for contiguous allocations */
                secmon_reserved:linux,secmon {
-                       compatible = "amlogic, aml_secmon_memory";
-                       reg = <0x0 0x05000000 0x0 0x300000>;
-                       no-map;
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x0 0x300000>;
+                       alignment = <0x0 0x300000>;
+                       alloc-ranges = <0x0 0x05000000 0x0 0x300000>;
                };
 
                secos_reserved:linux,secos {