mpc8548cds.dts 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. /*
  2. * MPC8548 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 = "MPC8548CDS";
  14. compatible = "MPC8548CDS", "MPC85xxCDS";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. /*
  21. ethernet2 = &enet2;
  22. ethernet3 = &enet3;
  23. */
  24. serial0 = &serial0;
  25. serial1 = &serial1;
  26. pci0 = &pci0;
  27. pci1 = &pci1;
  28. pci2 = &pci2;
  29. };
  30. cpus {
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. PowerPC,8548@0 {
  34. device_type = "cpu";
  35. reg = <0x0>;
  36. d-cache-line-size = <32>; // 32 bytes
  37. i-cache-line-size = <32>; // 32 bytes
  38. d-cache-size = <0x8000>; // L1, 32K
  39. i-cache-size = <0x8000>; // L1, 32K
  40. timebase-frequency = <0>; // 33 MHz, from uboot
  41. bus-frequency = <0>; // 166 MHz
  42. clock-frequency = <0>; // 825 MHz, from uboot
  43. };
  44. };
  45. memory {
  46. device_type = "memory";
  47. reg = <0x0 0x8000000>; // 128M at 0x0
  48. };
  49. soc8548@e0000000 {
  50. #address-cells = <1>;
  51. #size-cells = <1>;
  52. device_type = "soc";
  53. ranges = <0x0 0xe0000000 0x100000>;
  54. reg = <0xe0000000 0x1000>; // CCSRBAR
  55. bus-frequency = <0>;
  56. memory-controller@2000 {
  57. compatible = "fsl,8548-memory-controller";
  58. reg = <0x2000 0x1000>;
  59. interrupt-parent = <&mpic>;
  60. interrupts = <18 2>;
  61. };
  62. l2-cache-controller@20000 {
  63. compatible = "fsl,8548-l2-cache-controller";
  64. reg = <0x20000 0x1000>;
  65. cache-line-size = <32>; // 32 bytes
  66. cache-size = <0x80000>; // L2, 512K
  67. interrupt-parent = <&mpic>;
  68. interrupts = <16 2>;
  69. };
  70. i2c@3000 {
  71. #address-cells = <1>;
  72. #size-cells = <0>;
  73. cell-index = <0>;
  74. compatible = "fsl-i2c";
  75. reg = <0x3000 0x100>;
  76. interrupts = <43 2>;
  77. interrupt-parent = <&mpic>;
  78. dfsrr;
  79. };
  80. i2c@3100 {
  81. #address-cells = <1>;
  82. #size-cells = <0>;
  83. cell-index = <1>;
  84. compatible = "fsl-i2c";
  85. reg = <0x3100 0x100>;
  86. interrupts = <43 2>;
  87. interrupt-parent = <&mpic>;
  88. dfsrr;
  89. };
  90. mdio@24520 {
  91. #address-cells = <1>;
  92. #size-cells = <0>;
  93. compatible = "fsl,gianfar-mdio";
  94. reg = <0x24520 0x20>;
  95. phy0: ethernet-phy@0 {
  96. interrupt-parent = <&mpic>;
  97. interrupts = <5 1>;
  98. reg = <0x0>;
  99. device_type = "ethernet-phy";
  100. };
  101. phy1: ethernet-phy@1 {
  102. interrupt-parent = <&mpic>;
  103. interrupts = <5 1>;
  104. reg = <0x1>;
  105. device_type = "ethernet-phy";
  106. };
  107. phy2: ethernet-phy@2 {
  108. interrupt-parent = <&mpic>;
  109. interrupts = <5 1>;
  110. reg = <0x2>;
  111. device_type = "ethernet-phy";
  112. };
  113. phy3: ethernet-phy@3 {
  114. interrupt-parent = <&mpic>;
  115. interrupts = <5 1>;
  116. reg = <0x3>;
  117. device_type = "ethernet-phy";
  118. };
  119. };
  120. enet0: ethernet@24000 {
  121. cell-index = <0>;
  122. device_type = "network";
  123. model = "eTSEC";
  124. compatible = "gianfar";
  125. reg = <0x24000 0x1000>;
  126. local-mac-address = [ 00 00 00 00 00 00 ];
  127. interrupts = <29 2 30 2 34 2>;
  128. interrupt-parent = <&mpic>;
  129. phy-handle = <&phy0>;
  130. };
  131. enet1: ethernet@25000 {
  132. cell-index = <1>;
  133. device_type = "network";
  134. model = "eTSEC";
  135. compatible = "gianfar";
  136. reg = <0x25000 0x1000>;
  137. local-mac-address = [ 00 00 00 00 00 00 ];
  138. interrupts = <35 2 36 2 40 2>;
  139. interrupt-parent = <&mpic>;
  140. phy-handle = <&phy1>;
  141. };
  142. /* eTSEC 3/4 are currently broken
  143. enet2: ethernet@26000 {
  144. cell-index = <2>;
  145. device_type = "network";
  146. model = "eTSEC";
  147. compatible = "gianfar";
  148. reg = <0x26000 0x1000>;
  149. local-mac-address = [ 00 00 00 00 00 00 ];
  150. interrupts = <31 2 32 2 33 2>;
  151. interrupt-parent = <&mpic>;
  152. phy-handle = <&phy2>;
  153. };
  154. enet3: ethernet@27000 {
  155. cell-index = <3>;
  156. device_type = "network";
  157. model = "eTSEC";
  158. compatible = "gianfar";
  159. reg = <0x27000 0x1000>;
  160. local-mac-address = [ 00 00 00 00 00 00 ];
  161. interrupts = <37 2 38 2 39 2>;
  162. interrupt-parent = <&mpic>;
  163. phy-handle = <&phy3>;
  164. };
  165. */
  166. serial0: serial@4500 {
  167. cell-index = <0>;
  168. device_type = "serial";
  169. compatible = "ns16550";
  170. reg = <0x4500 0x100>; // reg base, size
  171. clock-frequency = <0>; // should we fill in in uboot?
  172. interrupts = <42 2>;
  173. interrupt-parent = <&mpic>;
  174. };
  175. serial1: serial@4600 {
  176. cell-index = <1>;
  177. device_type = "serial";
  178. compatible = "ns16550";
  179. reg = <0x4600 0x100>; // reg base, size
  180. clock-frequency = <0>; // should we fill in in uboot?
  181. interrupts = <42 2>;
  182. interrupt-parent = <&mpic>;
  183. };
  184. global-utilities@e0000 { //global utilities reg
  185. compatible = "fsl,mpc8548-guts";
  186. reg = <0xe0000 0x1000>;
  187. fsl,has-rstcr;
  188. };
  189. mpic: pic@40000 {
  190. clock-frequency = <0>;
  191. interrupt-controller;
  192. #address-cells = <0>;
  193. #interrupt-cells = <2>;
  194. reg = <0x40000 0x40000>;
  195. compatible = "chrp,open-pic";
  196. device_type = "open-pic";
  197. big-endian;
  198. };
  199. };
  200. pci0: pci@e0008000 {
  201. cell-index = <0>;
  202. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  203. interrupt-map = <
  204. /* IDSEL 0x4 (PCIX Slot 2) */
  205. 0x2000 0x0 0x0 0x1 &mpic 0x0 0x1
  206. 0x2000 0x0 0x0 0x2 &mpic 0x1 0x1
  207. 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1
  208. 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1
  209. /* IDSEL 0x5 (PCIX Slot 3) */
  210. 0x2800 0x0 0x0 0x1 &mpic 0x1 0x1
  211. 0x2800 0x0 0x0 0x2 &mpic 0x2 0x1
  212. 0x2800 0x0 0x0 0x3 &mpic 0x3 0x1
  213. 0x2800 0x0 0x0 0x4 &mpic 0x0 0x1
  214. /* IDSEL 0x6 (PCIX Slot 4) */
  215. 0x3000 0x0 0x0 0x1 &mpic 0x2 0x1
  216. 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1
  217. 0x3000 0x0 0x0 0x3 &mpic 0x0 0x1
  218. 0x3000 0x0 0x0 0x4 &mpic 0x1 0x1
  219. /* IDSEL 0x8 (PCIX Slot 5) */
  220. 0x4000 0x0 0x0 0x1 &mpic 0x0 0x1
  221. 0x4000 0x0 0x0 0x2 &mpic 0x1 0x1
  222. 0x4000 0x0 0x0 0x3 &mpic 0x2 0x1
  223. 0x4000 0x0 0x0 0x4 &mpic 0x3 0x1
  224. /* IDSEL 0xC (Tsi310 bridge) */
  225. 0x6000 0x0 0x0 0x1 &mpic 0x0 0x1
  226. 0x6000 0x0 0x0 0x2 &mpic 0x1 0x1
  227. 0x6000 0x0 0x0 0x3 &mpic 0x2 0x1
  228. 0x6000 0x0 0x0 0x4 &mpic 0x3 0x1
  229. /* IDSEL 0x14 (Slot 2) */
  230. 0xa000 0x0 0x0 0x1 &mpic 0x0 0x1
  231. 0xa000 0x0 0x0 0x2 &mpic 0x1 0x1
  232. 0xa000 0x0 0x0 0x3 &mpic 0x2 0x1
  233. 0xa000 0x0 0x0 0x4 &mpic 0x3 0x1
  234. /* IDSEL 0x15 (Slot 3) */
  235. 0xa800 0x0 0x0 0x1 &mpic 0x1 0x1
  236. 0xa800 0x0 0x0 0x2 &mpic 0x2 0x1
  237. 0xa800 0x0 0x0 0x3 &mpic 0x3 0x1
  238. 0xa800 0x0 0x0 0x4 &mpic 0x0 0x1
  239. /* IDSEL 0x16 (Slot 4) */
  240. 0xb000 0x0 0x0 0x1 &mpic 0x2 0x1
  241. 0xb000 0x0 0x0 0x2 &mpic 0x3 0x1
  242. 0xb000 0x0 0x0 0x3 &mpic 0x0 0x1
  243. 0xb000 0x0 0x0 0x4 &mpic 0x1 0x1
  244. /* IDSEL 0x18 (Slot 5) */
  245. 0xc000 0x0 0x0 0x1 &mpic 0x0 0x1
  246. 0xc000 0x0 0x0 0x2 &mpic 0x1 0x1
  247. 0xc000 0x0 0x0 0x3 &mpic 0x2 0x1
  248. 0xc000 0x0 0x0 0x4 &mpic 0x3 0x1
  249. /* IDSEL 0x1C (Tsi310 bridge PCI primary) */
  250. 0xe000 0x0 0x0 0x1 &mpic 0x0 0x1
  251. 0xe000 0x0 0x0 0x2 &mpic 0x1 0x1
  252. 0xe000 0x0 0x0 0x3 &mpic 0x2 0x1
  253. 0xe000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  254. interrupt-parent = <&mpic>;
  255. interrupts = <24 2>;
  256. bus-range = <0 0>;
  257. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  258. 0x1000000 0x0 0x0 0xe2000000 0x0 0x800000>;
  259. clock-frequency = <66666666>;
  260. #interrupt-cells = <1>;
  261. #size-cells = <2>;
  262. #address-cells = <3>;
  263. reg = <0xe0008000 0x1000>;
  264. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  265. device_type = "pci";
  266. pci_bridge@1c {
  267. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  268. interrupt-map = <
  269. /* IDSEL 0x00 (PrPMC Site) */
  270. 0000 0x0 0x0 0x1 &mpic 0x0 0x1
  271. 0000 0x0 0x0 0x2 &mpic 0x1 0x1
  272. 0000 0x0 0x0 0x3 &mpic 0x2 0x1
  273. 0000 0x0 0x0 0x4 &mpic 0x3 0x1
  274. /* IDSEL 0x04 (VIA chip) */
  275. 0x2000 0x0 0x0 0x1 &mpic 0x0 0x1
  276. 0x2000 0x0 0x0 0x2 &mpic 0x1 0x1
  277. 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1
  278. 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1
  279. /* IDSEL 0x05 (8139) */
  280. 0x2800 0x0 0x0 0x1 &mpic 0x1 0x1
  281. /* IDSEL 0x06 (Slot 6) */
  282. 0x3000 0x0 0x0 0x1 &mpic 0x2 0x1
  283. 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1
  284. 0x3000 0x0 0x0 0x3 &mpic 0x0 0x1
  285. 0x3000 0x0 0x0 0x4 &mpic 0x1 0x1
  286. /* IDESL 0x07 (Slot 7) */
  287. 0x3800 0x0 0x0 0x1 &mpic 0x3 0x1
  288. 0x3800 0x0 0x0 0x2 &mpic 0x0 0x1
  289. 0x3800 0x0 0x0 0x3 &mpic 0x1 0x1
  290. 0x3800 0x0 0x0 0x4 &mpic 0x2 0x1>;
  291. reg = <0xe000 0x0 0x0 0x0 0x0>;
  292. #interrupt-cells = <1>;
  293. #size-cells = <2>;
  294. #address-cells = <3>;
  295. ranges = <0x2000000 0x0 0x80000000
  296. 0x2000000 0x0 0x80000000
  297. 0x0 0x20000000
  298. 0x1000000 0x0 0x0
  299. 0x1000000 0x0 0x0
  300. 0x0 0x80000>;
  301. clock-frequency = <33333333>;
  302. isa@4 {
  303. device_type = "isa";
  304. #interrupt-cells = <2>;
  305. #size-cells = <1>;
  306. #address-cells = <2>;
  307. reg = <0x2000 0x0 0x0 0x0 0x0>;
  308. ranges = <0x1 0x0 0x1000000 0x0 0x0 0x1000>;
  309. interrupt-parent = <&i8259>;
  310. i8259: interrupt-controller@20 {
  311. interrupt-controller;
  312. device_type = "interrupt-controller";
  313. reg = <0x1 0x20 0x2
  314. 0x1 0xa0 0x2
  315. 0x1 0x4d0 0x2>;
  316. #address-cells = <0>;
  317. #interrupt-cells = <2>;
  318. compatible = "chrp,iic";
  319. interrupts = <0 1>;
  320. interrupt-parent = <&mpic>;
  321. };
  322. rtc@70 {
  323. compatible = "pnpPNP,b00";
  324. reg = <0x1 0x70 0x2>;
  325. };
  326. };
  327. };
  328. };
  329. pci1: pci@e0009000 {
  330. cell-index = <1>;
  331. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  332. interrupt-map = <
  333. /* IDSEL 0x15 */
  334. 0xa800 0x0 0x0 0x1 &mpic 0xb 0x1
  335. 0xa800 0x0 0x0 0x2 &mpic 0x1 0x1
  336. 0xa800 0x0 0x0 0x3 &mpic 0x2 0x1
  337. 0xa800 0x0 0x0 0x4 &mpic 0x3 0x1>;
  338. interrupt-parent = <&mpic>;
  339. interrupts = <25 2>;
  340. bus-range = <0 0>;
  341. ranges = <0x2000000 0x0 0x90000000 0x90000000 0x0 0x10000000
  342. 0x1000000 0x0 0x0 0xe2800000 0x0 0x800000>;
  343. clock-frequency = <66666666>;
  344. #interrupt-cells = <1>;
  345. #size-cells = <2>;
  346. #address-cells = <3>;
  347. reg = <0xe0009000 0x1000>;
  348. compatible = "fsl,mpc8540-pci";
  349. device_type = "pci";
  350. };
  351. pci2: pcie@e000a000 {
  352. cell-index = <2>;
  353. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  354. interrupt-map = <
  355. /* IDSEL 0x0 (PEX) */
  356. 00000 0x0 0x0 0x1 &mpic 0x0 0x1
  357. 00000 0x0 0x0 0x2 &mpic 0x1 0x1
  358. 00000 0x0 0x0 0x3 &mpic 0x2 0x1
  359. 00000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  360. interrupt-parent = <&mpic>;
  361. interrupts = <26 2>;
  362. bus-range = <0 255>;
  363. ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  364. 0x1000000 0x0 0x0 0xe3000000 0x0 0x8000000>;
  365. clock-frequency = <33333333>;
  366. #interrupt-cells = <1>;
  367. #size-cells = <2>;
  368. #address-cells = <3>;
  369. reg = <0xe000a000 0x1000>;
  370. compatible = "fsl,mpc8548-pcie";
  371. device_type = "pci";
  372. pcie@0 {
  373. reg = <0x0 0x0 0x0 0x0 0x0>;
  374. #size-cells = <2>;
  375. #address-cells = <3>;
  376. device_type = "pci";
  377. ranges = <0x2000000 0x0 0xa0000000
  378. 0x2000000 0x0 0xa0000000
  379. 0x0 0x20000000
  380. 0x1000000 0x0 0x0
  381. 0x1000000 0x0 0x0
  382. 0x0 0x8000000>;
  383. };
  384. };
  385. };