foundation-v8.dtsi 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * ARM Ltd.
  4. *
  5. * ARMv8 Foundation model DTS
  6. */
  7. /dts-v1/;
  8. /memreserve/ 0x80000000 0x00010000;
  9. / {
  10. model = "Foundation-v8A";
  11. compatible = "arm,foundation-aarch64", "arm,vexpress";
  12. interrupt-parent = <&gic>;
  13. #address-cells = <2>;
  14. #size-cells = <2>;
  15. chosen { };
  16. aliases {
  17. serial0 = &v2m_serial0;
  18. serial1 = &v2m_serial1;
  19. serial2 = &v2m_serial2;
  20. serial3 = &v2m_serial3;
  21. };
  22. cpus {
  23. #address-cells = <2>;
  24. #size-cells = <0>;
  25. cpu0: cpu@0 {
  26. device_type = "cpu";
  27. compatible = "arm,armv8";
  28. reg = <0x0 0x0>;
  29. next-level-cache = <&L2_0>;
  30. };
  31. cpu1: cpu@1 {
  32. device_type = "cpu";
  33. compatible = "arm,armv8";
  34. reg = <0x0 0x1>;
  35. next-level-cache = <&L2_0>;
  36. };
  37. cpu2: cpu@2 {
  38. device_type = "cpu";
  39. compatible = "arm,armv8";
  40. reg = <0x0 0x2>;
  41. next-level-cache = <&L2_0>;
  42. };
  43. cpu3: cpu@3 {
  44. device_type = "cpu";
  45. compatible = "arm,armv8";
  46. reg = <0x0 0x3>;
  47. next-level-cache = <&L2_0>;
  48. };
  49. L2_0: l2-cache0 {
  50. compatible = "cache";
  51. };
  52. };
  53. memory@80000000 {
  54. device_type = "memory";
  55. reg = <0x00000000 0x80000000 0 0x80000000>,
  56. <0x00000008 0x80000000 0 0x80000000>;
  57. };
  58. timer {
  59. compatible = "arm,armv8-timer";
  60. interrupts = <1 13 0xf08>,
  61. <1 14 0xf08>,
  62. <1 11 0xf08>,
  63. <1 10 0xf08>;
  64. clock-frequency = <100000000>;
  65. };
  66. pmu {
  67. compatible = "arm,armv8-pmuv3";
  68. interrupts = <0 60 4>,
  69. <0 61 4>,
  70. <0 62 4>,
  71. <0 63 4>;
  72. };
  73. watchdog@2a440000 {
  74. compatible = "arm,sbsa-gwdt";
  75. reg = <0x0 0x2a440000 0 0x1000>,
  76. <0x0 0x2a450000 0 0x1000>;
  77. interrupts = <0 27 4>;
  78. timeout-sec = <30>;
  79. };
  80. smb@8000000 {
  81. compatible = "arm,vexpress,v2m-p1", "simple-bus";
  82. arm,v2m-memory-map = "rs1";
  83. #address-cells = <2>; /* SMB chipselect number and offset */
  84. #size-cells = <1>;
  85. ranges = <0 0 0 0x08000000 0x04000000>,
  86. <1 0 0 0x14000000 0x04000000>,
  87. <2 0 0 0x18000000 0x04000000>,
  88. <3 0 0 0x1c000000 0x04000000>,
  89. <4 0 0 0x0c000000 0x04000000>,
  90. <5 0 0 0x10000000 0x04000000>;
  91. #interrupt-cells = <1>;
  92. interrupt-map-mask = <0 0 63>;
  93. interrupt-map = <0 0 0 &gic 0 0 0 0 4>,
  94. <0 0 1 &gic 0 0 0 1 4>,
  95. <0 0 2 &gic 0 0 0 2 4>,
  96. <0 0 3 &gic 0 0 0 3 4>,
  97. <0 0 4 &gic 0 0 0 4 4>,
  98. <0 0 5 &gic 0 0 0 5 4>,
  99. <0 0 6 &gic 0 0 0 6 4>,
  100. <0 0 7 &gic 0 0 0 7 4>,
  101. <0 0 8 &gic 0 0 0 8 4>,
  102. <0 0 9 &gic 0 0 0 9 4>,
  103. <0 0 10 &gic 0 0 0 10 4>,
  104. <0 0 11 &gic 0 0 0 11 4>,
  105. <0 0 12 &gic 0 0 0 12 4>,
  106. <0 0 13 &gic 0 0 0 13 4>,
  107. <0 0 14 &gic 0 0 0 14 4>,
  108. <0 0 15 &gic 0 0 0 15 4>,
  109. <0 0 16 &gic 0 0 0 16 4>,
  110. <0 0 17 &gic 0 0 0 17 4>,
  111. <0 0 18 &gic 0 0 0 18 4>,
  112. <0 0 19 &gic 0 0 0 19 4>,
  113. <0 0 20 &gic 0 0 0 20 4>,
  114. <0 0 21 &gic 0 0 0 21 4>,
  115. <0 0 22 &gic 0 0 0 22 4>,
  116. <0 0 23 &gic 0 0 0 23 4>,
  117. <0 0 24 &gic 0 0 0 24 4>,
  118. <0 0 25 &gic 0 0 0 25 4>,
  119. <0 0 26 &gic 0 0 0 26 4>,
  120. <0 0 27 &gic 0 0 0 27 4>,
  121. <0 0 28 &gic 0 0 0 28 4>,
  122. <0 0 29 &gic 0 0 0 29 4>,
  123. <0 0 30 &gic 0 0 0 30 4>,
  124. <0 0 31 &gic 0 0 0 31 4>,
  125. <0 0 32 &gic 0 0 0 32 4>,
  126. <0 0 33 &gic 0 0 0 33 4>,
  127. <0 0 34 &gic 0 0 0 34 4>,
  128. <0 0 35 &gic 0 0 0 35 4>,
  129. <0 0 36 &gic 0 0 0 36 4>,
  130. <0 0 37 &gic 0 0 0 37 4>,
  131. <0 0 38 &gic 0 0 0 38 4>,
  132. <0 0 39 &gic 0 0 0 39 4>,
  133. <0 0 40 &gic 0 0 0 40 4>,
  134. <0 0 41 &gic 0 0 0 41 4>,
  135. <0 0 42 &gic 0 0 0 42 4>;
  136. ethernet@2,02000000 {
  137. compatible = "smsc,lan91c111";
  138. reg = <2 0x02000000 0x10000>;
  139. interrupts = <15>;
  140. };
  141. v2m_clk24mhz: clk24mhz {
  142. compatible = "fixed-clock";
  143. #clock-cells = <0>;
  144. clock-frequency = <24000000>;
  145. clock-output-names = "v2m:clk24mhz";
  146. };
  147. v2m_refclk1mhz: refclk1mhz {
  148. compatible = "fixed-clock";
  149. #clock-cells = <0>;
  150. clock-frequency = <1000000>;
  151. clock-output-names = "v2m:refclk1mhz";
  152. };
  153. v2m_refclk32khz: refclk32khz {
  154. compatible = "fixed-clock";
  155. #clock-cells = <0>;
  156. clock-frequency = <32768>;
  157. clock-output-names = "v2m:refclk32khz";
  158. };
  159. iofpga@3,00000000 {
  160. compatible = "simple-bus";
  161. #address-cells = <1>;
  162. #size-cells = <1>;
  163. ranges = <0 3 0 0x200000>;
  164. v2m_sysreg: sysreg@10000 {
  165. compatible = "arm,vexpress-sysreg";
  166. reg = <0x010000 0x1000>;
  167. };
  168. v2m_serial0: uart@90000 {
  169. compatible = "arm,pl011", "arm,primecell";
  170. reg = <0x090000 0x1000>;
  171. interrupts = <5>;
  172. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  173. clock-names = "uartclk", "apb_pclk";
  174. };
  175. v2m_serial1: uart@a0000 {
  176. compatible = "arm,pl011", "arm,primecell";
  177. reg = <0x0a0000 0x1000>;
  178. interrupts = <6>;
  179. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  180. clock-names = "uartclk", "apb_pclk";
  181. };
  182. v2m_serial2: uart@b0000 {
  183. compatible = "arm,pl011", "arm,primecell";
  184. reg = <0x0b0000 0x1000>;
  185. interrupts = <7>;
  186. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  187. clock-names = "uartclk", "apb_pclk";
  188. };
  189. v2m_serial3: uart@c0000 {
  190. compatible = "arm,pl011", "arm,primecell";
  191. reg = <0x0c0000 0x1000>;
  192. interrupts = <8>;
  193. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  194. clock-names = "uartclk", "apb_pclk";
  195. };
  196. virtio-block@130000 {
  197. compatible = "virtio,mmio";
  198. reg = <0x130000 0x200>;
  199. interrupts = <42>;
  200. };
  201. };
  202. };
  203. };