mpc8544ds.dts 11 KB

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