fvp-foundation-motherboard.dtsi 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. /*
  2. * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. motherboard {
  7. arm,v2m-memory-map = "rs1";
  8. compatible = "arm,vexpress,v2m-p1", "simple-bus";
  9. #address-cells = <2>; /* SMB chipselect number and offset */
  10. #size-cells = <1>;
  11. ranges;
  12. ethernet@2,02000000 {
  13. compatible = "smsc,lan91c111";
  14. reg = <2 0x02000000 0x10000>;
  15. interrupts = <0 15 4>;
  16. };
  17. v2m_clk24mhz: clk24mhz {
  18. compatible = "fixed-clock";
  19. #clock-cells = <0>;
  20. clock-frequency = <24000000>;
  21. clock-output-names = "v2m:clk24mhz";
  22. };
  23. v2m_refclk1mhz: refclk1mhz {
  24. compatible = "fixed-clock";
  25. #clock-cells = <0>;
  26. clock-frequency = <1000000>;
  27. clock-output-names = "v2m:refclk1mhz";
  28. };
  29. v2m_refclk32khz: refclk32khz {
  30. compatible = "fixed-clock";
  31. #clock-cells = <0>;
  32. clock-frequency = <32768>;
  33. clock-output-names = "v2m:refclk32khz";
  34. };
  35. iofpga@3,00000000 {
  36. compatible = "arm,amba-bus", "simple-bus";
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. ranges = <0 3 0 0x200000>;
  40. v2m_sysreg: sysreg@10000 {
  41. compatible = "arm,vexpress-sysreg";
  42. reg = <0x010000 0x1000>;
  43. gpio-controller;
  44. #gpio-cells = <2>;
  45. };
  46. v2m_sysctl: sysctl@20000 {
  47. compatible = "arm,sp810", "arm,primecell";
  48. reg = <0x020000 0x1000>;
  49. clocks = <&v2m_refclk32khz>, <&v2m_refclk1mhz>, <&v2m_clk24mhz>;
  50. clock-names = "refclk", "timclk", "apb_pclk";
  51. #clock-cells = <1>;
  52. clock-output-names = "timerclken0", "timerclken1", "timerclken2", "timerclken3";
  53. };
  54. v2m_serial0: uart@90000 {
  55. compatible = "arm,pl011", "arm,primecell";
  56. reg = <0x090000 0x1000>;
  57. interrupts = <0 5 4>;
  58. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  59. clock-names = "uartclk", "apb_pclk";
  60. };
  61. v2m_serial1: uart@a0000 {
  62. compatible = "arm,pl011", "arm,primecell";
  63. reg = <0x0a0000 0x1000>;
  64. interrupts = <0 6 4>;
  65. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  66. clock-names = "uartclk", "apb_pclk";
  67. };
  68. v2m_serial2: uart@b0000 {
  69. compatible = "arm,pl011", "arm,primecell";
  70. reg = <0x0b0000 0x1000>;
  71. interrupts = <0 7 4>;
  72. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  73. clock-names = "uartclk", "apb_pclk";
  74. };
  75. v2m_serial3: uart@c0000 {
  76. compatible = "arm,pl011", "arm,primecell";
  77. reg = <0x0c0000 0x1000>;
  78. interrupts = <0 8 4>;
  79. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  80. clock-names = "uartclk", "apb_pclk";
  81. };
  82. wdt@f0000 {
  83. compatible = "arm,sp805", "arm,primecell";
  84. reg = <0x0f0000 0x1000>;
  85. interrupts = <0 0 4>;
  86. clocks = <&v2m_refclk32khz>, <&v2m_clk24mhz>;
  87. clock-names = "wdogclk", "apb_pclk";
  88. };
  89. v2m_timer01: timer@110000 {
  90. compatible = "arm,sp804", "arm,primecell";
  91. reg = <0x110000 0x1000>;
  92. interrupts = <0 2 4>;
  93. clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, <&v2m_clk24mhz>;
  94. clock-names = "timclken1", "timclken2", "apb_pclk";
  95. };
  96. v2m_timer23: timer@120000 {
  97. compatible = "arm,sp804", "arm,primecell";
  98. reg = <0x120000 0x1000>;
  99. interrupts = <0 3 4>;
  100. clocks = <&v2m_sysctl 2>, <&v2m_sysctl 3>, <&v2m_clk24mhz>;
  101. clock-names = "timclken1", "timclken2", "apb_pclk";
  102. };
  103. rtc@170000 {
  104. compatible = "arm,pl031", "arm,primecell";
  105. reg = <0x170000 0x1000>;
  106. interrupts = <0 4 4>;
  107. clocks = <&v2m_clk24mhz>;
  108. clock-names = "apb_pclk";
  109. };
  110. virtio_block@130000 {
  111. compatible = "virtio,mmio";
  112. reg = <0x130000 0x1000>;
  113. interrupts = <0 0x2a 4>;
  114. };
  115. };
  116. v2m_fixed_3v3: fixedregulator@0 {
  117. compatible = "regulator-fixed";
  118. regulator-name = "3V3";
  119. regulator-min-microvolt = <3300000>;
  120. regulator-max-microvolt = <3300000>;
  121. regulator-always-on;
  122. };
  123. mcc {
  124. compatible = "arm,vexpress,config-bus", "simple-bus";
  125. arm,vexpress,config-bridge = <&v2m_sysreg>;
  126. /*
  127. * Not supported in FVP models
  128. *
  129. * reset@0 {
  130. * compatible = "arm,vexpress-reset";
  131. * arm,vexpress-sysreg,func = <5 0>;
  132. * };
  133. */
  134. muxfpga@0 {
  135. compatible = "arm,vexpress-muxfpga";
  136. arm,vexpress-sysreg,func = <7 0>;
  137. };
  138. /*
  139. * Not used - Superseded by PSCI sys_poweroff
  140. *
  141. * shutdown@0 {
  142. * compatible = "arm,vexpress-shutdown";
  143. * arm,vexpress-sysreg,func = <8 0>;
  144. * };
  145. */
  146. /*
  147. * Not used - Superseded by PSCI sys_reset
  148. *
  149. * reboot@0 {
  150. * compatible = "arm,vexpress-reboot";
  151. * arm,vexpress-sysreg,func = <9 0>;
  152. * };
  153. */
  154. dvimode@0 {
  155. compatible = "arm,vexpress-dvimode";
  156. arm,vexpress-sysreg,func = <11 0>;
  157. };
  158. };
  159. };