mpc8548cds.dts 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  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. tbi0: tbi-phy@11 {
  162. reg = <0x11>;
  163. device_type = "tbi-phy";
  164. };
  165. };
  166. mdio@25520 {
  167. #address-cells = <1>;
  168. #size-cells = <0>;
  169. compatible = "fsl,gianfar-tbi";
  170. reg = <0x25520 0x20>;
  171. tbi1: tbi-phy@11 {
  172. reg = <0x11>;
  173. device_type = "tbi-phy";
  174. };
  175. };
  176. mdio@26520 {
  177. #address-cells = <1>;
  178. #size-cells = <0>;
  179. compatible = "fsl,gianfar-tbi";
  180. reg = <0x26520 0x20>;
  181. tbi2: tbi-phy@11 {
  182. reg = <0x11>;
  183. device_type = "tbi-phy";
  184. };
  185. };
  186. mdio@27520 {
  187. #address-cells = <1>;
  188. #size-cells = <0>;
  189. compatible = "fsl,gianfar-tbi";
  190. reg = <0x27520 0x20>;
  191. tbi3: tbi-phy@11 {
  192. reg = <0x11>;
  193. device_type = "tbi-phy";
  194. };
  195. };
  196. enet0: ethernet@24000 {
  197. cell-index = <0>;
  198. device_type = "network";
  199. model = "eTSEC";
  200. compatible = "gianfar";
  201. reg = <0x24000 0x1000>;
  202. local-mac-address = [ 00 00 00 00 00 00 ];
  203. interrupts = <29 2 30 2 34 2>;
  204. interrupt-parent = <&mpic>;
  205. tbi-handle = <&tbi0>;
  206. phy-handle = <&phy0>;
  207. };
  208. enet1: ethernet@25000 {
  209. cell-index = <1>;
  210. device_type = "network";
  211. model = "eTSEC";
  212. compatible = "gianfar";
  213. reg = <0x25000 0x1000>;
  214. local-mac-address = [ 00 00 00 00 00 00 ];
  215. interrupts = <35 2 36 2 40 2>;
  216. interrupt-parent = <&mpic>;
  217. tbi-handle = <&tbi1>;
  218. phy-handle = <&phy1>;
  219. };
  220. /* eTSEC 3/4 are currently broken
  221. enet2: ethernet@26000 {
  222. cell-index = <2>;
  223. device_type = "network";
  224. model = "eTSEC";
  225. compatible = "gianfar";
  226. reg = <0x26000 0x1000>;
  227. local-mac-address = [ 00 00 00 00 00 00 ];
  228. interrupts = <31 2 32 2 33 2>;
  229. interrupt-parent = <&mpic>;
  230. tbi-handle = <&tbi2>;
  231. phy-handle = <&phy2>;
  232. };
  233. enet3: ethernet@27000 {
  234. cell-index = <3>;
  235. device_type = "network";
  236. model = "eTSEC";
  237. compatible = "gianfar";
  238. reg = <0x27000 0x1000>;
  239. local-mac-address = [ 00 00 00 00 00 00 ];
  240. interrupts = <37 2 38 2 39 2>;
  241. interrupt-parent = <&mpic>;
  242. tbi-handle = <&tbi3>;
  243. phy-handle = <&phy3>;
  244. };
  245. */
  246. serial0: serial@4500 {
  247. cell-index = <0>;
  248. device_type = "serial";
  249. compatible = "ns16550";
  250. reg = <0x4500 0x100>; // reg base, size
  251. clock-frequency = <0>; // should we fill in in uboot?
  252. interrupts = <42 2>;
  253. interrupt-parent = <&mpic>;
  254. };
  255. serial1: serial@4600 {
  256. cell-index = <1>;
  257. device_type = "serial";
  258. compatible = "ns16550";
  259. reg = <0x4600 0x100>; // reg base, size
  260. clock-frequency = <0>; // should we fill in in uboot?
  261. interrupts = <42 2>;
  262. interrupt-parent = <&mpic>;
  263. };
  264. global-utilities@e0000 { //global utilities reg
  265. compatible = "fsl,mpc8548-guts";
  266. reg = <0xe0000 0x1000>;
  267. fsl,has-rstcr;
  268. };
  269. crypto@30000 {
  270. compatible = "fsl,sec2.1", "fsl,sec2.0";
  271. reg = <0x30000 0x10000>;
  272. interrupts = <45 2>;
  273. interrupt-parent = <&mpic>;
  274. fsl,num-channels = <4>;
  275. fsl,channel-fifo-len = <24>;
  276. fsl,exec-units-mask = <0xfe>;
  277. fsl,descriptor-types-mask = <0x12b0ebf>;
  278. };
  279. mpic: pic@40000 {
  280. interrupt-controller;
  281. #address-cells = <0>;
  282. #interrupt-cells = <2>;
  283. reg = <0x40000 0x40000>;
  284. compatible = "chrp,open-pic";
  285. device_type = "open-pic";
  286. };
  287. };
  288. pci0: pci@e0008000 {
  289. cell-index = <0>;
  290. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  291. interrupt-map = <
  292. /* IDSEL 0x4 (PCIX Slot 2) */
  293. 0x2000 0x0 0x0 0x1 &mpic 0x0 0x1
  294. 0x2000 0x0 0x0 0x2 &mpic 0x1 0x1
  295. 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1
  296. 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1
  297. /* IDSEL 0x5 (PCIX Slot 3) */
  298. 0x2800 0x0 0x0 0x1 &mpic 0x1 0x1
  299. 0x2800 0x0 0x0 0x2 &mpic 0x2 0x1
  300. 0x2800 0x0 0x0 0x3 &mpic 0x3 0x1
  301. 0x2800 0x0 0x0 0x4 &mpic 0x0 0x1
  302. /* IDSEL 0x6 (PCIX Slot 4) */
  303. 0x3000 0x0 0x0 0x1 &mpic 0x2 0x1
  304. 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1
  305. 0x3000 0x0 0x0 0x3 &mpic 0x0 0x1
  306. 0x3000 0x0 0x0 0x4 &mpic 0x1 0x1
  307. /* IDSEL 0x8 (PCIX Slot 5) */
  308. 0x4000 0x0 0x0 0x1 &mpic 0x0 0x1
  309. 0x4000 0x0 0x0 0x2 &mpic 0x1 0x1
  310. 0x4000 0x0 0x0 0x3 &mpic 0x2 0x1
  311. 0x4000 0x0 0x0 0x4 &mpic 0x3 0x1
  312. /* IDSEL 0xC (Tsi310 bridge) */
  313. 0x6000 0x0 0x0 0x1 &mpic 0x0 0x1
  314. 0x6000 0x0 0x0 0x2 &mpic 0x1 0x1
  315. 0x6000 0x0 0x0 0x3 &mpic 0x2 0x1
  316. 0x6000 0x0 0x0 0x4 &mpic 0x3 0x1
  317. /* IDSEL 0x14 (Slot 2) */
  318. 0xa000 0x0 0x0 0x1 &mpic 0x0 0x1
  319. 0xa000 0x0 0x0 0x2 &mpic 0x1 0x1
  320. 0xa000 0x0 0x0 0x3 &mpic 0x2 0x1
  321. 0xa000 0x0 0x0 0x4 &mpic 0x3 0x1
  322. /* IDSEL 0x15 (Slot 3) */
  323. 0xa800 0x0 0x0 0x1 &mpic 0x1 0x1
  324. 0xa800 0x0 0x0 0x2 &mpic 0x2 0x1
  325. 0xa800 0x0 0x0 0x3 &mpic 0x3 0x1
  326. 0xa800 0x0 0x0 0x4 &mpic 0x0 0x1
  327. /* IDSEL 0x16 (Slot 4) */
  328. 0xb000 0x0 0x0 0x1 &mpic 0x2 0x1
  329. 0xb000 0x0 0x0 0x2 &mpic 0x3 0x1
  330. 0xb000 0x0 0x0 0x3 &mpic 0x0 0x1
  331. 0xb000 0x0 0x0 0x4 &mpic 0x1 0x1
  332. /* IDSEL 0x18 (Slot 5) */
  333. 0xc000 0x0 0x0 0x1 &mpic 0x0 0x1
  334. 0xc000 0x0 0x0 0x2 &mpic 0x1 0x1
  335. 0xc000 0x0 0x0 0x3 &mpic 0x2 0x1
  336. 0xc000 0x0 0x0 0x4 &mpic 0x3 0x1
  337. /* IDSEL 0x1C (Tsi310 bridge PCI primary) */
  338. 0xe000 0x0 0x0 0x1 &mpic 0x0 0x1
  339. 0xe000 0x0 0x0 0x2 &mpic 0x1 0x1
  340. 0xe000 0x0 0x0 0x3 &mpic 0x2 0x1
  341. 0xe000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  342. interrupt-parent = <&mpic>;
  343. interrupts = <24 2>;
  344. bus-range = <0 0>;
  345. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  346. 0x1000000 0x0 0x0 0xe2000000 0x0 0x800000>;
  347. clock-frequency = <66666666>;
  348. #interrupt-cells = <1>;
  349. #size-cells = <2>;
  350. #address-cells = <3>;
  351. reg = <0xe0008000 0x1000>;
  352. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  353. device_type = "pci";
  354. pci_bridge@1c {
  355. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  356. interrupt-map = <
  357. /* IDSEL 0x00 (PrPMC Site) */
  358. 0000 0x0 0x0 0x1 &mpic 0x0 0x1
  359. 0000 0x0 0x0 0x2 &mpic 0x1 0x1
  360. 0000 0x0 0x0 0x3 &mpic 0x2 0x1
  361. 0000 0x0 0x0 0x4 &mpic 0x3 0x1
  362. /* IDSEL 0x04 (VIA chip) */
  363. 0x2000 0x0 0x0 0x1 &mpic 0x0 0x1
  364. 0x2000 0x0 0x0 0x2 &mpic 0x1 0x1
  365. 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1
  366. 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1
  367. /* IDSEL 0x05 (8139) */
  368. 0x2800 0x0 0x0 0x1 &mpic 0x1 0x1
  369. /* IDSEL 0x06 (Slot 6) */
  370. 0x3000 0x0 0x0 0x1 &mpic 0x2 0x1
  371. 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1
  372. 0x3000 0x0 0x0 0x3 &mpic 0x0 0x1
  373. 0x3000 0x0 0x0 0x4 &mpic 0x1 0x1
  374. /* IDESL 0x07 (Slot 7) */
  375. 0x3800 0x0 0x0 0x1 &mpic 0x3 0x1
  376. 0x3800 0x0 0x0 0x2 &mpic 0x0 0x1
  377. 0x3800 0x0 0x0 0x3 &mpic 0x1 0x1
  378. 0x3800 0x0 0x0 0x4 &mpic 0x2 0x1>;
  379. reg = <0xe000 0x0 0x0 0x0 0x0>;
  380. #interrupt-cells = <1>;
  381. #size-cells = <2>;
  382. #address-cells = <3>;
  383. ranges = <0x2000000 0x0 0x80000000
  384. 0x2000000 0x0 0x80000000
  385. 0x0 0x20000000
  386. 0x1000000 0x0 0x0
  387. 0x1000000 0x0 0x0
  388. 0x0 0x80000>;
  389. clock-frequency = <33333333>;
  390. isa@4 {
  391. device_type = "isa";
  392. #interrupt-cells = <2>;
  393. #size-cells = <1>;
  394. #address-cells = <2>;
  395. reg = <0x2000 0x0 0x0 0x0 0x0>;
  396. ranges = <0x1 0x0 0x1000000 0x0 0x0 0x1000>;
  397. interrupt-parent = <&i8259>;
  398. i8259: interrupt-controller@20 {
  399. interrupt-controller;
  400. device_type = "interrupt-controller";
  401. reg = <0x1 0x20 0x2
  402. 0x1 0xa0 0x2
  403. 0x1 0x4d0 0x2>;
  404. #address-cells = <0>;
  405. #interrupt-cells = <2>;
  406. compatible = "chrp,iic";
  407. interrupts = <0 1>;
  408. interrupt-parent = <&mpic>;
  409. };
  410. rtc@70 {
  411. compatible = "pnpPNP,b00";
  412. reg = <0x1 0x70 0x2>;
  413. };
  414. };
  415. };
  416. };
  417. pci1: pci@e0009000 {
  418. cell-index = <1>;
  419. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  420. interrupt-map = <
  421. /* IDSEL 0x15 */
  422. 0xa800 0x0 0x0 0x1 &mpic 0xb 0x1
  423. 0xa800 0x0 0x0 0x2 &mpic 0x1 0x1
  424. 0xa800 0x0 0x0 0x3 &mpic 0x2 0x1
  425. 0xa800 0x0 0x0 0x4 &mpic 0x3 0x1>;
  426. interrupt-parent = <&mpic>;
  427. interrupts = <25 2>;
  428. bus-range = <0 0>;
  429. ranges = <0x2000000 0x0 0x90000000 0x90000000 0x0 0x10000000
  430. 0x1000000 0x0 0x0 0xe2800000 0x0 0x800000>;
  431. clock-frequency = <66666666>;
  432. #interrupt-cells = <1>;
  433. #size-cells = <2>;
  434. #address-cells = <3>;
  435. reg = <0xe0009000 0x1000>;
  436. compatible = "fsl,mpc8540-pci";
  437. device_type = "pci";
  438. };
  439. pci2: pcie@e000a000 {
  440. cell-index = <2>;
  441. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  442. interrupt-map = <
  443. /* IDSEL 0x0 (PEX) */
  444. 00000 0x0 0x0 0x1 &mpic 0x0 0x1
  445. 00000 0x0 0x0 0x2 &mpic 0x1 0x1
  446. 00000 0x0 0x0 0x3 &mpic 0x2 0x1
  447. 00000 0x0 0x0 0x4 &mpic 0x3 0x1>;
  448. interrupt-parent = <&mpic>;
  449. interrupts = <26 2>;
  450. bus-range = <0 255>;
  451. ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  452. 0x1000000 0x0 0x0 0xe3000000 0x0 0x100000>;
  453. clock-frequency = <33333333>;
  454. #interrupt-cells = <1>;
  455. #size-cells = <2>;
  456. #address-cells = <3>;
  457. reg = <0xe000a000 0x1000>;
  458. compatible = "fsl,mpc8548-pcie";
  459. device_type = "pci";
  460. pcie@0 {
  461. reg = <0x0 0x0 0x0 0x0 0x0>;
  462. #size-cells = <2>;
  463. #address-cells = <3>;
  464. device_type = "pci";
  465. ranges = <0x2000000 0x0 0xa0000000
  466. 0x2000000 0x0 0xa0000000
  467. 0x0 0x20000000
  468. 0x1000000 0x0 0x0
  469. 0x1000000 0x0 0x0
  470. 0x0 0x100000>;
  471. };
  472. };
  473. };