mpc8548cds.dts 13 KB

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