mpc8544ds.dts 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. /*
  2. * MPC8544 DS 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 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 = "MPC8544DS";
  14. compatible = "MPC8544DS", "MPC85xxDS";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. serial0 = &serial0;
  21. serial1 = &serial1;
  22. pci0 = &pci0;
  23. pci1 = &pci1;
  24. pci2 = &pci2;
  25. pci3 = &pci3;
  26. };
  27. cpus {
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. PowerPC,8544@0 {
  31. device_type = "cpu";
  32. reg = <0x0>;
  33. d-cache-line-size = <32>; // 32 bytes
  34. i-cache-line-size = <32>; // 32 bytes
  35. d-cache-size = <0x8000>; // L1, 32K
  36. i-cache-size = <0x8000>; // L1, 32K
  37. timebase-frequency = <0>;
  38. bus-frequency = <0>;
  39. clock-frequency = <0>;
  40. next-level-cache = <&L2>;
  41. };
  42. };
  43. memory {
  44. device_type = "memory";
  45. reg = <0x0 0x0>; // Filled by U-Boot
  46. };
  47. soc8544@e0000000 {
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. device_type = "soc";
  51. ranges = <0x0 0xe0000000 0x100000>;
  52. reg = <0xe0000000 0x1000>; // CCSRBAR 1M
  53. bus-frequency = <0>; // Filled out by uboot.
  54. memory-controller@2000 {
  55. compatible = "fsl,8544-memory-controller";
  56. reg = <0x2000 0x1000>;
  57. interrupt-parent = <&mpic>;
  58. interrupts = <18 2>;
  59. };
  60. L2: l2-cache-controller@20000 {
  61. compatible = "fsl,8544-l2-cache-controller";
  62. reg = <0x20000 0x1000>;
  63. cache-line-size = <32>; // 32 bytes
  64. cache-size = <0x40000>; // L2, 256K
  65. interrupt-parent = <&mpic>;
  66. interrupts = <16 2>;
  67. };
  68. i2c@3000 {
  69. #address-cells = <1>;
  70. #size-cells = <0>;
  71. cell-index = <0>;
  72. compatible = "fsl-i2c";
  73. reg = <0x3000 0x100>;
  74. interrupts = <43 2>;
  75. interrupt-parent = <&mpic>;
  76. dfsrr;
  77. };
  78. i2c@3100 {
  79. #address-cells = <1>;
  80. #size-cells = <0>;
  81. cell-index = <1>;
  82. compatible = "fsl-i2c";
  83. reg = <0x3100 0x100>;
  84. interrupts = <43 2>;
  85. interrupt-parent = <&mpic>;
  86. dfsrr;
  87. };
  88. mdio@24520 {
  89. #address-cells = <1>;
  90. #size-cells = <0>;
  91. compatible = "fsl,gianfar-mdio";
  92. reg = <0x24520 0x20>;
  93. phy0: ethernet-phy@0 {
  94. interrupt-parent = <&mpic>;
  95. interrupts = <10 1>;
  96. reg = <0x0>;
  97. device_type = "ethernet-phy";
  98. };
  99. phy1: ethernet-phy@1 {
  100. interrupt-parent = <&mpic>;
  101. interrupts = <10 1>;
  102. reg = <0x1>;
  103. device_type = "ethernet-phy";
  104. };
  105. };
  106. dma@21300 {
  107. #address-cells = <1>;
  108. #size-cells = <1>;
  109. compatible = "fsl,mpc8544-dma", "fsl,eloplus-dma";
  110. reg = <0x21300 0x4>;
  111. ranges = <0x0 0x21100 0x200>;
  112. cell-index = <0>;
  113. dma-channel@0 {
  114. compatible = "fsl,mpc8544-dma-channel",
  115. "fsl,eloplus-dma-channel";
  116. reg = <0x0 0x80>;
  117. cell-index = <0>;
  118. interrupt-parent = <&mpic>;
  119. interrupts = <20 2>;
  120. };
  121. dma-channel@80 {
  122. compatible = "fsl,mpc8544-dma-channel",
  123. "fsl,eloplus-dma-channel";
  124. reg = <0x80 0x80>;
  125. cell-index = <1>;
  126. interrupt-parent = <&mpic>;
  127. interrupts = <21 2>;
  128. };
  129. dma-channel@100 {
  130. compatible = "fsl,mpc8544-dma-channel",
  131. "fsl,eloplus-dma-channel";
  132. reg = <0x100 0x80>;
  133. cell-index = <2>;
  134. interrupt-parent = <&mpic>;
  135. interrupts = <22 2>;
  136. };
  137. dma-channel@180 {
  138. compatible = "fsl,mpc8544-dma-channel",
  139. "fsl,eloplus-dma-channel";
  140. reg = <0x180 0x80>;
  141. cell-index = <3>;
  142. interrupt-parent = <&mpic>;
  143. interrupts = <23 2>;
  144. };
  145. };
  146. enet0: ethernet@24000 {
  147. cell-index = <0>;
  148. device_type = "network";
  149. model = "TSEC";
  150. compatible = "gianfar";
  151. reg = <0x24000 0x1000>;
  152. local-mac-address = [ 00 00 00 00 00 00 ];
  153. interrupts = <29 2 30 2 34 2>;
  154. interrupt-parent = <&mpic>;
  155. phy-handle = <&phy0>;
  156. phy-connection-type = "rgmii-id";
  157. };
  158. enet1: ethernet@26000 {
  159. cell-index = <1>;
  160. device_type = "network";
  161. model = "TSEC";
  162. compatible = "gianfar";
  163. reg = <0x26000 0x1000>;
  164. local-mac-address = [ 00 00 00 00 00 00 ];
  165. interrupts = <31 2 32 2 33 2>;
  166. interrupt-parent = <&mpic>;
  167. phy-handle = <&phy1>;
  168. phy-connection-type = "rgmii-id";
  169. };
  170. serial0: serial@4500 {
  171. cell-index = <0>;
  172. device_type = "serial";
  173. compatible = "ns16550";
  174. reg = <0x4500 0x100>;
  175. clock-frequency = <0>;
  176. interrupts = <42 2>;
  177. interrupt-parent = <&mpic>;
  178. };
  179. serial1: serial@4600 {
  180. cell-index = <1>;
  181. device_type = "serial";
  182. compatible = "ns16550";
  183. reg = <0x4600 0x100>;
  184. clock-frequency = <0>;
  185. interrupts = <42 2>;
  186. interrupt-parent = <&mpic>;
  187. };
  188. global-utilities@e0000 { //global utilities block
  189. compatible = "fsl,mpc8548-guts";
  190. reg = <0xe0000 0x1000>;
  191. fsl,has-rstcr;
  192. };
  193. crypto@30000 {
  194. compatible = "fsl,sec2.1", "fsl,sec2.0";
  195. reg = <0x30000 0x10000>;
  196. interrupts = <45 2>;
  197. interrupt-parent = <&mpic>;
  198. fsl,num-channels = <4>;
  199. fsl,channel-fifo-len = <24>;
  200. fsl,exec-units-mask = <0xfe>;
  201. fsl,descriptor-types-mask = <0x12b0ebf>;
  202. };
  203. mpic: pic@40000 {
  204. interrupt-controller;
  205. #address-cells = <0>;
  206. #interrupt-cells = <2>;
  207. reg = <0x40000 0x40000>;
  208. compatible = "chrp,open-pic";
  209. device_type = "open-pic";
  210. };
  211. msi@41600 {
  212. compatible = "fsl,mpc8544-msi", "fsl,mpic-msi";
  213. reg = <0x41600 0x80>;
  214. msi-available-ranges = <0 0x100>;
  215. interrupts = <
  216. 0xe0 0
  217. 0xe1 0
  218. 0xe2 0
  219. 0xe3 0
  220. 0xe4 0
  221. 0xe5 0
  222. 0xe6 0
  223. 0xe7 0>;
  224. interrupt-parent = <&mpic>;
  225. };
  226. };
  227. pci0: pci@e0008000 {
  228. cell-index = <0>;
  229. compatible = "fsl,mpc8540-pci";
  230. device_type = "pci";
  231. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  232. interrupt-map = <
  233. /* IDSEL 0x11 J17 Slot 1 */
  234. 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
  235. 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
  236. 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
  237. 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1
  238. /* IDSEL 0x12 J16 Slot 2 */
  239. 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1
  240. 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1
  241. 0x9000 0x0 0x0 0x3 &mpic 0x2 0x1
  242. 0x9000 0x0 0x0 0x4 &mpic 0x1 0x1>;
  243. interrupt-parent = <&mpic>;
  244. interrupts = <24 2>;
  245. bus-range = <0 255>;
  246. ranges = <0x2000000 0x0 0xc0000000 0xc0000000 0x0 0x20000000
  247. 0x1000000 0x0 0x0 0xe1000000 0x0 0x10000>;
  248. clock-frequency = <66666666>;
  249. #interrupt-cells = <1>;
  250. #size-cells = <2>;
  251. #address-cells = <3>;
  252. reg = <0xe0008000 0x1000>;
  253. };
  254. pci1: pcie@e0009000 {
  255. cell-index = <1>;
  256. compatible = "fsl,mpc8548-pcie";
  257. device_type = "pci";
  258. #interrupt-cells = <1>;
  259. #size-cells = <2>;
  260. #address-cells = <3>;
  261. reg = <0xe0009000 0x1000>;
  262. bus-range = <0 255>;
  263. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  264. 0x1000000 0x0 0x0 0xe1010000 0x0 0x10000>;
  265. clock-frequency = <33333333>;
  266. interrupt-parent = <&mpic>;
  267. interrupts = <26 2>;
  268. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  269. interrupt-map = <
  270. /* IDSEL 0x0 */
  271. 0000 0x0 0x0 0x1 &mpic 0x4 0x1
  272. 0000 0x0 0x0 0x2 &mpic 0x5 0x1
  273. 0000 0x0 0x0 0x3 &mpic 0x6 0x1
  274. 0000 0x0 0x0 0x4 &mpic 0x7 0x1
  275. >;
  276. pcie@0 {
  277. reg = <0x0 0x0 0x0 0x0 0x0>;
  278. #size-cells = <2>;
  279. #address-cells = <3>;
  280. device_type = "pci";
  281. ranges = <0x2000000 0x0 0x80000000
  282. 0x2000000 0x0 0x80000000
  283. 0x0 0x20000000
  284. 0x1000000 0x0 0x0
  285. 0x1000000 0x0 0x0
  286. 0x0 0x10000>;
  287. };
  288. };
  289. pci2: pcie@e000a000 {
  290. cell-index = <2>;
  291. compatible = "fsl,mpc8548-pcie";
  292. device_type = "pci";
  293. #interrupt-cells = <1>;
  294. #size-cells = <2>;
  295. #address-cells = <3>;
  296. reg = <0xe000a000 0x1000>;
  297. bus-range = <0 255>;
  298. ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  299. 0x1000000 0x0 0x0 0xe1020000 0x0 0x10000>;
  300. clock-frequency = <33333333>;
  301. interrupt-parent = <&mpic>;
  302. interrupts = <25 2>;
  303. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  304. interrupt-map = <
  305. /* IDSEL 0x0 */
  306. 0000 0x0 0x0 0x1 &mpic 0x0 0x1
  307. 0000 0x0 0x0 0x2 &mpic 0x1 0x1
  308. 0000 0x0 0x0 0x3 &mpic 0x2 0x1
  309. 0000 0x0 0x0 0x4 &mpic 0x3 0x1
  310. >;
  311. pcie@0 {
  312. reg = <0x0 0x0 0x0 0x0 0x0>;
  313. #size-cells = <2>;
  314. #address-cells = <3>;
  315. device_type = "pci";
  316. ranges = <0x2000000 0x0 0xa0000000
  317. 0x2000000 0x0 0xa0000000
  318. 0x0 0x10000000
  319. 0x1000000 0x0 0x0
  320. 0x1000000 0x0 0x0
  321. 0x0 0x10000>;
  322. };
  323. };
  324. pci3: pcie@e000b000 {
  325. cell-index = <3>;
  326. compatible = "fsl,mpc8548-pcie";
  327. device_type = "pci";
  328. #interrupt-cells = <1>;
  329. #size-cells = <2>;
  330. #address-cells = <3>;
  331. reg = <0xe000b000 0x1000>;
  332. bus-range = <0 255>;
  333. ranges = <0x2000000 0x0 0xb0000000 0xb0000000 0x0 0x100000
  334. 0x1000000 0x0 0x0 0xb0100000 0x0 0x100000>;
  335. clock-frequency = <33333333>;
  336. interrupt-parent = <&mpic>;
  337. interrupts = <27 2>;
  338. interrupt-map-mask = <0xff00 0x0 0x0 0x1>;
  339. interrupt-map = <
  340. // IDSEL 0x1c USB
  341. 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
  342. 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
  343. 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
  344. 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
  345. // IDSEL 0x1d Audio
  346. 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
  347. // IDSEL 0x1e Legacy
  348. 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
  349. 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
  350. // IDSEL 0x1f IDE/SATA
  351. 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
  352. 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
  353. >;
  354. pcie@0 {
  355. reg = <0x0 0x0 0x0 0x0 0x0>;
  356. #size-cells = <2>;
  357. #address-cells = <3>;
  358. device_type = "pci";
  359. ranges = <0x2000000 0x0 0xb0000000
  360. 0x2000000 0x0 0xb0000000
  361. 0x0 0x100000
  362. 0x1000000 0x0 0x0
  363. 0x1000000 0x0 0x0
  364. 0x0 0x100000>;
  365. uli1575@0 {
  366. reg = <0x0 0x0 0x0 0x0 0x0>;
  367. #size-cells = <2>;
  368. #address-cells = <3>;
  369. ranges = <0x2000000 0x0 0xb0000000
  370. 0x2000000 0x0 0xb0000000
  371. 0x0 0x100000
  372. 0x1000000 0x0 0x0
  373. 0x1000000 0x0 0x0
  374. 0x0 0x100000>;
  375. isa@1e {
  376. device_type = "isa";
  377. #interrupt-cells = <2>;
  378. #size-cells = <1>;
  379. #address-cells = <2>;
  380. reg = <0xf000 0x0 0x0 0x0 0x0>;
  381. ranges = <0x1 0x0
  382. 0x1000000 0x0 0x0
  383. 0x1000>;
  384. interrupt-parent = <&i8259>;
  385. i8259: interrupt-controller@20 {
  386. reg = <0x1 0x20 0x2
  387. 0x1 0xa0 0x2
  388. 0x1 0x4d0 0x2>;
  389. interrupt-controller;
  390. device_type = "interrupt-controller";
  391. #address-cells = <0>;
  392. #interrupt-cells = <2>;
  393. compatible = "chrp,iic";
  394. interrupts = <9 2>;
  395. interrupt-parent = <&mpic>;
  396. };
  397. i8042@60 {
  398. #size-cells = <0>;
  399. #address-cells = <1>;
  400. reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
  401. interrupts = <1 3 12 3>;
  402. interrupt-parent = <&i8259>;
  403. keyboard@0 {
  404. reg = <0x0>;
  405. compatible = "pnpPNP,303";
  406. };
  407. mouse@1 {
  408. reg = <0x1>;
  409. compatible = "pnpPNP,f03";
  410. };
  411. };
  412. rtc@70 {
  413. compatible = "pnpPNP,b00";
  414. reg = <0x1 0x70 0x2>;
  415. };
  416. gpio@400 {
  417. reg = <0x1 0x400 0x80>;
  418. };
  419. };
  420. };
  421. };
  422. };
  423. };