mpc8548cds.dts 12 KB

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