10m50_devboard.dts 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. /*
  2. * Copyright (C) 2015 Altera Corporation
  3. *
  4. * This file is generated by sopc2dts.
  5. *
  6. * SPDX-License-Identifier: GPL-2.0+
  7. */
  8. /dts-v1/;
  9. / {
  10. model = "Altera NiosII Max10";
  11. compatible = "altr,niosii-max10";
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. cpus {
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. cpu: cpu@0 {
  18. device_type = "cpu";
  19. compatible = "altr,nios2-1.1";
  20. reg = <0x00000000>;
  21. interrupt-controller;
  22. #interrupt-cells = <1>;
  23. altr,exception-addr = <0xc8000120>;
  24. altr,fast-tlb-miss-addr = <0xc0000100>;
  25. altr,has-div = <1>;
  26. altr,has-initda = <1>;
  27. altr,has-mmu = <1>;
  28. altr,has-mul = <1>;
  29. altr,implementation = "fast";
  30. altr,pid-num-bits = <8>;
  31. altr,reset-addr = <0xd4000000>;
  32. altr,tlb-num-entries = <256>;
  33. altr,tlb-num-ways = <16>;
  34. altr,tlb-ptr-sz = <8>;
  35. clock-frequency = <75000000>;
  36. dcache-line-size = <32>;
  37. dcache-size = <32768>;
  38. icache-line-size = <32>;
  39. icache-size = <32768>;
  40. };
  41. };
  42. memory {
  43. device_type = "memory";
  44. reg = <0x08000000 0x08000000>,
  45. <0x00000000 0x00000400>;
  46. };
  47. sopc0: sopc@0 {
  48. device_type = "soc";
  49. ranges;
  50. #address-cells = <1>;
  51. #size-cells = <1>;
  52. compatible = "altr,avalon", "simple-bus";
  53. bus-frequency = <75000000>;
  54. jtag_uart: serial@18001530 {
  55. compatible = "altr,juart-1.0";
  56. reg = <0x18001530 0x00000008>;
  57. interrupt-parent = <&cpu>;
  58. interrupts = <7>;
  59. };
  60. a_16550_uart_0: serial@18001600 {
  61. compatible = "altr,16550-FIFO32", "ns16550a";
  62. reg = <0x18001600 0x00000200>;
  63. interrupt-parent = <&cpu>;
  64. interrupts = <1>;
  65. auto-flow-control = <1>;
  66. clock-frequency = <50000000>;
  67. fifo-size = <32>;
  68. reg-io-width = <4>;
  69. reg-shift = <2>;
  70. };
  71. ext_flash: quadspi@0x180014a0 {
  72. compatible = "altr,quadspi-1.0";
  73. reg = <0x180014a0 0x00000020>,
  74. <0x14000000 0x04000000>;
  75. reg-names = "avl_csr", "avl_mem";
  76. interrupt-parent = <&cpu>;
  77. interrupts = <4>;
  78. #address-cells = <1>;
  79. #size-cells = <0>;
  80. flash0: nor0@0 {
  81. compatible = "micron,n25q512a";
  82. #address-cells = <1>;
  83. #size-cells = <1>;
  84. };
  85. };
  86. sysid: sysid@18001528 {
  87. compatible = "altr,sysid-1.0";
  88. reg = <0x18001528 0x00000008>;
  89. };
  90. rgmii_0_eth_tse_0: ethernet@400 {
  91. compatible = "altr,tse-msgdma-1.0", "altr,tse-1.0";
  92. reg = <0x00000400 0x00000400>,
  93. <0x00000820 0x00000020>,
  94. <0x00000800 0x00000020>,
  95. <0x000008c0 0x00000008>,
  96. <0x00000840 0x00000020>,
  97. <0x00000860 0x00000020>;
  98. reg-names = "control_port", "rx_csr", "rx_desc", "rx_resp",
  99. "tx_csr", "tx_desc";
  100. interrupt-parent = <&cpu>;
  101. interrupts = <2 3>;
  102. interrupt-names = "rx_irq", "tx_irq";
  103. rx-fifo-depth = <8192>;
  104. tx-fifo-depth = <8192>;
  105. address-bits = <48>;
  106. max-frame-size = <1518>;
  107. local-mac-address = [00 00 00 00 00 00];
  108. altr,has-supplementary-unicast;
  109. altr,enable-sup-addr = <1>;
  110. altr,has-hash-multicast-filter;
  111. altr,enable-hash = <1>;
  112. phy-mode = "rgmii-id";
  113. phy-handle = <&phy0>;
  114. rgmii_0_eth_tse_0_mdio: mdio {
  115. compatible = "altr,tse-mdio";
  116. #address-cells = <1>;
  117. #size-cells = <0>;
  118. phy0: ethernet-phy@0 {
  119. reg = <0>;
  120. device_type = "ethernet-phy";
  121. };
  122. };
  123. };
  124. enet_pll: clock@0 {
  125. compatible = "altr,pll-1.0";
  126. #clock-cells = <1>;
  127. enet_pll_c0: enet_pll_c0 {
  128. compatible = "fixed-clock";
  129. #clock-cells = <0>;
  130. clock-frequency = <125000000>;
  131. clock-output-names = "enet_pll-c0";
  132. };
  133. enet_pll_c1: enet_pll_c1 {
  134. compatible = "fixed-clock";
  135. #clock-cells = <0>;
  136. clock-frequency = <25000000>;
  137. clock-output-names = "enet_pll-c1";
  138. };
  139. enet_pll_c2: enet_pll_c2 {
  140. compatible = "fixed-clock";
  141. #clock-cells = <0>;
  142. clock-frequency = <2500000>;
  143. clock-output-names = "enet_pll-c2";
  144. };
  145. };
  146. sys_pll: clock@1 {
  147. compatible = "altr,pll-1.0";
  148. #clock-cells = <1>;
  149. sys_pll_c0: sys_pll_c0 {
  150. compatible = "fixed-clock";
  151. #clock-cells = <0>;
  152. clock-frequency = <100000000>;
  153. clock-output-names = "sys_pll-c0";
  154. };
  155. sys_pll_c1: sys_pll_c1 {
  156. compatible = "fixed-clock";
  157. #clock-cells = <0>;
  158. clock-frequency = <50000000>;
  159. clock-output-names = "sys_pll-c1";
  160. };
  161. sys_pll_c2: sys_pll_c2 {
  162. compatible = "fixed-clock";
  163. #clock-cells = <0>;
  164. clock-frequency = <75000000>;
  165. clock-output-names = "sys_pll-c2";
  166. };
  167. };
  168. sys_clk_timer: timer@18001440 {
  169. compatible = "altr,timer-1.0";
  170. reg = <0x18001440 0x00000020>;
  171. interrupt-parent = <&cpu>;
  172. interrupts = <0>;
  173. clock-frequency = <75000000>;
  174. };
  175. led_pio: gpio@180014d0 {
  176. compatible = "altr,pio-1.0";
  177. reg = <0x180014d0 0x00000010>;
  178. altr,gpio-bank-width = <4>;
  179. resetvalue = <15>;
  180. #gpio-cells = <2>;
  181. gpio-controller;
  182. gpio-bank-name = "led";
  183. };
  184. uart_0: serial@0x18001420 {
  185. compatible = "altr,uart-1.0";
  186. reg = <0x18001420 0x00000020>;
  187. interrupt-parent = <&cpu>;
  188. interrupts = <1>;
  189. clock-frequency = <75000000>;
  190. current-speed = <115200>;
  191. };
  192. button_pio: gpio@180014c0 {
  193. compatible = "altr,pio-1.0";
  194. reg = <0x180014c0 0x00000010>;
  195. interrupt-parent = <&cpu>;
  196. interrupts = <6>;
  197. altr,gpio-bank-width = <3>;
  198. altr,interrupt-type = <2>;
  199. edge_type = <1>;
  200. level_trigger = <0>;
  201. resetvalue = <0>;
  202. #gpio-cells = <2>;
  203. gpio-controller;
  204. gpio-bank-name = "button";
  205. };
  206. sys_clk_timer_1: timer@880 {
  207. compatible = "altr,timer-1.0";
  208. reg = <0x00000880 0x00000020>;
  209. interrupt-parent = <&cpu>;
  210. interrupts = <5>;
  211. clock-frequency = <75000000>;
  212. };
  213. fpga_leds: leds {
  214. compatible = "gpio-leds";
  215. led_fpga0: fpga0 {
  216. label = "fpga_led0";
  217. gpios = <&led_pio 0 1>;
  218. };
  219. led_fpga1: fpga1 {
  220. label = "fpga_led1";
  221. gpios = <&led_pio 1 1>;
  222. };
  223. led_fpga2: fpga2 {
  224. label = "fpga_led2";
  225. gpios = <&led_pio 2 1>;
  226. };
  227. led_fpga3: fpga3 {
  228. label = "fpga_led3";
  229. gpios = <&led_pio 3 1>;
  230. };
  231. };
  232. };
  233. chosen {
  234. bootargs = "debug console=ttyS0,115200";
  235. stdout-path = &a_16550_uart_0;
  236. };
  237. };