mpc8610_hpcd.dts 11 KB

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