mpc8548cds.dts 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. /*
  2. * MPC8548 CDS Device Tree Source
  3. *
  4. * Copyright 2006 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. / {
  12. model = "MPC8548CDS";
  13. compatible = "MPC8548CDS", "MPC85xxCDS";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. cpus {
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. PowerPC,8548@0 {
  20. device_type = "cpu";
  21. reg = <0>;
  22. d-cache-line-size = <20>; // 32 bytes
  23. i-cache-line-size = <20>; // 32 bytes
  24. d-cache-size = <8000>; // L1, 32K
  25. i-cache-size = <8000>; // L1, 32K
  26. timebase-frequency = <0>; // 33 MHz, from uboot
  27. bus-frequency = <0>; // 166 MHz
  28. clock-frequency = <0>; // 825 MHz, from uboot
  29. 32-bit;
  30. };
  31. };
  32. memory {
  33. device_type = "memory";
  34. reg = <00000000 08000000>; // 128M at 0x0
  35. };
  36. soc8548@e0000000 {
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. #interrupt-cells = <2>;
  40. device_type = "soc";
  41. ranges = <0 e0000000 00100000>;
  42. reg = <e0000000 00100000>; // CCSRBAR 1M
  43. bus-frequency = <0>;
  44. memory-controller@2000 {
  45. compatible = "fsl,8548-memory-controller";
  46. reg = <2000 1000>;
  47. interrupt-parent = <&mpic>;
  48. interrupts = <12 2>;
  49. };
  50. l2-cache-controller@20000 {
  51. compatible = "fsl,8548-l2-cache-controller";
  52. reg = <20000 1000>;
  53. cache-line-size = <20>; // 32 bytes
  54. cache-size = <80000>; // L2, 512K
  55. interrupt-parent = <&mpic>;
  56. interrupts = <10 2>;
  57. };
  58. i2c@3000 {
  59. device_type = "i2c";
  60. compatible = "fsl-i2c";
  61. reg = <3000 100>;
  62. interrupts = <2b 2>;
  63. interrupt-parent = <&mpic>;
  64. dfsrr;
  65. };
  66. mdio@24520 {
  67. #address-cells = <1>;
  68. #size-cells = <0>;
  69. device_type = "mdio";
  70. compatible = "gianfar";
  71. reg = <24520 20>;
  72. phy0: ethernet-phy@0 {
  73. interrupt-parent = <&mpic>;
  74. interrupts = <5 1>;
  75. reg = <0>;
  76. device_type = "ethernet-phy";
  77. };
  78. phy1: ethernet-phy@1 {
  79. interrupt-parent = <&mpic>;
  80. interrupts = <5 1>;
  81. reg = <1>;
  82. device_type = "ethernet-phy";
  83. };
  84. phy2: ethernet-phy@2 {
  85. interrupt-parent = <&mpic>;
  86. interrupts = <5 1>;
  87. reg = <2>;
  88. device_type = "ethernet-phy";
  89. };
  90. phy3: ethernet-phy@3 {
  91. interrupt-parent = <&mpic>;
  92. interrupts = <5 1>;
  93. reg = <3>;
  94. device_type = "ethernet-phy";
  95. };
  96. };
  97. ethernet@24000 {
  98. #address-cells = <1>;
  99. #size-cells = <0>;
  100. device_type = "network";
  101. model = "eTSEC";
  102. compatible = "gianfar";
  103. reg = <24000 1000>;
  104. local-mac-address = [ 00 00 00 00 00 00 ];
  105. interrupts = <1d 2 1e 2 22 2>;
  106. interrupt-parent = <&mpic>;
  107. phy-handle = <&phy0>;
  108. };
  109. ethernet@25000 {
  110. #address-cells = <1>;
  111. #size-cells = <0>;
  112. device_type = "network";
  113. model = "eTSEC";
  114. compatible = "gianfar";
  115. reg = <25000 1000>;
  116. local-mac-address = [ 00 00 00 00 00 00 ];
  117. interrupts = <23 2 24 2 28 2>;
  118. interrupt-parent = <&mpic>;
  119. phy-handle = <&phy1>;
  120. };
  121. /* eTSEC 3/4 are currently broken
  122. ethernet@26000 {
  123. #address-cells = <1>;
  124. #size-cells = <0>;
  125. device_type = "network";
  126. model = "eTSEC";
  127. compatible = "gianfar";
  128. reg = <26000 1000>;
  129. local-mac-address = [ 00 00 00 00 00 00 ];
  130. interrupts = <1f 2 20 2 21 2>;
  131. interrupt-parent = <&mpic>;
  132. phy-handle = <&phy2>;
  133. };
  134. ethernet@27000 {
  135. #address-cells = <1>;
  136. #size-cells = <0>;
  137. device_type = "network";
  138. model = "eTSEC";
  139. compatible = "gianfar";
  140. reg = <27000 1000>;
  141. local-mac-address = [ 00 00 00 00 00 00 ];
  142. interrupts = <25 2 26 2 27 2>;
  143. interrupt-parent = <&mpic>;
  144. phy-handle = <&phy3>;
  145. };
  146. */
  147. serial@4500 {
  148. device_type = "serial";
  149. compatible = "ns16550";
  150. reg = <4500 100>; // reg base, size
  151. clock-frequency = <0>; // should we fill in in uboot?
  152. interrupts = <2a 2>;
  153. interrupt-parent = <&mpic>;
  154. };
  155. serial@4600 {
  156. device_type = "serial";
  157. compatible = "ns16550";
  158. reg = <4600 100>; // reg base, size
  159. clock-frequency = <0>; // should we fill in in uboot?
  160. interrupts = <2a 2>;
  161. interrupt-parent = <&mpic>;
  162. };
  163. global-utilities@e0000 { //global utilities reg
  164. compatible = "fsl,mpc8548-guts";
  165. reg = <e0000 1000>;
  166. fsl,has-rstcr;
  167. };
  168. pci1: pci@8000 {
  169. interrupt-map-mask = <1f800 0 0 7>;
  170. interrupt-map = <
  171. /* IDSEL 0x4 (PCIX Slot 2) */
  172. 02000 0 0 1 &mpic 0 1
  173. 02000 0 0 2 &mpic 1 1
  174. 02000 0 0 3 &mpic 2 1
  175. 02000 0 0 4 &mpic 3 1
  176. /* IDSEL 0x5 (PCIX Slot 3) */
  177. 02800 0 0 1 &mpic 1 1
  178. 02800 0 0 2 &mpic 2 1
  179. 02800 0 0 3 &mpic 3 1
  180. 02800 0 0 4 &mpic 0 1
  181. /* IDSEL 0x6 (PCIX Slot 4) */
  182. 03000 0 0 1 &mpic 2 1
  183. 03000 0 0 2 &mpic 3 1
  184. 03000 0 0 3 &mpic 0 1
  185. 03000 0 0 4 &mpic 1 1
  186. /* IDSEL 0x8 (PCIX Slot 5) */
  187. 04000 0 0 1 &mpic 0 1
  188. 04000 0 0 2 &mpic 1 1
  189. 04000 0 0 3 &mpic 2 1
  190. 04000 0 0 4 &mpic 3 1
  191. /* IDSEL 0xC (Tsi310 bridge) */
  192. 06000 0 0 1 &mpic 0 1
  193. 06000 0 0 2 &mpic 1 1
  194. 06000 0 0 3 &mpic 2 1
  195. 06000 0 0 4 &mpic 3 1
  196. /* IDSEL 0x14 (Slot 2) */
  197. 0a000 0 0 1 &mpic 0 1
  198. 0a000 0 0 2 &mpic 1 1
  199. 0a000 0 0 3 &mpic 2 1
  200. 0a000 0 0 4 &mpic 3 1
  201. /* IDSEL 0x15 (Slot 3) */
  202. 0a800 0 0 1 &mpic 1 1
  203. 0a800 0 0 2 &mpic 2 1
  204. 0a800 0 0 3 &mpic 3 1
  205. 0a800 0 0 4 &mpic 0 1
  206. /* IDSEL 0x16 (Slot 4) */
  207. 0b000 0 0 1 &mpic 2 1
  208. 0b000 0 0 2 &mpic 3 1
  209. 0b000 0 0 3 &mpic 0 1
  210. 0b000 0 0 4 &mpic 1 1
  211. /* IDSEL 0x18 (Slot 5) */
  212. 0c000 0 0 1 &mpic 0 1
  213. 0c000 0 0 2 &mpic 1 1
  214. 0c000 0 0 3 &mpic 2 1
  215. 0c000 0 0 4 &mpic 3 1
  216. /* IDSEL 0x1C (Tsi310 bridge PCI primary) */
  217. 0E000 0 0 1 &mpic 0 1
  218. 0E000 0 0 2 &mpic 1 1
  219. 0E000 0 0 3 &mpic 2 1
  220. 0E000 0 0 4 &mpic 3 1
  221. /* bus 1 , idsel 0x2 Tsi310 bridge secondary */
  222. 11000 0 0 1 &mpic 2 1
  223. 11000 0 0 2 &mpic 3 1
  224. 11000 0 0 3 &mpic 0 1
  225. 11000 0 0 4 &mpic 1 1
  226. /* VIA chip */
  227. 12000 0 0 1 &mpic 0 1
  228. 12000 0 0 2 &mpic 1 1
  229. 12000 0 0 3 &mpic 2 1
  230. 12000 0 0 4 &mpic 3 1>;
  231. interrupt-parent = <&mpic>;
  232. interrupts = <18 2>;
  233. bus-range = <0 0>;
  234. ranges = <02000000 0 80000000 80000000 0 10000000
  235. 01000000 0 00000000 e2000000 0 00800000>;
  236. clock-frequency = <3f940aa>;
  237. #interrupt-cells = <1>;
  238. #size-cells = <2>;
  239. #address-cells = <3>;
  240. reg = <8000 1000>;
  241. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  242. device_type = "pci";
  243. i8259@4 {
  244. clock-frequency = <0>;
  245. interrupt-controller;
  246. device_type = "interrupt-controller";
  247. reg = <12000 0 0 0 1>;
  248. #address-cells = <0>;
  249. #interrupt-cells = <2>;
  250. built-in;
  251. compatible = "chrp,iic";
  252. big-endian;
  253. interrupts = <1>;
  254. interrupt-parent = <&pci1>;
  255. };
  256. };
  257. pci@9000 {
  258. interrupt-map-mask = <f800 0 0 7>;
  259. interrupt-map = <
  260. /* IDSEL 0x15 */
  261. a800 0 0 1 &mpic b 1
  262. a800 0 0 2 &mpic b 1
  263. a800 0 0 3 &mpic b 1
  264. a800 0 0 4 &mpic b 1>;
  265. interrupt-parent = <&mpic>;
  266. interrupts = <19 2>;
  267. bus-range = <0 0>;
  268. ranges = <02000000 0 90000000 90000000 0 10000000
  269. 01000000 0 00000000 e2800000 0 00800000>;
  270. clock-frequency = <3f940aa>;
  271. #interrupt-cells = <1>;
  272. #size-cells = <2>;
  273. #address-cells = <3>;
  274. reg = <9000 1000>;
  275. compatible = "fsl,mpc8540-pci";
  276. device_type = "pci";
  277. };
  278. /* PCI Express */
  279. pcie@a000 {
  280. interrupt-map-mask = <f800 0 0 7>;
  281. interrupt-map = <
  282. /* IDSEL 0x0 (PEX) */
  283. 00000 0 0 1 &mpic 0 1
  284. 00000 0 0 2 &mpic 1 1
  285. 00000 0 0 3 &mpic 2 1
  286. 00000 0 0 4 &mpic 3 1>;
  287. interrupt-parent = <&mpic>;
  288. interrupts = <1a 2>;
  289. bus-range = <0 ff>;
  290. ranges = <02000000 0 a0000000 a0000000 0 20000000
  291. 01000000 0 00000000 e3000000 0 08000000>;
  292. clock-frequency = <1fca055>;
  293. #interrupt-cells = <1>;
  294. #size-cells = <2>;
  295. #address-cells = <3>;
  296. reg = <a000 1000>;
  297. compatible = "fsl,mpc8548-pcie";
  298. device_type = "pci";
  299. };
  300. mpic: pic@40000 {
  301. clock-frequency = <0>;
  302. interrupt-controller;
  303. #address-cells = <0>;
  304. #interrupt-cells = <2>;
  305. reg = <40000 40000>;
  306. built-in;
  307. compatible = "chrp,open-pic";
  308. device_type = "open-pic";
  309. big-endian;
  310. };
  311. };
  312. };