mpc8610_hpcd.dts 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. /*
  2. * MPC8610 HPCD Device Tree Source
  3. *
  4. * Copyright 2007-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 Version 2 as published
  8. * by the Free Software Foundation.
  9. */
  10. /dts-v1/;
  11. / {
  12. model = "MPC8610HPCD";
  13. compatible = "fsl,MPC8610HPCD";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. aliases {
  17. serial0 = &serial0;
  18. serial1 = &serial1;
  19. pci0 = &pci0;
  20. pci1 = &pci1;
  21. pci2 = &pci2;
  22. };
  23. cpus {
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. PowerPC,8610@0 {
  27. device_type = "cpu";
  28. reg = <0>;
  29. d-cache-line-size = <32>;
  30. i-cache-line-size = <32>;
  31. d-cache-size = <32768>; // L1
  32. i-cache-size = <32768>; // L1
  33. timebase-frequency = <0>; // From uboot
  34. bus-frequency = <0>; // From uboot
  35. clock-frequency = <0>; // From uboot
  36. };
  37. };
  38. memory {
  39. device_type = "memory";
  40. reg = <0x00000000 0x20000000>; // 512M at 0x0
  41. };
  42. localbus@e0005000 {
  43. #address-cells = <2>;
  44. #size-cells = <1>;
  45. compatible = "fsl,mpc8610-elbc", "fsl,elbc", "simple-bus";
  46. reg = <0xe0005000 0x1000>;
  47. interrupts = <19 2>;
  48. interrupt-parent = <&mpic>;
  49. ranges = <0 0 0xf8000000 0x08000000
  50. 1 0 0xf0000000 0x08000000
  51. 2 0 0xe8400000 0x00008000
  52. 4 0 0xe8440000 0x00008000
  53. 5 0 0xe8480000 0x00008000
  54. 6 0 0xe84c0000 0x00008000
  55. 3 0 0xe8000000 0x00000020>;
  56. flash@0,0 {
  57. compatible = "cfi-flash";
  58. reg = <0 0 0x8000000>;
  59. bank-width = <2>;
  60. device-width = <1>;
  61. };
  62. flash@1,0 {
  63. compatible = "cfi-flash";
  64. reg = <1 0 0x8000000>;
  65. bank-width = <2>;
  66. device-width = <1>;
  67. };
  68. flash@2,0 {
  69. compatible = "fsl,mpc8610-fcm-nand",
  70. "fsl,elbc-fcm-nand";
  71. reg = <2 0 0x8000>;
  72. };
  73. flash@4,0 {
  74. compatible = "fsl,mpc8610-fcm-nand",
  75. "fsl,elbc-fcm-nand";
  76. reg = <4 0 0x8000>;
  77. };
  78. flash@5,0 {
  79. compatible = "fsl,mpc8610-fcm-nand",
  80. "fsl,elbc-fcm-nand";
  81. reg = <5 0 0x8000>;
  82. };
  83. flash@6,0 {
  84. compatible = "fsl,mpc8610-fcm-nand",
  85. "fsl,elbc-fcm-nand";
  86. reg = <6 0 0x8000>;
  87. };
  88. board-control@3,0 {
  89. #address-cells = <1>;
  90. #size-cells = <1>;
  91. compatible = "fsl,fpga-pixis";
  92. reg = <3 0 0x20>;
  93. ranges = <0 3 0 0x20>;
  94. sdcsr_pio: gpio-controller@a {
  95. #gpio-cells = <2>;
  96. compatible = "fsl,fpga-pixis-gpio-bank";
  97. reg = <0xa 1>;
  98. gpio-controller;
  99. };
  100. };
  101. };
  102. soc@e0000000 {
  103. #address-cells = <1>;
  104. #size-cells = <1>;
  105. #interrupt-cells = <2>;
  106. device_type = "soc";
  107. compatible = "fsl,mpc8610-immr", "simple-bus";
  108. ranges = <0x0 0xe0000000 0x00100000>;
  109. bus-frequency = <0>;
  110. mcm-law@0 {
  111. compatible = "fsl,mcm-law";
  112. reg = <0x0 0x1000>;
  113. fsl,num-laws = <10>;
  114. };
  115. mcm@1000 {
  116. compatible = "fsl,mpc8610-mcm", "fsl,mcm";
  117. reg = <0x1000 0x1000>;
  118. interrupts = <17 2>;
  119. interrupt-parent = <&mpic>;
  120. };
  121. i2c@3000 {
  122. #address-cells = <1>;
  123. #size-cells = <0>;
  124. cell-index = <0>;
  125. compatible = "fsl-i2c";
  126. reg = <0x3000 0x100>;
  127. interrupts = <43 2>;
  128. interrupt-parent = <&mpic>;
  129. dfsrr;
  130. cs4270:codec@4f {
  131. compatible = "cirrus,cs4270";
  132. reg = <0x4f>;
  133. /* MCLK source is a stand-alone oscillator */
  134. clock-frequency = <12288000>;
  135. };
  136. };
  137. i2c@3100 {
  138. #address-cells = <1>;
  139. #size-cells = <0>;
  140. cell-index = <1>;
  141. compatible = "fsl-i2c";
  142. reg = <0x3100 0x100>;
  143. interrupts = <43 2>;
  144. interrupt-parent = <&mpic>;
  145. dfsrr;
  146. };
  147. serial0: serial@4500 {
  148. cell-index = <0>;
  149. device_type = "serial";
  150. compatible = "ns16550";
  151. reg = <0x4500 0x100>;
  152. clock-frequency = <0>;
  153. interrupts = <42 2>;
  154. interrupt-parent = <&mpic>;
  155. };
  156. serial1: serial@4600 {
  157. cell-index = <1>;
  158. device_type = "serial";
  159. compatible = "ns16550";
  160. reg = <0x4600 0x100>;
  161. clock-frequency = <0>;
  162. interrupts = <42 2>;
  163. interrupt-parent = <&mpic>;
  164. };
  165. spi@7000 {
  166. #address-cells = <1>;
  167. #size-cells = <0>;
  168. compatible = "fsl,mpc8610-spi", "fsl,spi";
  169. reg = <0x7000 0x40>;
  170. cell-index = <0>;
  171. interrupts = <59 2>;
  172. interrupt-parent = <&mpic>;
  173. mode = "cpu";
  174. gpios = <&sdcsr_pio 7 0>;
  175. mmc-slot@0 {
  176. compatible = "fsl,mpc8610hpcd-mmc-slot",
  177. "mmc-spi-slot";
  178. reg = <0>;
  179. gpios = <&sdcsr_pio 0 1 /* nCD */
  180. &sdcsr_pio 1 0>; /* WP */
  181. voltage-ranges = <3300 3300>;
  182. spi-max-frequency = <50000000>;
  183. };
  184. };
  185. display@2c000 {
  186. compatible = "fsl,diu";
  187. reg = <0x2c000 100>;
  188. interrupts = <72 2>;
  189. interrupt-parent = <&mpic>;
  190. };
  191. mpic: interrupt-controller@40000 {
  192. interrupt-controller;
  193. #address-cells = <0>;
  194. #interrupt-cells = <2>;
  195. reg = <0x40000 0x40000>;
  196. compatible = "chrp,open-pic";
  197. device_type = "open-pic";
  198. };
  199. msi@41600 {
  200. compatible = "fsl,mpc8610-msi", "fsl,mpic-msi";
  201. reg = <0x41600 0x80>;
  202. msi-available-ranges = <0 0x100>;
  203. interrupts = <
  204. 0xe0 0
  205. 0xe1 0
  206. 0xe2 0
  207. 0xe3 0
  208. 0xe4 0
  209. 0xe5 0
  210. 0xe6 0
  211. 0xe7 0>;
  212. interrupt-parent = <&mpic>;
  213. };
  214. global-utilities@e0000 {
  215. compatible = "fsl,mpc8610-guts";
  216. reg = <0xe0000 0x1000>;
  217. fsl,has-rstcr;
  218. };
  219. wdt@e4000 {
  220. compatible = "fsl,mpc8610-wdt";
  221. reg = <0xe4000 0x100>;
  222. };
  223. ssi@16000 {
  224. compatible = "fsl,mpc8610-ssi";
  225. cell-index = <0>;
  226. reg = <0x16000 0x100>;
  227. interrupt-parent = <&mpic>;
  228. interrupts = <62 2>;
  229. fsl,mode = "i2s-slave";
  230. codec-handle = <&cs4270>;
  231. fsl,playback-dma = <&dma00>;
  232. fsl,capture-dma = <&dma01>;
  233. fsl,fifo-depth = <8>;
  234. };
  235. ssi@16100 {
  236. compatible = "fsl,mpc8610-ssi";
  237. cell-index = <1>;
  238. reg = <0x16100 0x100>;
  239. interrupt-parent = <&mpic>;
  240. interrupts = <63 2>;
  241. fsl,fifo-depth = <8>;
  242. };
  243. dma@21300 {
  244. #address-cells = <1>;
  245. #size-cells = <1>;
  246. compatible = "fsl,mpc8610-dma", "fsl,eloplus-dma";
  247. cell-index = <0>;
  248. reg = <0x21300 0x4>; /* DMA general status register */
  249. ranges = <0x0 0x21100 0x200>;
  250. dma00: dma-channel@0 {
  251. compatible = "fsl,mpc8610-dma-channel",
  252. "fsl,ssi-dma-channel";
  253. cell-index = <0>;
  254. reg = <0x0 0x80>;
  255. interrupt-parent = <&mpic>;
  256. interrupts = <20 2>;
  257. };
  258. dma01: dma-channel@1 {
  259. compatible = "fsl,mpc8610-dma-channel",
  260. "fsl,ssi-dma-channel";
  261. cell-index = <1>;
  262. reg = <0x80 0x80>;
  263. interrupt-parent = <&mpic>;
  264. interrupts = <21 2>;
  265. };
  266. dma-channel@2 {
  267. compatible = "fsl,mpc8610-dma-channel",
  268. "fsl,eloplus-dma-channel";
  269. cell-index = <2>;
  270. reg = <0x100 0x80>;
  271. interrupt-parent = <&mpic>;
  272. interrupts = <22 2>;
  273. };
  274. dma-channel@3 {
  275. compatible = "fsl,mpc8610-dma-channel",
  276. "fsl,eloplus-dma-channel";
  277. cell-index = <3>;
  278. reg = <0x180 0x80>;
  279. interrupt-parent = <&mpic>;
  280. interrupts = <23 2>;
  281. };
  282. };
  283. dma@c300 {
  284. #address-cells = <1>;
  285. #size-cells = <1>;
  286. compatible = "fsl,mpc8610-dma", "fsl,eloplus-dma";
  287. cell-index = <1>;
  288. reg = <0xc300 0x4>; /* DMA general status register */
  289. ranges = <0x0 0xc100 0x200>;
  290. dma-channel@0 {
  291. compatible = "fsl,mpc8610-dma-channel",
  292. "fsl,eloplus-dma-channel";
  293. cell-index = <0>;
  294. reg = <0x0 0x80>;
  295. interrupt-parent = <&mpic>;
  296. interrupts = <76 2>;
  297. };
  298. dma-channel@1 {
  299. compatible = "fsl,mpc8610-dma-channel",
  300. "fsl,eloplus-dma-channel";
  301. cell-index = <1>;
  302. reg = <0x80 0x80>;
  303. interrupt-parent = <&mpic>;
  304. interrupts = <77 2>;
  305. };
  306. dma-channel@2 {
  307. compatible = "fsl,mpc8610-dma-channel",
  308. "fsl,eloplus-dma-channel";
  309. cell-index = <2>;
  310. reg = <0x100 0x80>;
  311. interrupt-parent = <&mpic>;
  312. interrupts = <78 2>;
  313. };
  314. dma-channel@3 {
  315. compatible = "fsl,mpc8610-dma-channel",
  316. "fsl,eloplus-dma-channel";
  317. cell-index = <3>;
  318. reg = <0x180 0x80>;
  319. interrupt-parent = <&mpic>;
  320. interrupts = <79 2>;
  321. };
  322. };
  323. };
  324. pci0: pci@e0008000 {
  325. compatible = "fsl,mpc8610-pci";
  326. device_type = "pci";
  327. #interrupt-cells = <1>;
  328. #size-cells = <2>;
  329. #address-cells = <3>;
  330. reg = <0xe0008000 0x1000>;
  331. bus-range = <0 0>;
  332. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000
  333. 0x01000000 0x0 0x00000000 0xe1000000 0x0 0x00100000>;
  334. clock-frequency = <33333333>;
  335. interrupt-parent = <&mpic>;
  336. interrupts = <24 2>;
  337. interrupt-map-mask = <0xf800 0 0 7>;
  338. interrupt-map = <
  339. /* IDSEL 0x11 */
  340. 0x8800 0 0 1 &mpic 4 1
  341. 0x8800 0 0 2 &mpic 5 1
  342. 0x8800 0 0 3 &mpic 6 1
  343. 0x8800 0 0 4 &mpic 7 1
  344. /* IDSEL 0x12 */
  345. 0x9000 0 0 1 &mpic 5 1
  346. 0x9000 0 0 2 &mpic 6 1
  347. 0x9000 0 0 3 &mpic 7 1
  348. 0x9000 0 0 4 &mpic 4 1
  349. >;
  350. };
  351. pci1: pcie@e000a000 {
  352. compatible = "fsl,mpc8641-pcie";
  353. device_type = "pci";
  354. #interrupt-cells = <1>;
  355. #size-cells = <2>;
  356. #address-cells = <3>;
  357. reg = <0xe000a000 0x1000>;
  358. bus-range = <1 3>;
  359. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  360. 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x00100000>;
  361. clock-frequency = <33333333>;
  362. interrupt-parent = <&mpic>;
  363. interrupts = <26 2>;
  364. interrupt-map-mask = <0xf800 0 0 7>;
  365. interrupt-map = <
  366. /* IDSEL 0x1b */
  367. 0xd800 0 0 1 &mpic 2 1
  368. /* IDSEL 0x1c*/
  369. 0xe000 0 0 1 &mpic 1 1
  370. 0xe000 0 0 2 &mpic 1 1
  371. 0xe000 0 0 3 &mpic 1 1
  372. 0xe000 0 0 4 &mpic 1 1
  373. /* IDSEL 0x1f */
  374. 0xf800 0 0 1 &mpic 3 2
  375. 0xf800 0 0 2 &mpic 0 1
  376. >;
  377. pcie@0 {
  378. reg = <0 0 0 0 0>;
  379. #size-cells = <2>;
  380. #address-cells = <3>;
  381. device_type = "pci";
  382. ranges = <0x02000000 0x0 0xa0000000
  383. 0x02000000 0x0 0xa0000000
  384. 0x0 0x10000000
  385. 0x01000000 0x0 0x00000000
  386. 0x01000000 0x0 0x00000000
  387. 0x0 0x00100000>;
  388. uli1575@0 {
  389. reg = <0 0 0 0 0>;
  390. #size-cells = <2>;
  391. #address-cells = <3>;
  392. ranges = <0x02000000 0x0 0xa0000000
  393. 0x02000000 0x0 0xa0000000
  394. 0x0 0x10000000
  395. 0x01000000 0x0 0x00000000
  396. 0x01000000 0x0 0x00000000
  397. 0x0 0x00100000>;
  398. isa@1e {
  399. device_type = "isa";
  400. #size-cells = <1>;
  401. #address-cells = <2>;
  402. reg = <0xf000 0 0 0 0>;
  403. ranges = <1 0 0x01000000 0 0
  404. 0x00001000>;
  405. rtc@70 {
  406. compatible = "pnpPNP,b00";
  407. reg = <1 0x70 2>;
  408. };
  409. };
  410. };
  411. };
  412. };
  413. pci2: pcie@e0009000 {
  414. #address-cells = <3>;
  415. #size-cells = <2>;
  416. #interrupt-cells = <1>;
  417. device_type = "pci";
  418. compatible = "fsl,mpc8641-pcie";
  419. reg = <0xe0009000 0x00001000>;
  420. ranges = <0x02000000 0 0x90000000 0x90000000 0 0x10000000
  421. 0x01000000 0 0x00000000 0xe2000000 0 0x00100000>;
  422. bus-range = <0 255>;
  423. interrupt-map-mask = <0xf800 0 0 7>;
  424. interrupt-map = <0x0000 0 0 1 &mpic 4 1
  425. 0x0000 0 0 2 &mpic 5 1
  426. 0x0000 0 0 3 &mpic 6 1
  427. 0x0000 0 0 4 &mpic 7 1>;
  428. interrupt-parent = <&mpic>;
  429. interrupts = <25 2>;
  430. clock-frequency = <33333333>;
  431. };
  432. };