mpc8544ds.dts 8.2 KB

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