mpc8544ds.dts 7.8 KB

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