mpc8555cds.dts 8.2 KB

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