fvp-base-gicv2-psci.dts 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. /*
  2. * Copyright (c) 2013-2021, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. /* Configuration: max 4 clusters with up to 4 CPUs */
  7. /dts-v1/;
  8. #define AFF
  9. #include "fvp-defs.dtsi"
  10. #include <dt-bindings/interrupt-controller/arm-gic.h>
  11. /memreserve/ 0x80000000 0x00010000;
  12. / {
  13. };
  14. / {
  15. model = "FVP Base";
  16. compatible = "arm,vfp-base", "arm,vexpress";
  17. interrupt-parent = <&gic>;
  18. #address-cells = <2>;
  19. #size-cells = <2>;
  20. chosen { };
  21. aliases {
  22. serial0 = &v2m_serial0;
  23. serial1 = &v2m_serial1;
  24. serial2 = &v2m_serial2;
  25. serial3 = &v2m_serial3;
  26. };
  27. psci {
  28. compatible = "arm,psci-1.0", "arm,psci-0.2", "arm,psci";
  29. method = "smc";
  30. cpu_suspend = <0xc4000001>;
  31. cpu_off = <0x84000002>;
  32. cpu_on = <0xc4000003>;
  33. sys_poweroff = <0x84000008>;
  34. sys_reset = <0x84000009>;
  35. max-pwr-lvl = <2>;
  36. };
  37. cpus {
  38. #address-cells = <2>;
  39. #size-cells = <0>;
  40. CPU_MAP
  41. idle-states {
  42. entry-method = "arm,psci";
  43. CPU_SLEEP_0: cpu-sleep-0 {
  44. compatible = "arm,idle-state";
  45. local-timer-stop;
  46. arm,psci-suspend-param = <0x0010000>;
  47. entry-latency-us = <40>;
  48. exit-latency-us = <100>;
  49. min-residency-us = <150>;
  50. };
  51. CLUSTER_SLEEP_0: cluster-sleep-0 {
  52. compatible = "arm,idle-state";
  53. local-timer-stop;
  54. arm,psci-suspend-param = <0x1010000>;
  55. entry-latency-us = <500>;
  56. exit-latency-us = <1000>;
  57. min-residency-us = <2500>;
  58. };
  59. };
  60. CPUS
  61. L2_0: l2-cache0 {
  62. compatible = "cache";
  63. };
  64. };
  65. memory@80000000 {
  66. device_type = "memory";
  67. reg = <0x00000000 0x80000000 0 0x7F000000>,
  68. <0x00000008 0x80000000 0 0x80000000>;
  69. };
  70. gic: interrupt-controller@2f000000 {
  71. compatible = "arm,cortex-a15-gic", "arm,cortex-a9-gic";
  72. #interrupt-cells = <3>;
  73. #address-cells = <0>;
  74. interrupt-controller;
  75. reg = <0x0 0x2f000000 0 0x10000>,
  76. <0x0 0x2c000000 0 0x2000>,
  77. <0x0 0x2c010000 0 0x2000>,
  78. <0x0 0x2c02F000 0 0x2000>;
  79. interrupts = <1 9 0xf04>;
  80. };
  81. timer {
  82. compatible = "arm,armv8-timer";
  83. interrupts = <GIC_PPI 13
  84. (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
  85. <GIC_PPI 14
  86. (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
  87. <GIC_PPI 11
  88. (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
  89. <GIC_PPI 10
  90. (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
  91. clock-frequency = <100000000>;
  92. };
  93. timer@2a810000 {
  94. compatible = "arm,armv7-timer-mem";
  95. reg = <0x0 0x2a810000 0x0 0x10000>;
  96. clock-frequency = <100000000>;
  97. #address-cells = <2>;
  98. #size-cells = <2>;
  99. ranges;
  100. frame@2a830000 {
  101. frame-number = <1>;
  102. interrupts = <0 26 4>;
  103. reg = <0x0 0x2a830000 0x0 0x10000>;
  104. };
  105. };
  106. pmu {
  107. compatible = "arm,armv8-pmuv3";
  108. interrupts = <0 60 4>,
  109. <0 61 4>,
  110. <0 62 4>,
  111. <0 63 4>;
  112. };
  113. smb {
  114. compatible = "simple-bus";
  115. #address-cells = <2>;
  116. #size-cells = <1>;
  117. ranges = <0 0 0 0x08000000 0x04000000>,
  118. <1 0 0 0x14000000 0x04000000>,
  119. <2 0 0 0x18000000 0x04000000>,
  120. <3 0 0 0x1c000000 0x04000000>,
  121. <4 0 0 0x0c000000 0x04000000>,
  122. <5 0 0 0x10000000 0x04000000>;
  123. #include "rtsm_ve-motherboard.dtsi"
  124. };
  125. panels {
  126. panel@0 {
  127. compatible = "panel";
  128. mode = "XVGA";
  129. refresh = <60>;
  130. xres = <1024>;
  131. yres = <768>;
  132. pixclock = <15748>;
  133. left_margin = <152>;
  134. right_margin = <48>;
  135. upper_margin = <23>;
  136. lower_margin = <3>;
  137. hsync_len = <104>;
  138. vsync_len = <4>;
  139. sync = <0>;
  140. vmode = "FB_VMODE_NONINTERLACED";
  141. tim2 = "TIM2_BCD", "TIM2_IPC";
  142. cntl = "CNTL_LCDTFT", "CNTL_BGR", "CNTL_LCDVCOMP(1)";
  143. caps = "CLCD_CAP_5551", "CLCD_CAP_565", "CLCD_CAP_888";
  144. bpp = <16>;
  145. };
  146. };
  147. };