msm8974-ion.dtsi 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. &soc {
  13. qcom,ion {
  14. compatible = "qcom,msm-ion";
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. qcom,ion-heap@25 {
  18. reg = <25>;
  19. qcom,ion-heap-type = "SYSTEM";
  20. };
  21. qcom,ion-heap@8 { /* CP_MM HEAP */
  22. compatible = "qcom,msm-ion-reserve";
  23. reg = <8>;
  24. qcom,heap-align = <0x1000>;
  25. linux,contiguous-region = <&secure_mem>;
  26. qcom,ion-heap-type = "SECURE_DMA";
  27. qcom,default-prefetch-size = <0x6c00000>;
  28. };
  29. qcom,ion-heap@22 { /* adsp heap */
  30. compatible = "qcom,msm-ion-reserve";
  31. reg = <22>;
  32. qcom,heap-align = <0x1000>;
  33. linux,contiguous-region = <&adsp_mem>;
  34. qcom,ion-heap-type = "DMA";
  35. };
  36. qcom,ion-heap@27 { /* QSECOM HEAP */
  37. compatible = "qcom,msm-ion-reserve";
  38. reg = <27>;
  39. linux,contiguous-region = <&qsecom_mem>;
  40. qcom,ion-heap-type = "DMA";
  41. };
  42. qcom,ion-heap@28 { /* AUDIO HEAP */
  43. compatible = "qcom,msm-ion-reserve";
  44. reg = <28>;
  45. qcom,heap-align = <0x1000>;
  46. qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
  47. qcom,memory-reservation-size = <0x614000>;
  48. qcom,ion-heap-type = "CARVEOUT";
  49. };
  50. qcom,ion-heap@23 { /* OTHER PIL HEAP */
  51. compatible = "qcom,msm-ion-reserve";
  52. reg = <23>;
  53. qcom,heap-align = <0x1000>;
  54. qcom,memory-fixed = <0x05d00000 0x1e00000>;
  55. qcom,ion-heap-type = "CARVEOUT";
  56. };
  57. };
  58. };