rtsm_ve-motherboard.dtsi 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * ARM Ltd. Fast Models
  4. *
  5. * Versatile Express (VE) system model
  6. * Motherboard component
  7. *
  8. * VEMotherBoard.lisa
  9. */
  10. / {
  11. smb@8000000 {
  12. motherboard {
  13. arm,v2m-memory-map = "rs1";
  14. compatible = "arm,vexpress,v2m-p1", "simple-bus";
  15. #address-cells = <2>; /* SMB chipselect number and offset */
  16. #size-cells = <1>;
  17. #interrupt-cells = <1>;
  18. ranges;
  19. flash@0,00000000 {
  20. compatible = "arm,vexpress-flash", "cfi-flash";
  21. reg = <0 0x00000000 0x04000000>,
  22. <4 0x00000000 0x04000000>;
  23. bank-width = <4>;
  24. };
  25. v2m_video_ram: vram@2,00000000 {
  26. compatible = "arm,vexpress-vram";
  27. reg = <2 0x00000000 0x00800000>;
  28. };
  29. ethernet@2,02000000 {
  30. compatible = "smsc,lan91c111";
  31. reg = <2 0x02000000 0x10000>;
  32. interrupts = <15>;
  33. };
  34. v2m_clk24mhz: clk24mhz {
  35. compatible = "fixed-clock";
  36. #clock-cells = <0>;
  37. clock-frequency = <24000000>;
  38. clock-output-names = "v2m:clk24mhz";
  39. };
  40. v2m_refclk1mhz: refclk1mhz {
  41. compatible = "fixed-clock";
  42. #clock-cells = <0>;
  43. clock-frequency = <1000000>;
  44. clock-output-names = "v2m:refclk1mhz";
  45. };
  46. v2m_refclk32khz: refclk32khz {
  47. compatible = "fixed-clock";
  48. #clock-cells = <0>;
  49. clock-frequency = <32768>;
  50. clock-output-names = "v2m:refclk32khz";
  51. };
  52. iofpga@3,00000000 {
  53. compatible = "simple-bus";
  54. #address-cells = <1>;
  55. #size-cells = <1>;
  56. ranges = <0 3 0 0x200000>;
  57. v2m_sysreg: sysreg@10000 {
  58. compatible = "arm,vexpress-sysreg";
  59. reg = <0x010000 0x1000>;
  60. gpio-controller;
  61. #gpio-cells = <2>;
  62. };
  63. v2m_sysctl: sysctl@20000 {
  64. compatible = "arm,sp810", "arm,primecell";
  65. reg = <0x020000 0x1000>;
  66. clocks = <&v2m_refclk32khz>, <&v2m_refclk1mhz>, <&v2m_clk24mhz>;
  67. clock-names = "refclk", "timclk", "apb_pclk";
  68. #clock-cells = <1>;
  69. clock-output-names = "timerclken0", "timerclken1", "timerclken2", "timerclken3";
  70. assigned-clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, <&v2m_sysctl 3>, <&v2m_sysctl 3>;
  71. assigned-clock-parents = <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, <&v2m_refclk1mhz>, <&v2m_refclk1mhz>;
  72. };
  73. aaci@40000 {
  74. compatible = "arm,pl041", "arm,primecell";
  75. reg = <0x040000 0x1000>;
  76. interrupts = <11>;
  77. clocks = <&v2m_clk24mhz>;
  78. clock-names = "apb_pclk";
  79. };
  80. mmci@50000 {
  81. compatible = "arm,pl180", "arm,primecell";
  82. reg = <0x050000 0x1000>;
  83. interrupts = <9 10>;
  84. cd-gpios = <&v2m_sysreg 0 0>;
  85. wp-gpios = <&v2m_sysreg 1 0>;
  86. max-frequency = <12000000>;
  87. vmmc-supply = <&v2m_fixed_3v3>;
  88. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  89. clock-names = "mclk", "apb_pclk";
  90. };
  91. kmi@60000 {
  92. compatible = "arm,pl050", "arm,primecell";
  93. reg = <0x060000 0x1000>;
  94. interrupts = <12>;
  95. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  96. clock-names = "KMIREFCLK", "apb_pclk";
  97. };
  98. kmi@70000 {
  99. compatible = "arm,pl050", "arm,primecell";
  100. reg = <0x070000 0x1000>;
  101. interrupts = <13>;
  102. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  103. clock-names = "KMIREFCLK", "apb_pclk";
  104. };
  105. v2m_serial0: uart@90000 {
  106. compatible = "arm,pl011", "arm,primecell";
  107. reg = <0x090000 0x1000>;
  108. interrupts = <5>;
  109. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  110. clock-names = "uartclk", "apb_pclk";
  111. };
  112. v2m_serial1: uart@a0000 {
  113. compatible = "arm,pl011", "arm,primecell";
  114. reg = <0x0a0000 0x1000>;
  115. interrupts = <6>;
  116. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  117. clock-names = "uartclk", "apb_pclk";
  118. };
  119. v2m_serial2: uart@b0000 {
  120. compatible = "arm,pl011", "arm,primecell";
  121. reg = <0x0b0000 0x1000>;
  122. interrupts = <7>;
  123. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  124. clock-names = "uartclk", "apb_pclk";
  125. };
  126. v2m_serial3: uart@c0000 {
  127. compatible = "arm,pl011", "arm,primecell";
  128. reg = <0x0c0000 0x1000>;
  129. interrupts = <8>;
  130. clocks = <&v2m_clk24mhz>, <&v2m_clk24mhz>;
  131. clock-names = "uartclk", "apb_pclk";
  132. };
  133. wdt@f0000 {
  134. compatible = "arm,sp805", "arm,primecell";
  135. reg = <0x0f0000 0x1000>;
  136. interrupts = <0>;
  137. clocks = <&v2m_refclk32khz>, <&v2m_clk24mhz>;
  138. clock-names = "wdogclk", "apb_pclk";
  139. };
  140. v2m_timer01: timer@110000 {
  141. compatible = "arm,sp804", "arm,primecell";
  142. reg = <0x110000 0x1000>;
  143. interrupts = <2>;
  144. clocks = <&v2m_sysctl 0>, <&v2m_sysctl 1>, <&v2m_clk24mhz>;
  145. clock-names = "timclken1", "timclken2", "apb_pclk";
  146. };
  147. v2m_timer23: timer@120000 {
  148. compatible = "arm,sp804", "arm,primecell";
  149. reg = <0x120000 0x1000>;
  150. interrupts = <3>;
  151. clocks = <&v2m_sysctl 2>, <&v2m_sysctl 3>, <&v2m_clk24mhz>;
  152. clock-names = "timclken1", "timclken2", "apb_pclk";
  153. };
  154. rtc@170000 {
  155. compatible = "arm,pl031", "arm,primecell";
  156. reg = <0x170000 0x1000>;
  157. interrupts = <4>;
  158. clocks = <&v2m_clk24mhz>;
  159. clock-names = "apb_pclk";
  160. };
  161. clcd@1f0000 {
  162. compatible = "arm,pl111", "arm,primecell";
  163. reg = <0x1f0000 0x1000>;
  164. interrupt-names = "combined";
  165. interrupts = <14>;
  166. clocks = <&v2m_oscclk1>, <&v2m_clk24mhz>;
  167. clock-names = "clcdclk", "apb_pclk";
  168. arm,pl11x,framebuffer = <0x18000000 0x00180000>;
  169. memory-region = <&v2m_video_ram>;
  170. max-memory-bandwidth = <130000000>; /* 16bpp @ 63.5MHz */
  171. port {
  172. v2m_clcd_pads: endpoint {
  173. remote-endpoint = <&v2m_clcd_panel>;
  174. arm,pl11x,tft-r0g0b0-pads = <0 8 16>;
  175. };
  176. };
  177. panel {
  178. compatible = "panel-dpi";
  179. port {
  180. v2m_clcd_panel: endpoint {
  181. remote-endpoint = <&v2m_clcd_pads>;
  182. };
  183. };
  184. panel-timing {
  185. clock-frequency = <63500127>;
  186. hactive = <1024>;
  187. hback-porch = <152>;
  188. hfront-porch = <48>;
  189. hsync-len = <104>;
  190. vactive = <768>;
  191. vback-porch = <23>;
  192. vfront-porch = <3>;
  193. vsync-len = <4>;
  194. };
  195. };
  196. };
  197. virtio-block@130000 {
  198. compatible = "virtio,mmio";
  199. reg = <0x130000 0x200>;
  200. interrupts = <42>;
  201. };
  202. };
  203. v2m_fixed_3v3: v2m-3v3 {
  204. compatible = "regulator-fixed";
  205. regulator-name = "3V3";
  206. regulator-min-microvolt = <3300000>;
  207. regulator-max-microvolt = <3300000>;
  208. regulator-always-on;
  209. };
  210. mcc {
  211. compatible = "arm,vexpress,config-bus";
  212. arm,vexpress,config-bridge = <&v2m_sysreg>;
  213. v2m_oscclk1: oscclk1 {
  214. /* CLCD clock */
  215. compatible = "arm,vexpress-osc";
  216. arm,vexpress-sysreg,func = <1 1>;
  217. freq-range = <23750000 63500000>;
  218. #clock-cells = <0>;
  219. clock-output-names = "v2m:oscclk1";
  220. };
  221. reset {
  222. compatible = "arm,vexpress-reset";
  223. arm,vexpress-sysreg,func = <5 0>;
  224. };
  225. muxfpga {
  226. compatible = "arm,vexpress-muxfpga";
  227. arm,vexpress-sysreg,func = <7 0>;
  228. };
  229. shutdown {
  230. compatible = "arm,vexpress-shutdown";
  231. arm,vexpress-sysreg,func = <8 0>;
  232. };
  233. reboot {
  234. compatible = "arm,vexpress-reboot";
  235. arm,vexpress-sysreg,func = <9 0>;
  236. };
  237. dvimode {
  238. compatible = "arm,vexpress-dvimode";
  239. arm,vexpress-sysreg,func = <11 0>;
  240. };
  241. };
  242. };
  243. };
  244. };