system.dts 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Device Tree Generator version: 1.1
  4. *
  5. * (C) Copyright 2007-2008 Xilinx, Inc.
  6. * (C) Copyright 2007-2009 Michal Simek
  7. *
  8. * Michal SIMEK <[email protected]>
  9. *
  10. * CAUTION: This file is automatically generated by libgen.
  11. * Version: Xilinx EDK 10.1.03 EDK_K_SP3.6
  12. *
  13. * XPS project directory: Xilinx-ML505-ll_temac-sgdma-MMU-FDT-edk101
  14. */
  15. /dts-v1/;
  16. / {
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. compatible = "xlnx,microblaze";
  20. model = "testing";
  21. DDR2_SDRAM: memory@90000000 {
  22. device_type = "memory";
  23. reg = < 0x90000000 0x10000000 >;
  24. } ;
  25. aliases {
  26. ethernet0 = &Hard_Ethernet_MAC;
  27. serial0 = &RS232_Uart_1;
  28. } ;
  29. chosen {
  30. bootargs = "console=ttyUL0,115200 highres=on";
  31. stdout-path = "/plb@0/serial@84000000";
  32. } ;
  33. cpus {
  34. #address-cells = <1>;
  35. #cpus = <0x1>;
  36. #size-cells = <0>;
  37. microblaze_0: cpu@0 {
  38. clock-frequency = <125000000>;
  39. compatible = "xlnx,microblaze-7.10.d";
  40. d-cache-baseaddr = <0x90000000>;
  41. d-cache-highaddr = <0x9fffffff>;
  42. d-cache-line-size = <0x10>;
  43. d-cache-size = <0x2000>;
  44. device_type = "cpu";
  45. i-cache-baseaddr = <0x90000000>;
  46. i-cache-highaddr = <0x9fffffff>;
  47. i-cache-line-size = <0x10>;
  48. i-cache-size = <0x2000>;
  49. model = "microblaze,7.10.d";
  50. reg = <0>;
  51. timebase-frequency = <125000000>;
  52. xlnx,addr-tag-bits = <0xf>;
  53. xlnx,allow-dcache-wr = <0x1>;
  54. xlnx,allow-icache-wr = <0x1>;
  55. xlnx,area-optimized = <0x0>;
  56. xlnx,cache-byte-size = <0x2000>;
  57. xlnx,d-lmb = <0x1>;
  58. xlnx,d-opb = <0x0>;
  59. xlnx,d-plb = <0x1>;
  60. xlnx,data-size = <0x20>;
  61. xlnx,dcache-addr-tag = <0xf>;
  62. xlnx,dcache-always-used = <0x1>;
  63. xlnx,dcache-byte-size = <0x2000>;
  64. xlnx,dcache-line-len = <0x4>;
  65. xlnx,dcache-use-fsl = <0x1>;
  66. xlnx,debug-enabled = <0x1>;
  67. xlnx,div-zero-exception = <0x1>;
  68. xlnx,dopb-bus-exception = <0x0>;
  69. xlnx,dynamic-bus-sizing = <0x1>;
  70. xlnx,edge-is-positive = <0x1>;
  71. xlnx,family = "virtex5";
  72. xlnx,endianness = <0x1>;
  73. xlnx,fpu-exception = <0x1>;
  74. xlnx,fsl-data-size = <0x20>;
  75. xlnx,fsl-exception = <0x0>;
  76. xlnx,fsl-links = <0x0>;
  77. xlnx,i-lmb = <0x1>;
  78. xlnx,i-opb = <0x0>;
  79. xlnx,i-plb = <0x1>;
  80. xlnx,icache-always-used = <0x1>;
  81. xlnx,icache-line-len = <0x4>;
  82. xlnx,icache-use-fsl = <0x1>;
  83. xlnx,ill-opcode-exception = <0x1>;
  84. xlnx,instance = "microblaze_0";
  85. xlnx,interconnect = <0x1>;
  86. xlnx,interrupt-is-edge = <0x0>;
  87. xlnx,iopb-bus-exception = <0x0>;
  88. xlnx,mmu-dtlb-size = <0x4>;
  89. xlnx,mmu-itlb-size = <0x2>;
  90. xlnx,mmu-tlb-access = <0x3>;
  91. xlnx,mmu-zones = <0x10>;
  92. xlnx,number-of-pc-brk = <0x1>;
  93. xlnx,number-of-rd-addr-brk = <0x0>;
  94. xlnx,number-of-wr-addr-brk = <0x0>;
  95. xlnx,opcode-0x0-illegal = <0x1>;
  96. xlnx,pvr = <0x2>;
  97. xlnx,pvr-user1 = <0x0>;
  98. xlnx,pvr-user2 = <0x0>;
  99. xlnx,reset-msr = <0x0>;
  100. xlnx,sco = <0x0>;
  101. xlnx,unaligned-exceptions = <0x1>;
  102. xlnx,use-barrel = <0x1>;
  103. xlnx,use-dcache = <0x1>;
  104. xlnx,use-div = <0x1>;
  105. xlnx,use-ext-brk = <0x1>;
  106. xlnx,use-ext-nm-brk = <0x1>;
  107. xlnx,use-extended-fsl-instr = <0x0>;
  108. xlnx,use-fpu = <0x2>;
  109. xlnx,use-hw-mul = <0x2>;
  110. xlnx,use-icache = <0x1>;
  111. xlnx,use-interrupt = <0x1>;
  112. xlnx,use-mmu = <0x3>;
  113. xlnx,use-msr-instr = <0x1>;
  114. xlnx,use-pcmp-instr = <0x1>;
  115. } ;
  116. } ;
  117. mb_plb: plb@0 {
  118. #address-cells = <1>;
  119. #size-cells = <1>;
  120. compatible = "xlnx,plb-v46-1.03.a", "xlnx,plb-v46-1.00.a", "simple-bus";
  121. ranges ;
  122. FLASH: flash@a0000000 {
  123. bank-width = <2>;
  124. compatible = "xlnx,xps-mch-emc-2.00.a", "cfi-flash";
  125. reg = < 0xa0000000 0x2000000 >;
  126. xlnx,family = "virtex5";
  127. xlnx,include-datawidth-matching-0 = <0x1>;
  128. xlnx,include-datawidth-matching-1 = <0x0>;
  129. xlnx,include-datawidth-matching-2 = <0x0>;
  130. xlnx,include-datawidth-matching-3 = <0x0>;
  131. xlnx,include-negedge-ioregs = <0x0>;
  132. xlnx,include-plb-ipif = <0x1>;
  133. xlnx,include-wrbuf = <0x1>;
  134. xlnx,max-mem-width = <0x10>;
  135. xlnx,mch-native-dwidth = <0x20>;
  136. xlnx,mch-plb-clk-period-ps = <0x1f40>;
  137. xlnx,mch-splb-awidth = <0x20>;
  138. xlnx,mch0-accessbuf-depth = <0x10>;
  139. xlnx,mch0-protocol = <0x0>;
  140. xlnx,mch0-rddatabuf-depth = <0x10>;
  141. xlnx,mch1-accessbuf-depth = <0x10>;
  142. xlnx,mch1-protocol = <0x0>;
  143. xlnx,mch1-rddatabuf-depth = <0x10>;
  144. xlnx,mch2-accessbuf-depth = <0x10>;
  145. xlnx,mch2-protocol = <0x0>;
  146. xlnx,mch2-rddatabuf-depth = <0x10>;
  147. xlnx,mch3-accessbuf-depth = <0x10>;
  148. xlnx,mch3-protocol = <0x0>;
  149. xlnx,mch3-rddatabuf-depth = <0x10>;
  150. xlnx,mem0-width = <0x10>;
  151. xlnx,mem1-width = <0x20>;
  152. xlnx,mem2-width = <0x20>;
  153. xlnx,mem3-width = <0x20>;
  154. xlnx,num-banks-mem = <0x1>;
  155. xlnx,num-channels = <0x0>;
  156. xlnx,priority-mode = <0x0>;
  157. xlnx,synch-mem-0 = <0x0>;
  158. xlnx,synch-mem-1 = <0x0>;
  159. xlnx,synch-mem-2 = <0x0>;
  160. xlnx,synch-mem-3 = <0x0>;
  161. xlnx,synch-pipedelay-0 = <0x2>;
  162. xlnx,synch-pipedelay-1 = <0x2>;
  163. xlnx,synch-pipedelay-2 = <0x2>;
  164. xlnx,synch-pipedelay-3 = <0x2>;
  165. xlnx,tavdv-ps-mem-0 = <0x1adb0>;
  166. xlnx,tavdv-ps-mem-1 = <0x3a98>;
  167. xlnx,tavdv-ps-mem-2 = <0x3a98>;
  168. xlnx,tavdv-ps-mem-3 = <0x3a98>;
  169. xlnx,tcedv-ps-mem-0 = <0x1adb0>;
  170. xlnx,tcedv-ps-mem-1 = <0x3a98>;
  171. xlnx,tcedv-ps-mem-2 = <0x3a98>;
  172. xlnx,tcedv-ps-mem-3 = <0x3a98>;
  173. xlnx,thzce-ps-mem-0 = <0x88b8>;
  174. xlnx,thzce-ps-mem-1 = <0x1b58>;
  175. xlnx,thzce-ps-mem-2 = <0x1b58>;
  176. xlnx,thzce-ps-mem-3 = <0x1b58>;
  177. xlnx,thzoe-ps-mem-0 = <0x1b58>;
  178. xlnx,thzoe-ps-mem-1 = <0x1b58>;
  179. xlnx,thzoe-ps-mem-2 = <0x1b58>;
  180. xlnx,thzoe-ps-mem-3 = <0x1b58>;
  181. xlnx,tlzwe-ps-mem-0 = <0x88b8>;
  182. xlnx,tlzwe-ps-mem-1 = <0x0>;
  183. xlnx,tlzwe-ps-mem-2 = <0x0>;
  184. xlnx,tlzwe-ps-mem-3 = <0x0>;
  185. xlnx,twc-ps-mem-0 = <0x2af8>;
  186. xlnx,twc-ps-mem-1 = <0x3a98>;
  187. xlnx,twc-ps-mem-2 = <0x3a98>;
  188. xlnx,twc-ps-mem-3 = <0x3a98>;
  189. xlnx,twp-ps-mem-0 = <0x11170>;
  190. xlnx,twp-ps-mem-1 = <0x2ee0>;
  191. xlnx,twp-ps-mem-2 = <0x2ee0>;
  192. xlnx,twp-ps-mem-3 = <0x2ee0>;
  193. xlnx,xcl0-linesize = <0x4>;
  194. xlnx,xcl0-writexfer = <0x1>;
  195. xlnx,xcl1-linesize = <0x4>;
  196. xlnx,xcl1-writexfer = <0x1>;
  197. xlnx,xcl2-linesize = <0x4>;
  198. xlnx,xcl2-writexfer = <0x1>;
  199. xlnx,xcl3-linesize = <0x4>;
  200. xlnx,xcl3-writexfer = <0x1>;
  201. } ;
  202. Hard_Ethernet_MAC: xps-ll-temac@81c00000 {
  203. #address-cells = <1>;
  204. #size-cells = <1>;
  205. compatible = "xlnx,compound";
  206. ranges ;
  207. ethernet@81c00000 {
  208. compatible = "xlnx,xps-ll-temac-1.01.b", "xlnx,xps-ll-temac-1.00.a";
  209. interrupt-parent = <&xps_intc_0>;
  210. interrupts = < 5 2 >;
  211. llink-connected = <&PIM3>;
  212. local-mac-address = [ 00 0a 35 00 00 00 ];
  213. reg = < 0x81c00000 0x40 >;
  214. xlnx,bus2core-clk-ratio = <0x1>;
  215. xlnx,phy-type = <0x1>;
  216. xlnx,phyaddr = <0x1>;
  217. xlnx,rxcsum = <0x0>;
  218. xlnx,rxfifo = <0x1000>;
  219. xlnx,temac-type = <0x0>;
  220. xlnx,txcsum = <0x0>;
  221. xlnx,txfifo = <0x1000>;
  222. } ;
  223. } ;
  224. IIC_EEPROM: i2c@81600000 {
  225. compatible = "xlnx,xps-iic-2.00.a";
  226. interrupt-parent = <&xps_intc_0>;
  227. interrupts = < 6 2 >;
  228. reg = < 0x81600000 0x10000 >;
  229. xlnx,clk-freq = <0x7735940>;
  230. xlnx,family = "virtex5";
  231. xlnx,gpo-width = <0x1>;
  232. xlnx,iic-freq = <0x186a0>;
  233. xlnx,scl-inertial-delay = <0x0>;
  234. xlnx,sda-inertial-delay = <0x0>;
  235. xlnx,ten-bit-adr = <0x0>;
  236. } ;
  237. LEDs_8Bit: gpio@81400000 {
  238. compatible = "xlnx,xps-gpio-1.00.a";
  239. interrupt-parent = <&xps_intc_0>;
  240. interrupts = < 7 2 >;
  241. reg = < 0x81400000 0x10000 >;
  242. xlnx,all-inputs = <0x0>;
  243. xlnx,all-inputs-2 = <0x0>;
  244. xlnx,dout-default = <0x0>;
  245. xlnx,dout-default-2 = <0x0>;
  246. xlnx,family = "virtex5";
  247. xlnx,gpio-width = <0x8>;
  248. xlnx,interrupt-present = <0x1>;
  249. xlnx,is-bidir = <0x1>;
  250. xlnx,is-bidir-2 = <0x1>;
  251. xlnx,is-dual = <0x0>;
  252. xlnx,tri-default = <0xffffffff>;
  253. xlnx,tri-default-2 = <0xffffffff>;
  254. #gpio-cells = <2>;
  255. gpio-controller;
  256. } ;
  257. gpio-leds {
  258. compatible = "gpio-leds";
  259. heartbeat {
  260. label = "Heartbeat";
  261. gpios = <&LEDs_8Bit 4 1>;
  262. linux,default-trigger = "heartbeat";
  263. };
  264. yellow {
  265. label = "Yellow";
  266. gpios = <&LEDs_8Bit 5 1>;
  267. };
  268. red {
  269. label = "Red";
  270. gpios = <&LEDs_8Bit 6 1>;
  271. };
  272. green {
  273. label = "Green";
  274. gpios = <&LEDs_8Bit 7 1>;
  275. };
  276. } ;
  277. gpio-restart {
  278. compatible = "gpio-restart";
  279. /*
  280. * FIXME: is this active low or active high?
  281. * the current flag (1) indicates active low.
  282. * delay measures are templates, should be adjusted
  283. * to datasheet or trial-and-error with real hardware.
  284. */
  285. gpios = <&LEDs_8Bit 2 1>;
  286. active-delay = <100>;
  287. inactive-delay = <10>;
  288. wait-delay = <100>;
  289. };
  290. RS232_Uart_1: serial@84000000 {
  291. clock-frequency = <125000000>;
  292. compatible = "xlnx,xps-uartlite-1.00.a";
  293. current-speed = <115200>;
  294. device_type = "serial";
  295. interrupt-parent = <&xps_intc_0>;
  296. interrupts = < 8 0 >;
  297. port-number = <0>;
  298. reg = < 0x84000000 0x10000 >;
  299. xlnx,baudrate = <0x1c200>;
  300. xlnx,data-bits = <0x8>;
  301. xlnx,family = "virtex5";
  302. xlnx,odd-parity = <0x0>;
  303. xlnx,use-parity = <0x0>;
  304. } ;
  305. debug_module: debug@84400000 {
  306. compatible = "xlnx,mdm-1.00.d";
  307. reg = < 0x84400000 0x10000 >;
  308. xlnx,family = "virtex5";
  309. xlnx,interconnect = <0x1>;
  310. xlnx,jtag-chain = <0x2>;
  311. xlnx,mb-dbg-ports = <0x1>;
  312. xlnx,uart-width = <0x8>;
  313. xlnx,use-uart = <0x1>;
  314. xlnx,write-fsl-ports = <0x0>;
  315. } ;
  316. mpmc@90000000 {
  317. #address-cells = <1>;
  318. #size-cells = <1>;
  319. compatible = "xlnx,mpmc-4.02.a";
  320. ranges ;
  321. PIM3: sdma@84600180 {
  322. compatible = "xlnx,ll-dma-1.00.a";
  323. interrupt-parent = <&xps_intc_0>;
  324. interrupts = < 2 2 1 2 >;
  325. reg = < 0x84600180 0x80 >;
  326. } ;
  327. } ;
  328. xps_intc_0: interrupt-controller@81800000 {
  329. #interrupt-cells = <0x2>;
  330. compatible = "xlnx,xps-intc-1.00.a";
  331. interrupt-controller ;
  332. reg = < 0x81800000 0x10000 >;
  333. xlnx,kind-of-intr = <0x100>;
  334. xlnx,num-intr-inputs = <0x9>;
  335. } ;
  336. xps_timer_1: timer@83c00000 {
  337. compatible = "xlnx,xps-timer-1.00.a";
  338. interrupt-parent = <&xps_intc_0>;
  339. interrupts = < 3 2 >;
  340. reg = < 0x83c00000 0x10000 >;
  341. xlnx,count-width = <0x20>;
  342. xlnx,one-timer-only = <0x0>;
  343. } ;
  344. } ;
  345. } ;