mpc8548cds.dts 12 KB

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