mpc8572ds.dts 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  1. /*
  2. * MPC8572 DS Device Tree Source
  3. *
  4. * Copyright 2007 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. / {
  12. model = "fsl,MPC8572DS";
  13. compatible = "fsl,MPC8572DS";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. cpus {
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. PowerPC,8572@0 {
  20. device_type = "cpu";
  21. reg = <0>;
  22. d-cache-line-size = <20>; // 32 bytes
  23. i-cache-line-size = <20>; // 32 bytes
  24. d-cache-size = <8000>; // L1, 32K
  25. i-cache-size = <8000>; // L1, 32K
  26. timebase-frequency = <0>;
  27. bus-frequency = <0>;
  28. clock-frequency = <0>;
  29. };
  30. };
  31. memory {
  32. device_type = "memory";
  33. reg = <00000000 00000000>; // Filled by U-Boot
  34. };
  35. soc8572@ffe00000 {
  36. #address-cells = <1>;
  37. #size-cells = <1>;
  38. device_type = "soc";
  39. ranges = <00000000 ffe00000 00100000>;
  40. reg = <ffe00000 00001000>; // CCSRBAR & soc regs, remove once parse code for immrbase fixed
  41. bus-frequency = <0>; // Filled out by uboot.
  42. memory-controller@2000 {
  43. compatible = "fsl,mpc8572-memory-controller";
  44. reg = <2000 1000>;
  45. interrupt-parent = <&mpic>;
  46. interrupts = <12 2>;
  47. };
  48. memory-controller@6000 {
  49. compatible = "fsl,mpc8572-memory-controller";
  50. reg = <6000 1000>;
  51. interrupt-parent = <&mpic>;
  52. interrupts = <12 2>;
  53. };
  54. l2-cache-controller@20000 {
  55. compatible = "fsl,mpc8572-l2-cache-controller";
  56. reg = <20000 1000>;
  57. cache-line-size = <20>; // 32 bytes
  58. cache-size = <80000>; // L2, 512K
  59. interrupt-parent = <&mpic>;
  60. interrupts = <10 2>;
  61. };
  62. i2c@3000 {
  63. device_type = "i2c";
  64. compatible = "fsl-i2c";
  65. reg = <3000 100>;
  66. interrupts = <2b 2>;
  67. interrupt-parent = <&mpic>;
  68. dfsrr;
  69. };
  70. i2c@3100 {
  71. device_type = "i2c";
  72. compatible = "fsl-i2c";
  73. reg = <3100 100>;
  74. interrupts = <2b 2>;
  75. interrupt-parent = <&mpic>;
  76. dfsrr;
  77. };
  78. mdio@24520 {
  79. #address-cells = <1>;
  80. #size-cells = <0>;
  81. device_type = "mdio";
  82. compatible = "gianfar";
  83. reg = <24520 20>;
  84. phy0: ethernet-phy@0 {
  85. interrupt-parent = <&mpic>;
  86. interrupts = <a 1>;
  87. reg = <0>;
  88. };
  89. phy1: ethernet-phy@1 {
  90. interrupt-parent = <&mpic>;
  91. interrupts = <a 1>;
  92. reg = <1>;
  93. };
  94. phy2: ethernet-phy@2 {
  95. interrupt-parent = <&mpic>;
  96. interrupts = <a 1>;
  97. reg = <2>;
  98. };
  99. phy3: ethernet-phy@3 {
  100. interrupt-parent = <&mpic>;
  101. interrupts = <a 1>;
  102. reg = <3>;
  103. };
  104. };
  105. ethernet@24000 {
  106. #address-cells = <1>;
  107. #size-cells = <0>;
  108. device_type = "network";
  109. model = "eTSEC";
  110. compatible = "gianfar";
  111. reg = <24000 1000>;
  112. local-mac-address = [ 00 00 00 00 00 00 ];
  113. interrupts = <1d 2 1e 2 22 2>;
  114. interrupt-parent = <&mpic>;
  115. phy-handle = <&phy0>;
  116. phy-connection-type = "rgmii-id";
  117. };
  118. ethernet@25000 {
  119. #address-cells = <1>;
  120. #size-cells = <0>;
  121. device_type = "network";
  122. model = "eTSEC";
  123. compatible = "gianfar";
  124. reg = <25000 1000>;
  125. local-mac-address = [ 00 00 00 00 00 00 ];
  126. interrupts = <23 2 24 2 28 2>;
  127. interrupt-parent = <&mpic>;
  128. phy-handle = <&phy1>;
  129. phy-connection-type = "rgmii-id";
  130. };
  131. ethernet@26000 {
  132. #address-cells = <1>;
  133. #size-cells = <0>;
  134. device_type = "network";
  135. model = "eTSEC";
  136. compatible = "gianfar";
  137. reg = <26000 1000>;
  138. local-mac-address = [ 00 00 00 00 00 00 ];
  139. interrupts = <1f 2 20 2 21 2>;
  140. interrupt-parent = <&mpic>;
  141. phy-handle = <&phy2>;
  142. phy-connection-type = "rgmii-id";
  143. };
  144. ethernet@27000 {
  145. #address-cells = <1>;
  146. #size-cells = <0>;
  147. device_type = "network";
  148. model = "eTSEC";
  149. compatible = "gianfar";
  150. reg = <27000 1000>;
  151. local-mac-address = [ 00 00 00 00 00 00 ];
  152. interrupts = <25 2 26 2 27 2>;
  153. interrupt-parent = <&mpic>;
  154. phy-handle = <&phy3>;
  155. phy-connection-type = "rgmii-id";
  156. };
  157. serial@4500 {
  158. device_type = "serial";
  159. compatible = "ns16550";
  160. reg = <4500 100>;
  161. clock-frequency = <0>;
  162. interrupts = <2a 2>;
  163. interrupt-parent = <&mpic>;
  164. };
  165. serial@4600 {
  166. device_type = "serial";
  167. compatible = "ns16550";
  168. reg = <4600 100>;
  169. clock-frequency = <0>;
  170. interrupts = <2a 2>;
  171. interrupt-parent = <&mpic>;
  172. };
  173. global-utilities@e0000 { //global utilities block
  174. compatible = "fsl,mpc8572-guts";
  175. reg = <e0000 1000>;
  176. fsl,has-rstcr;
  177. };
  178. mpic: pic@40000 {
  179. clock-frequency = <0>;
  180. interrupt-controller;
  181. #address-cells = <0>;
  182. #interrupt-cells = <2>;
  183. reg = <40000 40000>;
  184. compatible = "chrp,open-pic";
  185. device_type = "open-pic";
  186. big-endian;
  187. };
  188. };
  189. pcie@ffe08000 {
  190. compatible = "fsl,mpc8548-pcie";
  191. device_type = "pci";
  192. #interrupt-cells = <1>;
  193. #size-cells = <2>;
  194. #address-cells = <3>;
  195. reg = <ffe08000 1000>;
  196. bus-range = <0 ff>;
  197. ranges = <02000000 0 80000000 80000000 0 20000000
  198. 01000000 0 00000000 ffc00000 0 00010000>;
  199. clock-frequency = <1fca055>;
  200. interrupt-parent = <&mpic>;
  201. interrupts = <18 2>;
  202. interrupt-map-mask = <fb00 0 0 0>;
  203. interrupt-map = <
  204. /* IDSEL 0x11 - PCI slot 1 */
  205. 8800 0 0 1 &mpic 2 1
  206. 8800 0 0 2 &mpic 3 1
  207. 8800 0 0 3 &mpic 4 1
  208. 8800 0 0 4 &mpic 1 1
  209. /* IDSEL 0x12 - PCI slot 2 */
  210. 9000 0 0 1 &mpic 3 1
  211. 9000 0 0 2 &mpic 4 1
  212. 9000 0 0 3 &mpic 1 1
  213. 9000 0 0 4 &mpic 2 1
  214. // IDSEL 0x1c USB
  215. e000 0 0 0 &i8259 c 2
  216. e100 0 0 0 &i8259 9 2
  217. e200 0 0 0 &i8259 a 2
  218. e300 0 0 0 &i8259 b 2
  219. // IDSEL 0x1d Audio
  220. e800 0 0 0 &i8259 6 2
  221. // IDSEL 0x1e Legacy
  222. f000 0 0 0 &i8259 7 2
  223. f100 0 0 0 &i8259 7 2
  224. // IDSEL 0x1f IDE/SATA
  225. f800 0 0 0 &i8259 e 2
  226. f900 0 0 0 &i8259 5 2
  227. >;
  228. pcie@0 {
  229. reg = <0 0 0 0 0>;
  230. #size-cells = <2>;
  231. #address-cells = <3>;
  232. device_type = "pci";
  233. ranges = <02000000 0 80000000
  234. 02000000 0 80000000
  235. 0 20000000
  236. 01000000 0 00000000
  237. 01000000 0 00000000
  238. 0 00100000>;
  239. uli1575@0 {
  240. reg = <0 0 0 0 0>;
  241. #size-cells = <2>;
  242. #address-cells = <3>;
  243. ranges = <02000000 0 80000000
  244. 02000000 0 80000000
  245. 0 20000000
  246. 01000000 0 00000000
  247. 01000000 0 00000000
  248. 0 00100000>;
  249. isa@1e {
  250. device_type = "isa";
  251. #interrupt-cells = <2>;
  252. #size-cells = <1>;
  253. #address-cells = <2>;
  254. reg = <f000 0 0 0 0>;
  255. ranges = <1 0 01000000 0 0
  256. 00001000>;
  257. interrupt-parent = <&i8259>;
  258. i8259: interrupt-controller@20 {
  259. reg = <1 20 2
  260. 1 a0 2
  261. 1 4d0 2>;
  262. interrupt-controller;
  263. device_type = "interrupt-controller";
  264. #address-cells = <0>;
  265. #interrupt-cells = <2>;
  266. compatible = "chrp,iic";
  267. interrupts = <9 2>;
  268. interrupt-parent = <&mpic>;
  269. };
  270. i8042@60 {
  271. #size-cells = <0>;
  272. #address-cells = <1>;
  273. reg = <1 60 1 1 64 1>;
  274. interrupts = <1 3 c 3>;
  275. interrupt-parent =
  276. <&i8259>;
  277. keyboard@0 {
  278. reg = <0>;
  279. compatible = "pnpPNP,303";
  280. };
  281. mouse@1 {
  282. reg = <1>;
  283. compatible = "pnpPNP,f03";
  284. };
  285. };
  286. rtc@70 {
  287. compatible = "pnpPNP,b00";
  288. reg = <1 70 2>;
  289. };
  290. gpio@400 {
  291. reg = <1 400 80>;
  292. };
  293. };
  294. };
  295. };
  296. };
  297. pcie@ffe09000 {
  298. compatible = "fsl,mpc8548-pcie";
  299. device_type = "pci";
  300. #interrupt-cells = <1>;
  301. #size-cells = <2>;
  302. #address-cells = <3>;
  303. reg = <ffe09000 1000>;
  304. bus-range = <0 ff>;
  305. ranges = <02000000 0 a0000000 a0000000 0 20000000
  306. 01000000 0 00000000 ffc10000 0 00010000>;
  307. clock-frequency = <1fca055>;
  308. interrupt-parent = <&mpic>;
  309. interrupts = <1a 2>;
  310. interrupt-map-mask = <f800 0 0 7>;
  311. interrupt-map = <
  312. /* IDSEL 0x0 */
  313. 0000 0 0 1 &mpic 4 1
  314. 0000 0 0 2 &mpic 5 1
  315. 0000 0 0 3 &mpic 6 1
  316. 0000 0 0 4 &mpic 7 1
  317. >;
  318. pcie@0 {
  319. reg = <0 0 0 0 0>;
  320. #size-cells = <2>;
  321. #address-cells = <3>;
  322. device_type = "pci";
  323. ranges = <02000000 0 a0000000
  324. 02000000 0 a0000000
  325. 0 20000000
  326. 01000000 0 00000000
  327. 01000000 0 00000000
  328. 0 00100000>;
  329. };
  330. };
  331. pcie@ffe0a000 {
  332. compatible = "fsl,mpc8548-pcie";
  333. device_type = "pci";
  334. #interrupt-cells = <1>;
  335. #size-cells = <2>;
  336. #address-cells = <3>;
  337. reg = <ffe0a000 1000>;
  338. bus-range = <0 ff>;
  339. ranges = <02000000 0 c0000000 c0000000 0 20000000
  340. 01000000 0 00000000 ffc20000 0 00010000>;
  341. clock-frequency = <1fca055>;
  342. interrupt-parent = <&mpic>;
  343. interrupts = <1b 2>;
  344. interrupt-map = <
  345. /* IDSEL 0x0 */
  346. 0000 0 0 1 &mpic 0 1
  347. 0000 0 0 2 &mpic 1 1
  348. 0000 0 0 3 &mpic 2 1
  349. 0000 0 0 4 &mpic 3 1
  350. >;
  351. pcie@0 {
  352. reg = <0 0 0 0 0>;
  353. #size-cells = <2>;
  354. #address-cells = <3>;
  355. device_type = "pci";
  356. ranges = <02000000 0 c0000000
  357. 02000000 0 c0000000
  358. 0 20000000
  359. 01000000 0 00000000
  360. 01000000 0 00000000
  361. 0 00100000>;
  362. };
  363. };
  364. };