mpc8548cds.dts 13 KB

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