morello-soc.dts 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. /*
  2. * Copyright (c) 2021-2022, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. /dts-v1/;
  7. #include "morello.dtsi"
  8. / {
  9. model = "Arm Morello System Development Platform";
  10. chosen {
  11. stdout-path = "serial0:115200n8";
  12. };
  13. reserved-memory {
  14. #address-cells = <2>;
  15. #size-cells = <2>;
  16. ranges;
  17. secure-firmware@ff000000 {
  18. reg = <0 0xff000000 0 0x01000000>;
  19. no-map;
  20. };
  21. };
  22. cpus {
  23. #address-cells = <2>;
  24. #size-cells = <0>;
  25. cpu0@0 {
  26. compatible = "arm,armv8";
  27. reg = <0x0 0x0>;
  28. device_type = "cpu";
  29. enable-method = "psci";
  30. clocks = <&scmi_dvfs 0>;
  31. };
  32. cpu1@100 {
  33. compatible = "arm,armv8";
  34. reg = <0x0 0x100>;
  35. device_type = "cpu";
  36. enable-method = "psci";
  37. clocks = <&scmi_dvfs 0>;
  38. };
  39. cpu2@10000 {
  40. compatible = "arm,armv8";
  41. reg = <0x0 0x10000>;
  42. device_type = "cpu";
  43. enable-method = "psci";
  44. clocks = <&scmi_dvfs 1>;
  45. };
  46. cpu3@10100 {
  47. compatible = "arm,armv8";
  48. reg = <0x0 0x10100>;
  49. device_type = "cpu";
  50. enable-method = "psci";
  51. clocks = <&scmi_dvfs 1>;
  52. };
  53. };
  54. /* The first bank of memory, memory map is actually provided by UEFI. */
  55. memory@80000000 {
  56. device_type = "memory";
  57. /* [0x80000000-0xffffffff] */
  58. reg = <0x00000000 0x80000000 0x0 0x7F000000>;
  59. };
  60. memory@8080000000 {
  61. device_type = "memory";
  62. /* [0x8080000000-0x83f7ffffff] */
  63. reg = <0x00000080 0x80000000 0x3 0x78000000>;
  64. };
  65. smmu_pcie: iommu@4f400000 {
  66. compatible = "arm,smmu-v3";
  67. reg = <0 0x4f400000 0 0x40000>;
  68. interrupts = <GIC_SPI 235 IRQ_TYPE_EDGE_RISING>,
  69. <GIC_SPI 237 IRQ_TYPE_EDGE_RISING>,
  70. <GIC_SPI 40 IRQ_TYPE_EDGE_RISING>,
  71. <GIC_SPI 236 IRQ_TYPE_EDGE_RISING>;
  72. interrupt-names = "eventq", "gerror", "priq", "cmdq-sync";
  73. msi-parent = <&its2 0>;
  74. #iommu-cells = <1>;
  75. dma-coherent;
  76. };
  77. pcie_ctlr: pcie@28c0000000 {
  78. compatible = "pci-host-ecam-generic";
  79. device_type = "pci";
  80. reg = <0x28 0xC0000000 0 0x10000000>;
  81. bus-range = <0 255>;
  82. linux,pci-domain = <0>;
  83. #address-cells = <3>;
  84. #size-cells = <2>;
  85. dma-coherent;
  86. ranges = <0x01000000 0x00 0x00000000 0x00 0x6F000000 0x00 0x00800000>,
  87. <0x02000000 0x00 0x60000000 0x00 0x60000000 0x00 0x0F000000>,
  88. <0x42000000 0x09 0x00000000 0x09 0x00000000 0x1F 0xC0000000>;
  89. #interrupt-cells = <1>;
  90. interrupt-map-mask = <0 0 0 7>;
  91. interrupt-map = <0 0 0 1 &gic 0 0 0 169 IRQ_TYPE_LEVEL_HIGH>,
  92. <0 0 0 2 &gic 0 0 0 170 IRQ_TYPE_LEVEL_HIGH>,
  93. <0 0 0 3 &gic 0 0 0 171 IRQ_TYPE_LEVEL_HIGH>,
  94. <0 0 0 4 &gic 0 0 0 172 IRQ_TYPE_LEVEL_HIGH>;
  95. msi-map = <0 &its_pcie 0 0x10000>;
  96. iommu-map = <0 &smmu_pcie 0 0x10000>;
  97. status = "okay";
  98. };
  99. smmu_ccix: iommu@4f000000 {
  100. compatible = "arm,smmu-v3";
  101. reg = <0 0x4f000000 0 0x40000>;
  102. interrupts = <GIC_SPI 228 IRQ_TYPE_EDGE_RISING>,
  103. <GIC_SPI 230 IRQ_TYPE_EDGE_RISING>,
  104. <GIC_SPI 41 IRQ_TYPE_EDGE_RISING>,
  105. <GIC_SPI 229 IRQ_TYPE_EDGE_RISING>;
  106. interrupt-names = "eventq", "gerror", "priq", "cmdq-sync";
  107. msi-parent = <&its1 0>;
  108. #iommu-cells = <1>;
  109. dma-coherent;
  110. };
  111. ccix_pcie_ctlr: pcie@4fc0000000 {
  112. compatible = "pci-host-ecam-generic";
  113. device_type = "pci";
  114. reg = <0x4F 0xC0000000 0 0x10000000>;
  115. bus-range = <0 255>;
  116. linux,pci-domain = <1>;
  117. #address-cells = <3>;
  118. #size-cells = <2>;
  119. dma-coherent;
  120. ranges = <0x01000000 0x00 0x00000000 0x00 0x7F000000 0x00 0x00800000>,
  121. <0x02000000 0x00 0x70000000 0x00 0x70000000 0x00 0x0F000000>,
  122. <0x42000000 0x30 0x00000000 0x30 0x00000000 0x1F 0xC0000000>;
  123. #interrupt-cells = <1>;
  124. interrupt-map-mask = <0 0 0 7>;
  125. interrupt-map = <0 0 0 1 &gic 0 0 0 201 IRQ_TYPE_LEVEL_HIGH>,
  126. <0 0 0 2 &gic 0 0 0 202 IRQ_TYPE_LEVEL_HIGH>,
  127. <0 0 0 3 &gic 0 0 0 203 IRQ_TYPE_LEVEL_HIGH>,
  128. <0 0 0 4 &gic 0 0 0 204 IRQ_TYPE_LEVEL_HIGH>;
  129. msi-map = <0 &its_ccix 0 0x10000>;
  130. iommu-map = <0 &smmu_ccix 0 0x10000>;
  131. status = "okay";
  132. };
  133. smmu_dp: iommu@2ce00000 {
  134. compatible = "arm,smmu-v3";
  135. reg = <0 0x2ce00000 0 0x40000>;
  136. interrupts = <GIC_SPI 76 IRQ_TYPE_EDGE_RISING>,
  137. <GIC_SPI 80 IRQ_TYPE_EDGE_RISING>,
  138. <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>;
  139. interrupt-names = "eventq", "gerror", "cmdq-sync";
  140. #iommu-cells = <1>;
  141. };
  142. dp0: display@2cc00000 {
  143. #address-cells = <1>;
  144. #size-cells = <0>;
  145. compatible = "arm,mali-d32", "arm,mali-d71";
  146. reg = <0 0x2cc00000 0 0x20000>;
  147. interrupts = <0 69 4>;
  148. interrupt-names = "DPU";
  149. clocks = <&dpu_aclk>;
  150. clock-names = "aclk";
  151. iommus = <&smmu_dp 0>, <&smmu_dp 1>, <&smmu_dp 2>, <&smmu_dp 3>,
  152. <&smmu_dp 8>;
  153. pl0: pipeline@0 {
  154. reg = <0>;
  155. clocks = <&scmi_clk 1>;
  156. clock-names = "pxclk";
  157. pl_id = <0>;
  158. ports {
  159. #address-cells = <1>;
  160. #size-cells = <0>;
  161. port@0 {
  162. reg = <0>;
  163. dp_pl0_out0: endpoint {
  164. remote-endpoint = <&tda998x_0_input>;
  165. };
  166. };
  167. };
  168. };
  169. };
  170. i2c@1c0f0000 {
  171. compatible = "cdns,i2c-r1p14";
  172. reg = <0x0 0x1c0f0000 0x0 0x1000>;
  173. #address-cells = <1>;
  174. #size-cells = <0>;
  175. clock-frequency = <100000>;
  176. i2c-sda-hold-time-ns = <500>;
  177. interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
  178. clocks = <&dpu_aclk>;
  179. hdmi-transmitter@70 {
  180. compatible = "nxp,tda998x";
  181. reg = <0x70>;
  182. video-ports = <0x234501>;
  183. port {
  184. tda998x_0_input: endpoint {
  185. remote-endpoint = <&dp_pl0_out0>;
  186. };
  187. };
  188. };
  189. };
  190. dpu_aclk: dpu_aclk {
  191. /* 77.1 MHz derived from 24 MHz reference clock */
  192. compatible = "fixed-clock";
  193. #clock-cells = <0>;
  194. clock-frequency = <350000000>;
  195. clock-output-names = "aclk";
  196. };
  197. firmware {
  198. scmi {
  199. compatible = "arm,scmi";
  200. mbox-names = "tx", "rx";
  201. mboxes = <&mailbox 1 0>, <&mailbox 1 1>;
  202. shmem = <&cpu_scp_hpri0>, <&cpu_scp_hpri1>;
  203. #address-cells = <1>;
  204. #size-cells = <0>;
  205. scmi_dvfs: protocol@13 {
  206. reg = <0x13>;
  207. #clock-cells = <1>;
  208. };
  209. scmi_clk: protocol@14 {
  210. reg = <0x14>;
  211. #clock-cells = <1>;
  212. };
  213. };
  214. };
  215. };
  216. &gic {
  217. reg = <0x0 0x30000000 0 0x10000>, /* GICD */
  218. <0x0 0x300c0000 0 0x80000>; /* GICR */
  219. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  220. its1: msi-controller@30040000 {
  221. compatible = "arm,gic-v3-its";
  222. msi-controller;
  223. #msi-cells = <1>;
  224. reg = <0x0 0x30040000 0x0 0x20000>;
  225. };
  226. its2: msi-controller@30060000 {
  227. compatible = "arm,gic-v3-its";
  228. msi-controller;
  229. #msi-cells = <1>;
  230. reg = <0x0 0x30060000 0x0 0x20000>;
  231. };
  232. its_ccix: msi-controller@30080000 {
  233. compatible = "arm,gic-v3-its";
  234. msi-controller;
  235. #msi-cells = <1>;
  236. reg = <0x0 0x30080000 0x0 0x20000>;
  237. };
  238. its_pcie: msi-controller@300a0000 {
  239. compatible = "arm,gic-v3-its";
  240. msi-controller;
  241. #msi-cells = <1>;
  242. reg = <0x0 0x300a0000 0x0 0x20000>;
  243. };
  244. };