Split memory configuration for different projects.
Change-Id: I2928adb05dfe174a2d8413172ed10f4240f3f42d
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
memory-region = <&qseecom_mem>;
qcom,ion-heap-type = "DMA";
};
-
- qcom,ion-heap@28 { /* Audio Heap */
- reg = <28>;
- memory-region = <&ion_audio>;
- qcom,ion-heap-type = "CARVEOUT";
- };
};
};
&blsp1_uart2 {
status = "okay";
};
+
+&reserved_memory {
+ pmem_shared: pmem_shared_region@d0000000 {
+ reg = <0 0xd0000000 0 0x20000000>;
+ label = "pmem_shared_mem";
+ };
+
+ ion_system: ion_system_region@100000000 {
+ reg = <0x1 0x0 0 0x10000000>;
+ label = "ion_system_mem";
+ };
+};
no-map;
reg = <0 0x88800000 0 0x6200000>;
};
+
peripheral_mem: peripheral_region@8ea00000 {
compatible = "removed-dma-pool";
no-map;
reg = <0 0x8ea00000 0 0x2b00000>;
};
+
adsp_mem: adsp_region {
compatible = "shared-dma-pool";
alloc-ranges = <0 0x00000000 0 0xffffffff>;
alignment = <0 0x100000>;
size = <0 0x400000>;
};
+
+ ion_system: ion_system_region@ff000000 {
+ reg = <0 0xff000000 0 0x00400000>;
+ label = "ion_system_mem";
+ };
};
&soc {
#size-cells = <2>;
ranges;
- pmem_shared: pmem_shared_region {
- reg = <0 0xd0000000 0 0x20000000>;
- label = "pmem_shared_mem";
- };
- ion_system: ion_system_region {
- reg = <0x1 0x0 0 0x10000000>;
- label = "ion_system_mem";
- };
qseecom_mem: qseecom_region {
compatible = "shared-dma-pool";
alloc-ranges = <0 0x00000000 0 0xffffffff>;
alignment = <0 0x400000>;
size = <0 0x1400000>;
};
- ion_audio: ion_audio_region {
- reg = <0 0xc8000000 0 0x00400000>;
- label = "ion_audio_mem";
- };
};
};