juno-r1.dts 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. /*
  2. * ARM Ltd. Juno Platform
  3. *
  4. * Copyright (c) 2015 ARM Ltd.
  5. *
  6. * This file is licensed under a dual GPLv2 or BSD license.
  7. */
  8. /dts-v1/;
  9. #include <dt-bindings/interrupt-controller/arm-gic.h>
  10. / {
  11. model = "ARM Juno development board (r1)";
  12. compatible = "arm,juno-r1", "arm,juno", "arm,vexpress";
  13. interrupt-parent = <&gic>;
  14. #address-cells = <2>;
  15. #size-cells = <2>;
  16. aliases {
  17. serial0 = &soc_uart0;
  18. };
  19. chosen {
  20. stdout-path = "serial0:115200n8";
  21. };
  22. psci {
  23. compatible = "arm,psci-0.2";
  24. method = "smc";
  25. };
  26. cpus {
  27. #address-cells = <2>;
  28. #size-cells = <0>;
  29. cpu-map {
  30. cluster0 {
  31. core0 {
  32. cpu = <&A57_0>;
  33. };
  34. core1 {
  35. cpu = <&A57_1>;
  36. };
  37. };
  38. cluster1 {
  39. core0 {
  40. cpu = <&A53_0>;
  41. };
  42. core1 {
  43. cpu = <&A53_1>;
  44. };
  45. core2 {
  46. cpu = <&A53_2>;
  47. };
  48. core3 {
  49. cpu = <&A53_3>;
  50. };
  51. };
  52. };
  53. A57_0: cpu@0 {
  54. compatible = "arm,cortex-a57","arm,armv8";
  55. reg = <0x0 0x0>;
  56. device_type = "cpu";
  57. enable-method = "psci";
  58. next-level-cache = <&A57_L2>;
  59. clocks = <&scpi_dvfs 0>;
  60. };
  61. A57_1: cpu@1 {
  62. compatible = "arm,cortex-a57","arm,armv8";
  63. reg = <0x0 0x1>;
  64. device_type = "cpu";
  65. enable-method = "psci";
  66. next-level-cache = <&A57_L2>;
  67. clocks = <&scpi_dvfs 0>;
  68. };
  69. A53_0: cpu@100 {
  70. compatible = "arm,cortex-a53","arm,armv8";
  71. reg = <0x0 0x100>;
  72. device_type = "cpu";
  73. enable-method = "psci";
  74. next-level-cache = <&A53_L2>;
  75. clocks = <&scpi_dvfs 1>;
  76. };
  77. A53_1: cpu@101 {
  78. compatible = "arm,cortex-a53","arm,armv8";
  79. reg = <0x0 0x101>;
  80. device_type = "cpu";
  81. enable-method = "psci";
  82. next-level-cache = <&A53_L2>;
  83. clocks = <&scpi_dvfs 1>;
  84. };
  85. A53_2: cpu@102 {
  86. compatible = "arm,cortex-a53","arm,armv8";
  87. reg = <0x0 0x102>;
  88. device_type = "cpu";
  89. enable-method = "psci";
  90. next-level-cache = <&A53_L2>;
  91. clocks = <&scpi_dvfs 1>;
  92. };
  93. A53_3: cpu@103 {
  94. compatible = "arm,cortex-a53","arm,armv8";
  95. reg = <0x0 0x103>;
  96. device_type = "cpu";
  97. enable-method = "psci";
  98. next-level-cache = <&A53_L2>;
  99. clocks = <&scpi_dvfs 1>;
  100. };
  101. A57_L2: l2-cache0 {
  102. compatible = "cache";
  103. };
  104. A53_L2: l2-cache1 {
  105. compatible = "cache";
  106. };
  107. };
  108. pmu_a57 {
  109. compatible = "arm,cortex-a57-pmu";
  110. interrupts = <GIC_SPI 02 IRQ_TYPE_LEVEL_HIGH>,
  111. <GIC_SPI 06 IRQ_TYPE_LEVEL_HIGH>;
  112. interrupt-affinity = <&A57_0>,
  113. <&A57_1>;
  114. };
  115. pmu_a53 {
  116. compatible = "arm,cortex-a53-pmu";
  117. interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
  118. <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
  119. <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
  120. <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  121. interrupt-affinity = <&A53_0>,
  122. <&A53_1>,
  123. <&A53_2>,
  124. <&A53_3>;
  125. };
  126. #include "juno-base.dtsi"
  127. pcie-controller@40000000 {
  128. compatible = "arm,juno-r1-pcie", "plda,xpressrich3-axi", "pci-host-ecam-generic";
  129. device_type = "pci";
  130. reg = <0 0x40000000 0 0x10000000>; /* ECAM config space */
  131. bus-range = <0 255>;
  132. linux,pci-domain = <0>;
  133. #address-cells = <3>;
  134. #size-cells = <2>;
  135. dma-coherent;
  136. ranges = <0x01000000 0x00 0x5f800000 0x00 0x5f800000 0x0 0x00800000>,
  137. <0x02000000 0x00 0x50000000 0x00 0x50000000 0x0 0x08000000>,
  138. <0x42000000 0x40 0x00000000 0x40 0x00000000 0x1 0x00000000>;
  139. #interrupt-cells = <1>;
  140. interrupt-map-mask = <0 0 0 7>;
  141. interrupt-map = <0 0 0 1 &gic 0 0 0 136 4>,
  142. <0 0 0 2 &gic 0 0 0 137 4>,
  143. <0 0 0 3 &gic 0 0 0 138 4>,
  144. <0 0 0 4 &gic 0 0 0 139 4>;
  145. msi-parent = <&v2m_0>;
  146. };
  147. };
  148. &memtimer {
  149. status = "okay";
  150. };