mpc8548cds.dts 13 KB

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