mpc8610_hpcd.dts 11 KB

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