mpc8541cds.dts 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. /*
  2. * MPC8541 CDS Device Tree Source
  3. *
  4. * Copyright 2006, 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 = "MPC8541CDS";
  14. compatible = "MPC8541CDS", "MPC85xxCDS";
  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. pci1 = &pci1;
  24. };
  25. cpus {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. PowerPC,8541@0 {
  29. device_type = "cpu";
  30. reg = <0x0>;
  31. d-cache-line-size = <32>; // 32 bytes
  32. i-cache-line-size = <32>; // 32 bytes
  33. d-cache-size = <0x8000>; // L1, 32K
  34. i-cache-size = <0x8000>; // L1, 32K
  35. timebase-frequency = <0>; // 33 MHz, from uboot
  36. bus-frequency = <0>; // 166 MHz
  37. clock-frequency = <0>; // 825 MHz, from uboot
  38. next-level-cache = <&L2>;
  39. };
  40. };
  41. memory {
  42. device_type = "memory";
  43. reg = <0x0 0x8000000>; // 128M at 0x0
  44. };
  45. soc8541@e0000000 {
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. device_type = "soc";
  49. compatible = "simple-bus";
  50. ranges = <0x0 0xe0000000 0x100000>;
  51. bus-frequency = <0>;
  52. ecm-law@0 {
  53. compatible = "fsl,ecm-law";
  54. reg = <0x0 0x1000>;
  55. fsl,num-laws = <8>;
  56. };
  57. ecm@1000 {
  58. compatible = "fsl,mpc8541-ecm", "fsl,ecm";
  59. reg = <0x1000 0x1000>;
  60. interrupts = <17 2>;
  61. interrupt-parent = <&mpic>;
  62. };
  63. memory-controller@2000 {
  64. compatible = "fsl,mpc8541-memory-controller";
  65. reg = <0x2000 0x1000>;
  66. interrupt-parent = <&mpic>;
  67. interrupts = <18 2>;
  68. };
  69. L2: l2-cache-controller@20000 {
  70. compatible = "fsl,mpc8541-l2-cache-controller";
  71. reg = <0x20000 0x1000>;
  72. cache-line-size = <32>; // 32 bytes
  73. cache-size = <0x40000>; // L2, 256K
  74. interrupt-parent = <&mpic>;
  75. interrupts = <16 2>;
  76. };
  77. i2c@3000 {
  78. #address-cells = <1>;
  79. #size-cells = <0>;
  80. cell-index = <0>;
  81. compatible = "fsl-i2c";
  82. reg = <0x3000 0x100>;
  83. interrupts = <43 2>;
  84. interrupt-parent = <&mpic>;
  85. dfsrr;
  86. };
  87. dma@21300 {
  88. #address-cells = <1>;
  89. #size-cells = <1>;
  90. compatible = "fsl,mpc8541-dma", "fsl,eloplus-dma";
  91. reg = <0x21300 0x4>;
  92. ranges = <0x0 0x21100 0x200>;
  93. cell-index = <0>;
  94. dma-channel@0 {
  95. compatible = "fsl,mpc8541-dma-channel",
  96. "fsl,eloplus-dma-channel";
  97. reg = <0x0 0x80>;
  98. cell-index = <0>;
  99. interrupt-parent = <&mpic>;
  100. interrupts = <20 2>;
  101. };
  102. dma-channel@80 {
  103. compatible = "fsl,mpc8541-dma-channel",
  104. "fsl,eloplus-dma-channel";
  105. reg = <0x80 0x80>;
  106. cell-index = <1>;
  107. interrupt-parent = <&mpic>;
  108. interrupts = <21 2>;
  109. };
  110. dma-channel@100 {
  111. compatible = "fsl,mpc8541-dma-channel",
  112. "fsl,eloplus-dma-channel";
  113. reg = <0x100 0x80>;
  114. cell-index = <2>;
  115. interrupt-parent = <&mpic>;
  116. interrupts = <22 2>;
  117. };
  118. dma-channel@180 {
  119. compatible = "fsl,mpc8541-dma-channel",
  120. "fsl,eloplus-dma-channel";
  121. reg = <0x180 0x80>;
  122. cell-index = <3>;
  123. interrupt-parent = <&mpic>;
  124. interrupts = <23 2>;
  125. };
  126. };
  127. enet0: ethernet@24000 {
  128. #address-cells = <1>;
  129. #size-cells = <1>;
  130. cell-index = <0>;
  131. device_type = "network";
  132. model = "TSEC";
  133. compatible = "gianfar";
  134. reg = <0x24000 0x1000>;
  135. ranges = <0x0 0x24000 0x1000>;
  136. local-mac-address = [ 00 00 00 00 00 00 ];
  137. interrupts = <29 2 30 2 34 2>;
  138. interrupt-parent = <&mpic>;
  139. tbi-handle = <&tbi0>;
  140. phy-handle = <&phy0>;
  141. mdio@520 {
  142. #address-cells = <1>;
  143. #size-cells = <0>;
  144. compatible = "fsl,gianfar-mdio";
  145. reg = <0x520 0x20>;
  146. phy0: ethernet-phy@0 {
  147. interrupt-parent = <&mpic>;
  148. interrupts = <5 1>;
  149. reg = <0x0>;
  150. device_type = "ethernet-phy";
  151. };
  152. phy1: ethernet-phy@1 {
  153. interrupt-parent = <&mpic>;
  154. interrupts = <5 1>;
  155. reg = <0x1>;
  156. device_type = "ethernet-phy";
  157. };
  158. tbi0: tbi-phy@11 {
  159. reg = <0x11>;
  160. device_type = "tbi-phy";
  161. };
  162. };
  163. };
  164. enet1: ethernet@25000 {
  165. #address-cells = <1>;
  166. #size-cells = <1>;
  167. cell-index = <1>;
  168. device_type = "network";
  169. model = "TSEC";
  170. compatible = "gianfar";
  171. reg = <0x25000 0x1000>;
  172. ranges = <0x0 0x25000 0x1000>;
  173. local-mac-address = [ 00 00 00 00 00 00 ];
  174. interrupts = <35 2 36 2 40 2>;
  175. interrupt-parent = <&mpic>;
  176. tbi-handle = <&tbi1>;
  177. phy-handle = <&phy1>;
  178. mdio@520 {
  179. #address-cells = <1>;
  180. #size-cells = <0>;
  181. compatible = "fsl,gianfar-tbi";
  182. reg = <0x520 0x20>;
  183. tbi1: tbi-phy@11 {
  184. reg = <0x11>;
  185. device_type = "tbi-phy";
  186. };
  187. };
  188. };
  189. serial0: serial@4500 {
  190. cell-index = <0>;
  191. device_type = "serial";
  192. compatible = "ns16550";
  193. reg = <0x4500 0x100>; // reg base, size
  194. clock-frequency = <0>; // should we fill in in uboot?
  195. interrupts = <42 2>;
  196. interrupt-parent = <&mpic>;
  197. };
  198. serial1: serial@4600 {
  199. cell-index = <1>;
  200. device_type = "serial";
  201. compatible = "ns16550";
  202. reg = <0x4600 0x100>; // reg base, size
  203. clock-frequency = <0>; // should we fill in in uboot?
  204. interrupts = <42 2>;
  205. interrupt-parent = <&mpic>;
  206. };
  207. crypto@30000 {
  208. compatible = "fsl,sec2.0";
  209. reg = <0x30000 0x10000>;
  210. interrupts = <45 2>;
  211. interrupt-parent = <&mpic>;
  212. fsl,num-channels = <4>;
  213. fsl,channel-fifo-len = <24>;
  214. fsl,exec-units-mask = <0x7e>;
  215. fsl,descriptor-types-mask = <0x01010ebf>;
  216. };
  217. mpic: pic@40000 {
  218. interrupt-controller;
  219. #address-cells = <0>;
  220. #interrupt-cells = <2>;
  221. reg = <0x40000 0x40000>;
  222. compatible = "chrp,open-pic";
  223. device_type = "open-pic";
  224. };
  225. cpm@919c0 {
  226. #address-cells = <1>;
  227. #size-cells = <1>;
  228. compatible = "fsl,mpc8541-cpm", "fsl,cpm2";
  229. reg = <0x919c0 0x30>;
  230. ranges;
  231. muram@80000 {
  232. #address-cells = <1>;
  233. #size-cells = <1>;
  234. ranges = <0x0 0x80000 0x10000>;
  235. data@0 {
  236. compatible = "fsl,cpm-muram-data";
  237. reg = <0x0 0x2000 0x9000 0x1000>;
  238. };
  239. };
  240. brg@919f0 {
  241. compatible = "fsl,mpc8541-brg",
  242. "fsl,cpm2-brg",
  243. "fsl,cpm-brg";
  244. reg = <0x919f0 0x10 0x915f0 0x10>;
  245. };
  246. cpmpic: pic@90c00 {
  247. interrupt-controller;
  248. #address-cells = <0>;
  249. #interrupt-cells = <2>;
  250. interrupts = <46 2>;
  251. interrupt-parent = <&mpic>;
  252. reg = <0x90c00 0x80>;
  253. compatible = "fsl,mpc8541-cpm-pic", "fsl,cpm2-pic";
  254. };
  255. };
  256. };
  257. pci0: pci@e0008000 {
  258. interrupt-map-mask = <0x1f800 0x0 0x0 0x7>;
  259. interrupt-map = <
  260. /* IDSEL 0x10 */
  261. 0x8000 0x0 0x0 0x1 &mpic 0x0 0x1
  262. 0x8000 0x0 0x0 0x2 &mpic 0x1 0x1
  263. 0x8000 0x0 0x0 0x3 &mpic 0x2 0x1
  264. 0x8000 0x0 0x0 0x4 &mpic 0x3 0x1
  265. /* IDSEL 0x11 */
  266. 0x8800 0x0 0x0 0x1 &mpic 0x0 0x1
  267. 0x8800 0x0 0x0 0x2 &mpic 0x1 0x1
  268. 0x8800 0x0 0x0 0x3 &mpic 0x2 0x1
  269. 0x8800 0x0 0x0 0x4 &mpic 0x3 0x1
  270. /* IDSEL 0x12 (Slot 1) */
  271. 0x9000 0x0 0x0 0x1 &mpic 0x0 0x1
  272. 0x9000 0x0 0x0 0x2 &mpic 0x1 0x1
  273. 0x9000 0x0 0x0 0x3 &mpic 0x2 0x1
  274. 0x9000 0x0 0x0 0x4 &mpic 0x3 0x1
  275. /* IDSEL 0x13 (Slot 2) */
  276. 0x9800 0x0 0x0 0x1 &mpic 0x1 0x1
  277. 0x9800 0x0 0x0 0x2 &mpic 0x2 0x1
  278. 0x9800 0x0 0x0 0x3 &mpic 0x3 0x1
  279. 0x9800 0x0 0x0 0x4 &mpic 0x0 0x1
  280. /* IDSEL 0x14 (Slot 3) */
  281. 0xa000 0x0 0x0 0x1 &mpic 0x2 0x1
  282. 0xa000 0x0 0x0 0x2 &mpic 0x3 0x1
  283. 0xa000 0x0 0x0 0x3 &mpic 0x0 0x1
  284. 0xa000 0x0 0x0 0x4 &mpic 0x1 0x1
  285. /* IDSEL 0x15 (Slot 4) */
  286. 0xa800 0x0 0x0 0x1 &mpic 0x3 0x1
  287. 0xa800 0x0 0x0 0x2 &mpic 0x0 0x1
  288. 0xa800 0x0 0x0 0x3 &mpic 0x1 0x1
  289. 0xa800 0x0 0x0 0x4 &mpic 0x2 0x1
  290. /* Bus 1 (Tundra Bridge) */
  291. /* IDSEL 0x12 (ISA bridge) */
  292. 0x19000 0x0 0x0 0x1 &mpic 0x0 0x1
  293. 0x19000 0x0 0x0 0x2 &mpic 0x1 0x1
  294. 0x19000 0x0 0x0 0x3 &mpic 0x2 0x1
  295. 0x19000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  296. interrupt-parent = <&mpic>;
  297. interrupts = <24 2>;
  298. bus-range = <0 0>;
  299. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  300. 0x1000000 0x0 0x0 0xe2000000 0x0 0x100000>;
  301. clock-frequency = <66666666>;
  302. #interrupt-cells = <1>;
  303. #size-cells = <2>;
  304. #address-cells = <3>;
  305. reg = <0xe0008000 0x1000>;
  306. compatible = "fsl,mpc8540-pci";
  307. device_type = "pci";
  308. i8259@19000 {
  309. interrupt-controller;
  310. device_type = "interrupt-controller";
  311. reg = <0x19000 0x0 0x0 0x0 0x1>;
  312. #address-cells = <0>;
  313. #interrupt-cells = <2>;
  314. compatible = "chrp,iic";
  315. interrupts = <1>;
  316. interrupt-parent = <&pci0>;
  317. };
  318. };
  319. pci1: pci@e0009000 {
  320. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  321. interrupt-map = <
  322. /* IDSEL 0x15 */
  323. 0xa800 0x0 0x0 0x1 &mpic 0xb 0x1
  324. 0xa800 0x0 0x0 0x2 &mpic 0xb 0x1
  325. 0xa800 0x0 0x0 0x3 &mpic 0xb 0x1
  326. 0xa800 0x0 0x0 0x4 &mpic 0xb 0x1>;
  327. interrupt-parent = <&mpic>;
  328. interrupts = <25 2>;
  329. bus-range = <0 0>;
  330. ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  331. 0x1000000 0x0 0x0 0xe3000000 0x0 0x100000>;
  332. clock-frequency = <66666666>;
  333. #interrupt-cells = <1>;
  334. #size-cells = <2>;
  335. #address-cells = <3>;
  336. reg = <0xe0009000 0x1000>;
  337. compatible = "fsl,mpc8540-pci";
  338. device_type = "pci";
  339. };
  340. };