fvp-ve-Cortex-A5x1.dts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. /*
  2. * Copyright (c) 2019-2022, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <dt-bindings/interrupt-controller/arm-gic.h>
  7. /dts-v1/;
  8. #include "rtsm_ve-motherboard.dtsi"
  9. / {
  10. model = "V2P-CA5s";
  11. compatible = "arm,vexpress,v2p-ca5s", "arm,vexpress";
  12. interrupt-parent = <&gic>;
  13. #address-cells = <2>;
  14. #size-cells = <1>;
  15. cpus {
  16. #address-cells = <1>;
  17. #size-cells = <0>;
  18. cpu@0 {
  19. device_type = "cpu";
  20. compatible = "arm,cortex-a5";
  21. reg = <0>;
  22. };
  23. };
  24. memory@80000000 {
  25. device_type = "memory";
  26. reg = <0 0x80000000 0x1000000>;
  27. };
  28. reserved-memory {
  29. #address-cells = <2>;
  30. #size-cells = <1>;
  31. ranges;
  32. /* Chipselect 2,00000000 is physically at 0x18000000 */
  33. vram: vram@18000000 {
  34. /* 8 MB of designated video RAM */
  35. compatible = "shared-dma-pool";
  36. reg = <0 0x18000000 0x00800000>;
  37. no-map;
  38. };
  39. };
  40. hdlcd@2a110000 {
  41. compatible = "arm,hdlcd";
  42. reg = <0 0x2a110000 0x1000>;
  43. interrupts = <0 85 4>;
  44. clocks = <&oscclk3>;
  45. clock-names = "pxlclk";
  46. };
  47. scu@2c000000 {
  48. compatible = "arm,cortex-a5-scu";
  49. reg = <0 0x2c000000 0x58>;
  50. };
  51. watchdog@2c000620 {
  52. compatible = "arm,cortex-a5-twd-wdt";
  53. reg = <0 0x2c000620 0x20>;
  54. interrupts = <1 14 0x304>;
  55. };
  56. gic: interrupt-controller@2c001000 {
  57. compatible = "arm,cortex-a9-gic";
  58. #interrupt-cells = <3>;
  59. #address-cells = <0>;
  60. interrupt-controller;
  61. reg = <0 0x2c001000 0x1000>,
  62. <0 0x2c000100 0x100>;
  63. };
  64. mcc {
  65. oscclk0: oscclk0 {
  66. /* CPU and internal AXI reference clock */
  67. compatible = "arm,vexpress-osc";
  68. arm,vexpress-sysreg,func = <1 0>;
  69. freq-range = <50000000 100000000>;
  70. #clock-cells = <0>;
  71. clock-output-names = "oscclk0";
  72. };
  73. oscclk1: oscclk1 {
  74. /* Multiplexed AXI master clock */
  75. compatible = "arm,vexpress-osc";
  76. arm,vexpress-sysreg,func = <1 1>;
  77. freq-range = <5000000 50000000>;
  78. #clock-cells = <0>;
  79. clock-output-names = "oscclk1";
  80. };
  81. oscclk2 {
  82. /* DDR2 */
  83. compatible = "arm,vexpress-osc";
  84. arm,vexpress-sysreg,func = <1 2>;
  85. freq-range = <80000000 120000000>;
  86. #clock-cells = <0>;
  87. clock-output-names = "oscclk2";
  88. };
  89. oscclk3: oscclk3 {
  90. /* HDLCD */
  91. compatible = "arm,vexpress-osc";
  92. arm,vexpress-sysreg,func = <1 3>;
  93. freq-range = <23750000 165000000>;
  94. #clock-cells = <0>;
  95. clock-output-names = "oscclk3";
  96. };
  97. oscclk4 {
  98. /* Test chip gate configuration */
  99. compatible = "arm,vexpress-osc";
  100. arm,vexpress-sysreg,func = <1 4>;
  101. freq-range = <80000000 80000000>;
  102. #clock-cells = <0>;
  103. clock-output-names = "oscclk4";
  104. };
  105. smbclk: oscclk5 {
  106. /* SMB clock */
  107. compatible = "arm,vexpress-osc";
  108. arm,vexpress-sysreg,func = <1 5>;
  109. freq-range = <25000000 60000000>;
  110. #clock-cells = <0>;
  111. clock-output-names = "oscclk5";
  112. };
  113. };
  114. panel {
  115. compatible = "arm,rtsm-display";
  116. port {
  117. panel_in: endpoint {
  118. remote-endpoint = <&clcd_pads>;
  119. };
  120. };
  121. };
  122. bus@8000000 {
  123. #interrupt-cells = <1>;
  124. interrupt-map-mask = <0 0 63>;
  125. interrupt-map = <0 0 0 &gic GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
  126. <0 0 1 &gic GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
  127. <0 0 2 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
  128. <0 0 3 &gic GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
  129. <0 0 4 &gic GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
  130. <0 0 5 &gic GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
  131. <0 0 6 &gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
  132. <0 0 7 &gic GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
  133. <0 0 8 &gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
  134. <0 0 9 &gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
  135. <0 0 10 &gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
  136. <0 0 11 &gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
  137. <0 0 12 &gic GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
  138. <0 0 13 &gic GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
  139. <0 0 15 &gic GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
  140. <0 0 42 &gic GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
  141. <0 0 43 &gic GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
  142. <0 0 44 &gic GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
  143. <0 0 46 &gic GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
  144. };
  145. };