Advertisement
Guest User

fsl-imx8qxp-mek-dom0.dts

a guest
Jul 31st, 2020
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. /*
  2. * Copyright 2017-2018 NXP
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; either version 2
  7. * of the License, or (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. */
  14.  
  15. /dts-v1/;
  16.  
  17. /memreserve/ 0x84000000 0x2200000;
  18. /memreserve/ 0x90000000 0x400000;
  19. /memreserve/ 0x90400000 0x400000;
  20. /memreserve/ 0x92400000 0x2000000;
  21.  
  22. #include "fsl-imx8qxp-mek.dtsi"
  23. #include "fsl-imx8qxp-xen.dtsi"
  24.  
  25. / {
  26. chosen {
  27. #address-cells = <2>;
  28. #size-cells = <2>;
  29. module@0 {
  30. bootargs = "earlycon=xen console=hvc0 root=/dev/mmcblk1p2 rootwait rw";
  31. compatible = "xen,linux-zimage", "xen,multiboot-module";
  32. /* The size will be override by uboot command */
  33. reg = <0x00000000 0x80a00000 0x00000000 0xf93a00>;
  34. };
  35.  
  36. };
  37.  
  38. reserved-memory {
  39. /* global autoconfigured region for contiguous allocations */
  40. linux,cma {
  41. compatible = "shared-dma-pool";
  42. reusable;
  43. size = <0 0x3c000000>;
  44. alloc-ranges = <0 0xa0000000 0 0x40000000>;
  45. linux,cma-default;
  46. };
  47. };
  48.  
  49. /*
  50. * Dom0 memory is from 0x90000000, so add reg to make sure
  51. * the memory is mapped as device, because they are used
  52. * for vpu boot code.
  53. */
  54. decoder_boot_mem: decoder_boot_mem@0x84000000 {
  55. reg = <0 0x84000000 0 0x2000000>;
  56. };
  57.  
  58. encoder_boot_mem: encoder_boot_mem@0x86000000 {
  59. reg = <0 0x86000000 0 0x200000>;
  60. };
  61.  
  62. rpmsg_reserved_mem: rpmsg_reserved_mem@90000000 {
  63. reg = <0x0 0x90000000 0x0 0x400000>;
  64. };
  65.  
  66. decoder_rpc_mem: decoder_rpc_mem@0x92000000 {
  67. reg = <0 0x92000000 0 0x200000>;
  68. };
  69.  
  70. encoder_rpc_mem: encoder_rpc_mem@0x92200000 {
  71. reg = <0 0x92200000 0 0x200000>;
  72. };
  73.  
  74. dsp_reserved_mem: dsp_reserved_mem@0x92400000 {
  75. reg = <0 0x92400000 0 0x2000000>;
  76. };
  77. encoder_reserved_mem: encoder_reserved_mem@0x94400000 {
  78. reg = <0 0x94400000 0 0x800000>;
  79. };
  80.  
  81. rtc0: rtc@23000000 {
  82. interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
  83. xen,passthrough;
  84. };
  85. };
  86.  
  87. &imx8_gpu_ss {
  88. /delete-property/ reg;
  89. /delete-property/ reg-names;
  90. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement