mpc8572ds_camp_core0.dts 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  1. /*
  2. * MPC8572 DS Core0 Device Tree Source in CAMP mode.
  3. *
  4. * In CAMP mode, each core needs to have its own dts. Only mpic and L2 cache
  5. * can be shared, all the other devices must be assigned to one core only.
  6. * This dts file allows core0 to have memory, l2, i2c, dma1, global-util, eth0,
  7. * eth1, crypto, pci0, pci1.
  8. *
  9. * Copyright 2007-2009 Freescale Semiconductor Inc.
  10. *
  11. * This program is free software; you can redistribute it and/or modify it
  12. * under the terms of the GNU General Public License as published by the
  13. * Free Software Foundation; either version 2 of the License, or (at your
  14. * option) any later version.
  15. */
  16. /dts-v1/;
  17. / {
  18. model = "fsl,MPC8572DS";
  19. compatible = "fsl,MPC8572DS", "fsl,MPC8572DS-CAMP";
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. aliases {
  23. ethernet0 = &enet0;
  24. ethernet1 = &enet1;
  25. serial0 = &serial0;
  26. pci0 = &pci0;
  27. pci1 = &pci1;
  28. };
  29. cpus {
  30. #address-cells = <1>;
  31. #size-cells = <0>;
  32. PowerPC,8572@0 {
  33. device_type = "cpu";
  34. reg = <0x0>;
  35. d-cache-line-size = <32>; // 32 bytes
  36. i-cache-line-size = <32>; // 32 bytes
  37. d-cache-size = <0x8000>; // L1, 32K
  38. i-cache-size = <0x8000>; // L1, 32K
  39. timebase-frequency = <0>;
  40. bus-frequency = <0>;
  41. clock-frequency = <0>;
  42. next-level-cache = <&L2>;
  43. };
  44. };
  45. memory {
  46. device_type = "memory";
  47. reg = <0x0 0x0>; // Filled by U-Boot
  48. };
  49. soc8572@ffe00000 {
  50. #address-cells = <1>;
  51. #size-cells = <1>;
  52. device_type = "soc";
  53. compatible = "simple-bus";
  54. ranges = <0x0 0xffe00000 0x100000>;
  55. bus-frequency = <0>; // Filled out by uboot.
  56. ecm-law@0 {
  57. compatible = "fsl,ecm-law";
  58. reg = <0x0 0x1000>;
  59. fsl,num-laws = <12>;
  60. };
  61. ecm@1000 {
  62. compatible = "fsl,mpc8572-ecm", "fsl,ecm";
  63. reg = <0x1000 0x1000>;
  64. interrupts = <17 2>;
  65. interrupt-parent = <&mpic>;
  66. };
  67. memory-controller@2000 {
  68. compatible = "fsl,mpc8572-memory-controller";
  69. reg = <0x2000 0x1000>;
  70. interrupt-parent = <&mpic>;
  71. interrupts = <18 2>;
  72. };
  73. memory-controller@6000 {
  74. compatible = "fsl,mpc8572-memory-controller";
  75. reg = <0x6000 0x1000>;
  76. interrupt-parent = <&mpic>;
  77. interrupts = <18 2>;
  78. };
  79. L2: l2-cache-controller@20000 {
  80. compatible = "fsl,mpc8572-l2-cache-controller";
  81. reg = <0x20000 0x1000>;
  82. cache-line-size = <32>; // 32 bytes
  83. cache-size = <0x80000>; // L2, 512K
  84. interrupt-parent = <&mpic>;
  85. interrupts = <16 2>;
  86. };
  87. i2c@3000 {
  88. #address-cells = <1>;
  89. #size-cells = <0>;
  90. cell-index = <0>;
  91. compatible = "fsl-i2c";
  92. reg = <0x3000 0x100>;
  93. interrupts = <43 2>;
  94. interrupt-parent = <&mpic>;
  95. dfsrr;
  96. };
  97. i2c@3100 {
  98. #address-cells = <1>;
  99. #size-cells = <0>;
  100. cell-index = <1>;
  101. compatible = "fsl-i2c";
  102. reg = <0x3100 0x100>;
  103. interrupts = <43 2>;
  104. interrupt-parent = <&mpic>;
  105. dfsrr;
  106. };
  107. dma@21300 {
  108. #address-cells = <1>;
  109. #size-cells = <1>;
  110. compatible = "fsl,mpc8572-dma", "fsl,eloplus-dma";
  111. reg = <0x21300 0x4>;
  112. ranges = <0x0 0x21100 0x200>;
  113. cell-index = <0>;
  114. dma-channel@0 {
  115. compatible = "fsl,mpc8572-dma-channel",
  116. "fsl,eloplus-dma-channel";
  117. reg = <0x0 0x80>;
  118. cell-index = <0>;
  119. interrupt-parent = <&mpic>;
  120. interrupts = <20 2>;
  121. };
  122. dma-channel@80 {
  123. compatible = "fsl,mpc8572-dma-channel",
  124. "fsl,eloplus-dma-channel";
  125. reg = <0x80 0x80>;
  126. cell-index = <1>;
  127. interrupt-parent = <&mpic>;
  128. interrupts = <21 2>;
  129. };
  130. dma-channel@100 {
  131. compatible = "fsl,mpc8572-dma-channel",
  132. "fsl,eloplus-dma-channel";
  133. reg = <0x100 0x80>;
  134. cell-index = <2>;
  135. interrupt-parent = <&mpic>;
  136. interrupts = <22 2>;
  137. };
  138. dma-channel@180 {
  139. compatible = "fsl,mpc8572-dma-channel",
  140. "fsl,eloplus-dma-channel";
  141. reg = <0x180 0x80>;
  142. cell-index = <3>;
  143. interrupt-parent = <&mpic>;
  144. interrupts = <23 2>;
  145. };
  146. };
  147. enet0: ethernet@24000 {
  148. #address-cells = <1>;
  149. #size-cells = <1>;
  150. cell-index = <0>;
  151. device_type = "network";
  152. model = "eTSEC";
  153. compatible = "gianfar";
  154. reg = <0x24000 0x1000>;
  155. ranges = <0x0 0x24000 0x1000>;
  156. local-mac-address = [ 00 00 00 00 00 00 ];
  157. interrupts = <29 2 30 2 34 2>;
  158. interrupt-parent = <&mpic>;
  159. phy-handle = <&phy0>;
  160. phy-connection-type = "rgmii-id";
  161. mdio@520 {
  162. #address-cells = <1>;
  163. #size-cells = <0>;
  164. compatible = "fsl,gianfar-mdio";
  165. reg = <0x520 0x20>;
  166. phy0: ethernet-phy@0 {
  167. interrupt-parent = <&mpic>;
  168. interrupts = <10 1>;
  169. reg = <0x0>;
  170. };
  171. phy1: ethernet-phy@1 {
  172. interrupt-parent = <&mpic>;
  173. interrupts = <10 1>;
  174. reg = <0x1>;
  175. };
  176. };
  177. };
  178. enet1: ethernet@25000 {
  179. cell-index = <1>;
  180. device_type = "network";
  181. model = "eTSEC";
  182. compatible = "gianfar";
  183. reg = <0x25000 0x1000>;
  184. local-mac-address = [ 00 00 00 00 00 00 ];
  185. interrupts = <35 2 36 2 40 2>;
  186. interrupt-parent = <&mpic>;
  187. phy-handle = <&phy1>;
  188. phy-connection-type = "rgmii-id";
  189. };
  190. serial0: serial@4500 {
  191. cell-index = <0>;
  192. device_type = "serial";
  193. compatible = "ns16550";
  194. reg = <0x4500 0x100>;
  195. clock-frequency = <0>;
  196. };
  197. msi@41600 {
  198. compatible = "fsl,mpc8572-msi", "fsl,mpic-msi";
  199. reg = <0x41600 0x80>;
  200. msi-available-ranges = <0 0x80>;
  201. interrupts = <
  202. 0xe0 0
  203. 0xe1 0
  204. 0xe2 0
  205. 0xe3 0>;
  206. interrupt-parent = <&mpic>;
  207. };
  208. global-utilities@e0000 { //global utilities block
  209. compatible = "fsl,mpc8572-guts";
  210. reg = <0xe0000 0x1000>;
  211. fsl,has-rstcr;
  212. };
  213. crypto@30000 {
  214. compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
  215. "fsl,sec2.1", "fsl,sec2.0";
  216. reg = <0x30000 0x10000>;
  217. interrupts = <45 2 58 2>;
  218. interrupt-parent = <&mpic>;
  219. fsl,num-channels = <4>;
  220. fsl,channel-fifo-len = <24>;
  221. fsl,exec-units-mask = <0x9fe>;
  222. fsl,descriptor-types-mask = <0x3ab0ebf>;
  223. };
  224. mpic: pic@40000 {
  225. interrupt-controller;
  226. #address-cells = <0>;
  227. #interrupt-cells = <2>;
  228. reg = <0x40000 0x40000>;
  229. compatible = "chrp,open-pic";
  230. device_type = "open-pic";
  231. protected-sources = <
  232. 31 32 33 37 38 39 /* enet2 enet3 */
  233. 76 77 78 79 26 42 /* dma2 pci2 serial*/
  234. 0xe4 0xe5 0xe6 0xe7 /* msi */
  235. >;
  236. };
  237. };
  238. pci0: pcie@ffe08000 {
  239. compatible = "fsl,mpc8548-pcie";
  240. device_type = "pci";
  241. #interrupt-cells = <1>;
  242. #size-cells = <2>;
  243. #address-cells = <3>;
  244. reg = <0xffe08000 0x1000>;
  245. bus-range = <0 255>;
  246. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  247. 0x1000000 0x0 0x0 0xffc00000 0x0 0x10000>;
  248. clock-frequency = <33333333>;
  249. interrupt-parent = <&mpic>;
  250. interrupts = <24 2>;
  251. interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
  252. interrupt-map = <
  253. /* IDSEL 0x11 func 0 - PCI slot 1 */
  254. 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
  255. 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
  256. 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
  257. 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1
  258. /* IDSEL 0x11 func 1 - PCI slot 1 */
  259. 0x8900 0x0 0x0 0x1 &mpic 0x2 0x1
  260. 0x8900 0x0 0x0 0x2 &mpic 0x3 0x1
  261. 0x8900 0x0 0x0 0x3 &mpic 0x4 0x1
  262. 0x8900 0x0 0x0 0x4 &mpic 0x1 0x1
  263. /* IDSEL 0x11 func 2 - PCI slot 1 */
  264. 0x8a00 0x0 0x0 0x1 &mpic 0x2 0x1
  265. 0x8a00 0x0 0x0 0x2 &mpic 0x3 0x1
  266. 0x8a00 0x0 0x0 0x3 &mpic 0x4 0x1
  267. 0x8a00 0x0 0x0 0x4 &mpic 0x1 0x1
  268. /* IDSEL 0x11 func 3 - PCI slot 1 */
  269. 0x8b00 0x0 0x0 0x1 &mpic 0x2 0x1
  270. 0x8b00 0x0 0x0 0x2 &mpic 0x3 0x1
  271. 0x8b00 0x0 0x0 0x3 &mpic 0x4 0x1
  272. 0x8b00 0x0 0x0 0x4 &mpic 0x1 0x1
  273. /* IDSEL 0x11 func 4 - PCI slot 1 */
  274. 0x8c00 0x0 0x0 0x1 &mpic 0x2 0x1
  275. 0x8c00 0x0 0x0 0x2 &mpic 0x3 0x1
  276. 0x8c00 0x0 0x0 0x3 &mpic 0x4 0x1
  277. 0x8c00 0x0 0x0 0x4 &mpic 0x1 0x1
  278. /* IDSEL 0x11 func 5 - PCI slot 1 */
  279. 0x8d00 0x0 0x0 0x1 &mpic 0x2 0x1
  280. 0x8d00 0x0 0x0 0x2 &mpic 0x3 0x1
  281. 0x8d00 0x0 0x0 0x3 &mpic 0x4 0x1
  282. 0x8d00 0x0 0x0 0x4 &mpic 0x1 0x1
  283. /* IDSEL 0x11 func 6 - PCI slot 1 */
  284. 0x8e00 0x0 0x0 0x1 &mpic 0x2 0x1
  285. 0x8e00 0x0 0x0 0x2 &mpic 0x3 0x1
  286. 0x8e00 0x0 0x0 0x3 &mpic 0x4 0x1
  287. 0x8e00 0x0 0x0 0x4 &mpic 0x1 0x1
  288. /* IDSEL 0x11 func 7 - PCI slot 1 */
  289. 0x8f00 0x0 0x0 0x1 &mpic 0x2 0x1
  290. 0x8f00 0x0 0x0 0x2 &mpic 0x3 0x1
  291. 0x8f00 0x0 0x0 0x3 &mpic 0x4 0x1
  292. 0x8f00 0x0 0x0 0x4 &mpic 0x1 0x1
  293. /* IDSEL 0x12 func 0 - PCI slot 2 */
  294. 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1
  295. 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1
  296. 0x9000 0x0 0x0 0x3 &mpic 0x1 0x1
  297. 0x9000 0x0 0x0 0x4 &mpic 0x2 0x1
  298. /* IDSEL 0x12 func 1 - PCI slot 2 */
  299. 0x9100 0x0 0x0 0x1 &mpic 0x3 0x1
  300. 0x9100 0x0 0x0 0x2 &mpic 0x4 0x1
  301. 0x9100 0x0 0x0 0x3 &mpic 0x1 0x1
  302. 0x9100 0x0 0x0 0x4 &mpic 0x2 0x1
  303. /* IDSEL 0x12 func 2 - PCI slot 2 */
  304. 0x9200 0x0 0x0 0x1 &mpic 0x3 0x1
  305. 0x9200 0x0 0x0 0x2 &mpic 0x4 0x1
  306. 0x9200 0x0 0x0 0x3 &mpic 0x1 0x1
  307. 0x9200 0x0 0x0 0x4 &mpic 0x2 0x1
  308. /* IDSEL 0x12 func 3 - PCI slot 2 */
  309. 0x9300 0x0 0x0 0x1 &mpic 0x3 0x1
  310. 0x9300 0x0 0x0 0x2 &mpic 0x4 0x1
  311. 0x9300 0x0 0x0 0x3 &mpic 0x1 0x1
  312. 0x9300 0x0 0x0 0x4 &mpic 0x2 0x1
  313. /* IDSEL 0x12 func 4 - PCI slot 2 */
  314. 0x9400 0x0 0x0 0x1 &mpic 0x3 0x1
  315. 0x9400 0x0 0x0 0x2 &mpic 0x4 0x1
  316. 0x9400 0x0 0x0 0x3 &mpic 0x1 0x1
  317. 0x9400 0x0 0x0 0x4 &mpic 0x2 0x1
  318. /* IDSEL 0x12 func 5 - PCI slot 2 */
  319. 0x9500 0x0 0x0 0x1 &mpic 0x3 0x1
  320. 0x9500 0x0 0x0 0x2 &mpic 0x4 0x1
  321. 0x9500 0x0 0x0 0x3 &mpic 0x1 0x1
  322. 0x9500 0x0 0x0 0x4 &mpic 0x2 0x1
  323. /* IDSEL 0x12 func 6 - PCI slot 2 */
  324. 0x9600 0x0 0x0 0x1 &mpic 0x3 0x1
  325. 0x9600 0x0 0x0 0x2 &mpic 0x4 0x1
  326. 0x9600 0x0 0x0 0x3 &mpic 0x1 0x1
  327. 0x9600 0x0 0x0 0x4 &mpic 0x2 0x1
  328. /* IDSEL 0x12 func 7 - PCI slot 2 */
  329. 0x9700 0x0 0x0 0x1 &mpic 0x3 0x1
  330. 0x9700 0x0 0x0 0x2 &mpic 0x4 0x1
  331. 0x9700 0x0 0x0 0x3 &mpic 0x1 0x1
  332. 0x9700 0x0 0x0 0x4 &mpic 0x2 0x1
  333. // IDSEL 0x1c USB
  334. 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
  335. 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
  336. 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
  337. 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
  338. // IDSEL 0x1d Audio
  339. 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
  340. // IDSEL 0x1e Legacy
  341. 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
  342. 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
  343. // IDSEL 0x1f IDE/SATA
  344. 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
  345. 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
  346. >;
  347. pcie@0 {
  348. reg = <0x0 0x0 0x0 0x0 0x0>;
  349. #size-cells = <2>;
  350. #address-cells = <3>;
  351. device_type = "pci";
  352. ranges = <0x2000000 0x0 0x80000000
  353. 0x2000000 0x0 0x80000000
  354. 0x0 0x20000000
  355. 0x1000000 0x0 0x0
  356. 0x1000000 0x0 0x0
  357. 0x0 0x10000>;
  358. uli1575@0 {
  359. reg = <0x0 0x0 0x0 0x0 0x0>;
  360. #size-cells = <2>;
  361. #address-cells = <3>;
  362. ranges = <0x2000000 0x0 0x80000000
  363. 0x2000000 0x0 0x80000000
  364. 0x0 0x20000000
  365. 0x1000000 0x0 0x0
  366. 0x1000000 0x0 0x0
  367. 0x0 0x10000>;
  368. isa@1e {
  369. device_type = "isa";
  370. #interrupt-cells = <2>;
  371. #size-cells = <1>;
  372. #address-cells = <2>;
  373. reg = <0xf000 0x0 0x0 0x0 0x0>;
  374. ranges = <0x1 0x0 0x1000000 0x0 0x0
  375. 0x1000>;
  376. interrupt-parent = <&i8259>;
  377. i8259: interrupt-controller@20 {
  378. reg = <0x1 0x20 0x2
  379. 0x1 0xa0 0x2
  380. 0x1 0x4d0 0x2>;
  381. interrupt-controller;
  382. device_type = "interrupt-controller";
  383. #address-cells = <0>;
  384. #interrupt-cells = <2>;
  385. compatible = "chrp,iic";
  386. interrupts = <9 2>;
  387. interrupt-parent = <&mpic>;
  388. };
  389. i8042@60 {
  390. #size-cells = <0>;
  391. #address-cells = <1>;
  392. reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
  393. interrupts = <1 3 12 3>;
  394. interrupt-parent =
  395. <&i8259>;
  396. keyboard@0 {
  397. reg = <0x0>;
  398. compatible = "pnpPNP,303";
  399. };
  400. mouse@1 {
  401. reg = <0x1>;
  402. compatible = "pnpPNP,f03";
  403. };
  404. };
  405. rtc@70 {
  406. compatible = "pnpPNP,b00";
  407. reg = <0x1 0x70 0x2>;
  408. };
  409. gpio@400 {
  410. reg = <0x1 0x400 0x80>;
  411. };
  412. };
  413. };
  414. };
  415. };
  416. pci1: pcie@ffe09000 {
  417. compatible = "fsl,mpc8548-pcie";
  418. device_type = "pci";
  419. #interrupt-cells = <1>;
  420. #size-cells = <2>;
  421. #address-cells = <3>;
  422. reg = <0xffe09000 0x1000>;
  423. bus-range = <0 255>;
  424. ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  425. 0x1000000 0x0 0x0 0xffc10000 0x0 0x10000>;
  426. clock-frequency = <33333333>;
  427. interrupt-parent = <&mpic>;
  428. interrupts = <25 2>;
  429. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  430. interrupt-map = <
  431. /* IDSEL 0x0 */
  432. 0000 0x0 0x0 0x1 &mpic 0x4 0x1
  433. 0000 0x0 0x0 0x2 &mpic 0x5 0x1
  434. 0000 0x0 0x0 0x3 &mpic 0x6 0x1
  435. 0000 0x0 0x0 0x4 &mpic 0x7 0x1
  436. >;
  437. pcie@0 {
  438. reg = <0x0 0x0 0x0 0x0 0x0>;
  439. #size-cells = <2>;
  440. #address-cells = <3>;
  441. device_type = "pci";
  442. ranges = <0x2000000 0x0 0xa0000000
  443. 0x2000000 0x0 0xa0000000
  444. 0x0 0x20000000
  445. 0x1000000 0x0 0x0
  446. 0x1000000 0x0 0x0
  447. 0x0 0x10000>;
  448. };
  449. };
  450. };