tqm8541.dts 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. /*
  2. * TQM 8541 Device Tree Source
  3. *
  4. * Copyright 2008 Freescale Semiconductor Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation; either version 2 of the License, or (at your
  9. * option) any later version.
  10. */
  11. /dts-v1/;
  12. / {
  13. model = "tqc,tqm8541";
  14. compatible = "tqc,tqm8541";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. serial0 = &serial0;
  21. serial1 = &serial1;
  22. pci0 = &pci0;
  23. };
  24. cpus {
  25. #address-cells = <1>;
  26. #size-cells = <0>;
  27. PowerPC,8541@0 {
  28. device_type = "cpu";
  29. reg = <0>;
  30. d-cache-line-size = <32>;
  31. i-cache-line-size = <32>;
  32. d-cache-size = <32768>;
  33. i-cache-size = <32768>;
  34. timebase-frequency = <0>;
  35. bus-frequency = <0>;
  36. clock-frequency = <0>;
  37. next-level-cache = <&L2>;
  38. };
  39. };
  40. memory {
  41. device_type = "memory";
  42. reg = <0x00000000 0x10000000>;
  43. };
  44. soc@e0000000 {
  45. #address-cells = <1>;
  46. #size-cells = <1>;
  47. device_type = "soc";
  48. ranges = <0x0 0xe0000000 0x100000>;
  49. bus-frequency = <0>;
  50. compatible = "fsl,mpc8541-immr", "simple-bus";
  51. ecm-law@0 {
  52. compatible = "fsl,ecm-law";
  53. reg = <0x0 0x1000>;
  54. fsl,num-laws = <8>;
  55. };
  56. ecm@1000 {
  57. compatible = "fsl,mpc8541-ecm", "fsl,ecm";
  58. reg = <0x1000 0x1000>;
  59. interrupts = <17 2>;
  60. interrupt-parent = <&mpic>;
  61. };
  62. memory-controller@2000 {
  63. compatible = "fsl,mpc8540-memory-controller";
  64. reg = <0x2000 0x1000>;
  65. interrupt-parent = <&mpic>;
  66. interrupts = <18 2>;
  67. };
  68. L2: l2-cache-controller@20000 {
  69. compatible = "fsl,mpc8540-l2-cache-controller";
  70. reg = <0x20000 0x1000>;
  71. cache-line-size = <32>;
  72. cache-size = <0x40000>; // L2, 256K
  73. interrupt-parent = <&mpic>;
  74. interrupts = <16 2>;
  75. };
  76. i2c@3000 {
  77. #address-cells = <1>;
  78. #size-cells = <0>;
  79. cell-index = <0>;
  80. compatible = "fsl-i2c";
  81. reg = <0x3000 0x100>;
  82. interrupts = <43 2>;
  83. interrupt-parent = <&mpic>;
  84. dfsrr;
  85. dtt@48 {
  86. compatible = "national,lm75";
  87. reg = <0x48>;
  88. };
  89. rtc@68 {
  90. compatible = "dallas,ds1337";
  91. reg = <0x68>;
  92. };
  93. };
  94. dma@21300 {
  95. #address-cells = <1>;
  96. #size-cells = <1>;
  97. compatible = "fsl,mpc8541-dma", "fsl,eloplus-dma";
  98. reg = <0x21300 0x4>;
  99. ranges = <0x0 0x21100 0x200>;
  100. cell-index = <0>;
  101. dma-channel@0 {
  102. compatible = "fsl,mpc8541-dma-channel",
  103. "fsl,eloplus-dma-channel";
  104. reg = <0x0 0x80>;
  105. cell-index = <0>;
  106. interrupt-parent = <&mpic>;
  107. interrupts = <20 2>;
  108. };
  109. dma-channel@80 {
  110. compatible = "fsl,mpc8541-dma-channel",
  111. "fsl,eloplus-dma-channel";
  112. reg = <0x80 0x80>;
  113. cell-index = <1>;
  114. interrupt-parent = <&mpic>;
  115. interrupts = <21 2>;
  116. };
  117. dma-channel@100 {
  118. compatible = "fsl,mpc8541-dma-channel",
  119. "fsl,eloplus-dma-channel";
  120. reg = <0x100 0x80>;
  121. cell-index = <2>;
  122. interrupt-parent = <&mpic>;
  123. interrupts = <22 2>;
  124. };
  125. dma-channel@180 {
  126. compatible = "fsl,mpc8541-dma-channel",
  127. "fsl,eloplus-dma-channel";
  128. reg = <0x180 0x80>;
  129. cell-index = <3>;
  130. interrupt-parent = <&mpic>;
  131. interrupts = <23 2>;
  132. };
  133. };
  134. enet0: ethernet@24000 {
  135. #address-cells = <1>;
  136. #size-cells = <1>;
  137. cell-index = <0>;
  138. device_type = "network";
  139. model = "TSEC";
  140. compatible = "gianfar";
  141. reg = <0x24000 0x1000>;
  142. ranges = <0x0 0x24000 0x1000>;
  143. local-mac-address = [ 00 00 00 00 00 00 ];
  144. interrupts = <29 2 30 2 34 2>;
  145. interrupt-parent = <&mpic>;
  146. tbi-handle = <&tbi0>;
  147. phy-handle = <&phy2>;
  148. mdio@520 {
  149. #address-cells = <1>;
  150. #size-cells = <0>;
  151. compatible = "fsl,gianfar-mdio";
  152. reg = <0x520 0x20>;
  153. phy1: ethernet-phy@1 {
  154. interrupt-parent = <&mpic>;
  155. interrupts = <8 1>;
  156. reg = <1>;
  157. };
  158. phy2: ethernet-phy@2 {
  159. interrupt-parent = <&mpic>;
  160. interrupts = <8 1>;
  161. reg = <2>;
  162. };
  163. phy3: ethernet-phy@3 {
  164. interrupt-parent = <&mpic>;
  165. interrupts = <8 1>;
  166. reg = <3>;
  167. };
  168. tbi0: tbi-phy@11 {
  169. reg = <0x11>;
  170. device_type = "tbi-phy";
  171. };
  172. };
  173. };
  174. enet1: ethernet@25000 {
  175. #address-cells = <1>;
  176. #size-cells = <1>;
  177. cell-index = <1>;
  178. device_type = "network";
  179. model = "TSEC";
  180. compatible = "gianfar";
  181. reg = <0x25000 0x1000>;
  182. ranges = <0x0 0x25000 0x1000>;
  183. local-mac-address = [ 00 00 00 00 00 00 ];
  184. interrupts = <35 2 36 2 40 2>;
  185. interrupt-parent = <&mpic>;
  186. tbi-handle = <&tbi1>;
  187. phy-handle = <&phy1>;
  188. mdio@520 {
  189. #address-cells = <1>;
  190. #size-cells = <0>;
  191. compatible = "fsl,gianfar-tbi";
  192. reg = <0x520 0x20>;
  193. tbi1: tbi-phy@11 {
  194. reg = <0x11>;
  195. device_type = "tbi-phy";
  196. };
  197. };
  198. };
  199. serial0: serial@4500 {
  200. cell-index = <0>;
  201. device_type = "serial";
  202. compatible = "fsl,ns16550", "ns16550";
  203. reg = <0x4500 0x100>; // reg base, size
  204. clock-frequency = <0>; // should we fill in in uboot?
  205. interrupts = <42 2>;
  206. interrupt-parent = <&mpic>;
  207. };
  208. serial1: serial@4600 {
  209. cell-index = <1>;
  210. device_type = "serial";
  211. compatible = "fsl,ns16550", "ns16550";
  212. reg = <0x4600 0x100>; // reg base, size
  213. clock-frequency = <0>; // should we fill in in uboot?
  214. interrupts = <42 2>;
  215. interrupt-parent = <&mpic>;
  216. };
  217. crypto@30000 {
  218. compatible = "fsl,sec2.0";
  219. reg = <0x30000 0x10000>;
  220. interrupts = <45 2>;
  221. interrupt-parent = <&mpic>;
  222. fsl,num-channels = <4>;
  223. fsl,channel-fifo-len = <24>;
  224. fsl,exec-units-mask = <0x7e>;
  225. fsl,descriptor-types-mask = <0x01010ebf>;
  226. };
  227. mpic: pic@40000 {
  228. interrupt-controller;
  229. #address-cells = <0>;
  230. #interrupt-cells = <2>;
  231. reg = <0x40000 0x40000>;
  232. device_type = "open-pic";
  233. compatible = "chrp,open-pic";
  234. };
  235. cpm@919c0 {
  236. #address-cells = <1>;
  237. #size-cells = <1>;
  238. compatible = "fsl,mpc8541-cpm", "fsl,cpm2", "simple-bus";
  239. reg = <0x919c0 0x30>;
  240. ranges;
  241. muram@80000 {
  242. #address-cells = <1>;
  243. #size-cells = <1>;
  244. ranges = <0 0x80000 0x10000>;
  245. data@0 {
  246. compatible = "fsl,cpm-muram-data";
  247. reg = <0 0x2000 0x9000 0x1000>;
  248. };
  249. };
  250. brg@919f0 {
  251. compatible = "fsl,mpc8541-brg",
  252. "fsl,cpm2-brg",
  253. "fsl,cpm-brg";
  254. reg = <0x919f0 0x10 0x915f0 0x10>;
  255. clock-frequency = <0>;
  256. };
  257. cpmpic: pic@90c00 {
  258. interrupt-controller;
  259. #address-cells = <0>;
  260. #interrupt-cells = <2>;
  261. interrupts = <46 2>;
  262. interrupt-parent = <&mpic>;
  263. reg = <0x90c00 0x80>;
  264. compatible = "fsl,mpc8541-cpm-pic", "fsl,cpm2-pic";
  265. };
  266. };
  267. };
  268. pci0: pci@e0008000 {
  269. #interrupt-cells = <1>;
  270. #size-cells = <2>;
  271. #address-cells = <3>;
  272. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  273. device_type = "pci";
  274. reg = <0xe0008000 0x1000>;
  275. clock-frequency = <66666666>;
  276. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  277. interrupt-map = <
  278. /* IDSEL 28 */
  279. 0xe000 0 0 1 &mpic 2 1
  280. 0xe000 0 0 2 &mpic 3 1
  281. 0xe000 0 0 3 &mpic 6 1
  282. 0xe000 0 0 4 &mpic 5 1
  283. /* IDSEL 11 */
  284. 0x5800 0 0 1 &mpic 6 1
  285. 0x5800 0 0 2 &mpic 5 1
  286. >;
  287. interrupt-parent = <&mpic>;
  288. interrupts = <24 2>;
  289. bus-range = <0 0>;
  290. ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
  291. 0x01000000 0 0x00000000 0xe2000000 0 0x01000000>;
  292. };
  293. };