mpc8548cds.dts 13 KB

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