mpc8548cds.dts 13 KB

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