Loading arch/arm/boot/dts/qcom/msm8939-ion.dtsi 0 → 100644 +65 −0 Original line number Diff line number Diff line /* Copyright (c) 2014, Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &soc { qcom,ion { compatible = "qcom,msm-ion"; #address-cells = <1>; #size-cells = <0>; qcom,ion-heap@25 { reg = <25>; qcom,ion-heap-type = "SYSTEM"; }; qcom,ion-heap@21 { reg = <21>; qcom,ion-heap-type = "SYSTEM_CONTIG"; }; qcom,ion-heap@8 { /* CP_MM HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <8>; qcom,heap-align = <0x1000>; linux,contiguous-region = <&secure_mem>; qcom,ion-heap-type = "SECURE_DMA"; }; qcom,ion-heap@27 { /* QSEECOM HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <27>; linux,contiguous-region = <&qseecom_mem>; qcom,ion-heap-type = "DMA"; }; qcom,ion-heap@28 { /* AUDIO HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <28>; linux,contiguous-region = <&audio_mem>; qcom,ion-heap-type = "DMA"; }; qcom,ion-heap@23 { /* OTHER PIL HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <23>; linux,contiguous-region = <&peripheral_mem>; qcom,ion-heap-type = "DMA"; }; qcom,ion-heap@26 { /* MODEM HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <26>; linux,contiguous-region = <&modem_adsp_mem>; qcom,ion-heap-type = "DMA"; }; }; }; arch/arm/boot/dts/qcom/msm8939.dtsi +48 −0 Original line number Diff line number Diff line Loading @@ -84,11 +84,59 @@ }; }; memory { #address-cells = <2>; #size-cells = <2>; external_image_mem: external_image__region@0 { linux,reserve-contiguous-region; linux,reserve-region; linux,remove-completely; reg = <0x0 0x8e200000 0x0 0x0800000>; label = "external_image_mem"; }; modem_adsp_mem: modem_adsp_region@0 { linux,reserve-contiguous-region; linux,reserve-region; linux,remove-completely; reg = <0x0 0x88800000 0x0 0x05a00000>; label = "modem_adsp_mem"; }; peripheral_mem: pheripheral_region@0 { linux,reserve-contiguous-region; linux,reserve-region; linux,remove-completely; reg = <0x0 0x8ea00000 0x0 0x0b00000>; label = "peripheral_mem"; }; secure_mem: secure_region@0 { linux,reserve-contiguous-region; reg = <0 0 0 0x6D00000>; label = "secure_mem"; }; qseecom_mem: qseecom_region@0 { linux,reserve-contiguous-region; reg = <0 0 0 0xd00000>; label = "qseecom_mem"; }; audio_mem: audio_region@0 { linux,reserve-contiguous-region; reg = <0 0 0 0x314000>; label = "audio_mem"; }; }; soc: soc { }; }; #include "msm8939-smp2p.dtsi" #include "msm8939-ipcrouter.dtsi" #include "msm8939-ion.dtsi" &soc { #address-cells = <1>; Loading Loading
arch/arm/boot/dts/qcom/msm8939-ion.dtsi 0 → 100644 +65 −0 Original line number Diff line number Diff line /* Copyright (c) 2014, Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &soc { qcom,ion { compatible = "qcom,msm-ion"; #address-cells = <1>; #size-cells = <0>; qcom,ion-heap@25 { reg = <25>; qcom,ion-heap-type = "SYSTEM"; }; qcom,ion-heap@21 { reg = <21>; qcom,ion-heap-type = "SYSTEM_CONTIG"; }; qcom,ion-heap@8 { /* CP_MM HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <8>; qcom,heap-align = <0x1000>; linux,contiguous-region = <&secure_mem>; qcom,ion-heap-type = "SECURE_DMA"; }; qcom,ion-heap@27 { /* QSEECOM HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <27>; linux,contiguous-region = <&qseecom_mem>; qcom,ion-heap-type = "DMA"; }; qcom,ion-heap@28 { /* AUDIO HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <28>; linux,contiguous-region = <&audio_mem>; qcom,ion-heap-type = "DMA"; }; qcom,ion-heap@23 { /* OTHER PIL HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <23>; linux,contiguous-region = <&peripheral_mem>; qcom,ion-heap-type = "DMA"; }; qcom,ion-heap@26 { /* MODEM HEAP */ compatible = "qcom,msm-ion-reserve"; reg = <26>; linux,contiguous-region = <&modem_adsp_mem>; qcom,ion-heap-type = "DMA"; }; }; };
arch/arm/boot/dts/qcom/msm8939.dtsi +48 −0 Original line number Diff line number Diff line Loading @@ -84,11 +84,59 @@ }; }; memory { #address-cells = <2>; #size-cells = <2>; external_image_mem: external_image__region@0 { linux,reserve-contiguous-region; linux,reserve-region; linux,remove-completely; reg = <0x0 0x8e200000 0x0 0x0800000>; label = "external_image_mem"; }; modem_adsp_mem: modem_adsp_region@0 { linux,reserve-contiguous-region; linux,reserve-region; linux,remove-completely; reg = <0x0 0x88800000 0x0 0x05a00000>; label = "modem_adsp_mem"; }; peripheral_mem: pheripheral_region@0 { linux,reserve-contiguous-region; linux,reserve-region; linux,remove-completely; reg = <0x0 0x8ea00000 0x0 0x0b00000>; label = "peripheral_mem"; }; secure_mem: secure_region@0 { linux,reserve-contiguous-region; reg = <0 0 0 0x6D00000>; label = "secure_mem"; }; qseecom_mem: qseecom_region@0 { linux,reserve-contiguous-region; reg = <0 0 0 0xd00000>; label = "qseecom_mem"; }; audio_mem: audio_region@0 { linux,reserve-contiguous-region; reg = <0 0 0 0x314000>; label = "audio_mem"; }; }; soc: soc { }; }; #include "msm8939-smp2p.dtsi" #include "msm8939-ipcrouter.dtsi" #include "msm8939-ion.dtsi" &soc { #address-cells = <1>; Loading