mpc8548cds.dts 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. /*
  2. * MPC8555 CDS Device Tree Source
  3. *
  4. * Copyright 2006 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 = "MPC8548CDS";
  13. compatible = "MPC8548CDS", "MPC85xxCDS";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. cpus {
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. PowerPC,8548@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>; // 33 MHz, from uboot
  27. bus-frequency = <0>; // 166 MHz
  28. clock-frequency = <0>; // 825 MHz, from uboot
  29. 32-bit;
  30. };
  31. };
  32. memory {
  33. device_type = "memory";
  34. reg = <00000000 08000000>; // 128M at 0x0
  35. };
  36. soc8548@e0000000 {
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. #interrupt-cells = <2>;
  40. device_type = "soc";
  41. ranges = <0 e0000000 00100000>;
  42. reg = <e0000000 00100000>; // CCSRBAR 1M
  43. bus-frequency = <0>;
  44. memory-controller@2000 {
  45. compatible = "fsl,8548-memory-controller";
  46. reg = <2000 1000>;
  47. interrupt-parent = <&mpic>;
  48. interrupts = <12 2>;
  49. };
  50. l2-cache-controller@20000 {
  51. compatible = "fsl,8548-l2-cache-controller";
  52. reg = <20000 1000>;
  53. cache-line-size = <20>; // 32 bytes
  54. cache-size = <80000>; // L2, 512K
  55. interrupt-parent = <&mpic>;
  56. interrupts = <10 2>;
  57. };
  58. i2c@3000 {
  59. device_type = "i2c";
  60. compatible = "fsl-i2c";
  61. reg = <3000 100>;
  62. interrupts = <2b 2>;
  63. interrupt-parent = <&mpic>;
  64. dfsrr;
  65. };
  66. mdio@24520 {
  67. #address-cells = <1>;
  68. #size-cells = <0>;
  69. device_type = "mdio";
  70. compatible = "gianfar";
  71. reg = <24520 20>;
  72. phy0: ethernet-phy@0 {
  73. interrupt-parent = <&mpic>;
  74. interrupts = <5 1>;
  75. reg = <0>;
  76. device_type = "ethernet-phy";
  77. };
  78. phy1: ethernet-phy@1 {
  79. interrupt-parent = <&mpic>;
  80. interrupts = <5 1>;
  81. reg = <1>;
  82. device_type = "ethernet-phy";
  83. };
  84. phy2: ethernet-phy@2 {
  85. interrupt-parent = <&mpic>;
  86. interrupts = <5 1>;
  87. reg = <2>;
  88. device_type = "ethernet-phy";
  89. };
  90. phy3: ethernet-phy@3 {
  91. interrupt-parent = <&mpic>;
  92. interrupts = <5 1>;
  93. reg = <3>;
  94. device_type = "ethernet-phy";
  95. };
  96. };
  97. ethernet@24000 {
  98. #address-cells = <1>;
  99. #size-cells = <0>;
  100. device_type = "network";
  101. model = "eTSEC";
  102. compatible = "gianfar";
  103. reg = <24000 1000>;
  104. local-mac-address = [ 00 00 00 00 00 00 ];
  105. interrupts = <1d 2 1e 2 22 2>;
  106. interrupt-parent = <&mpic>;
  107. phy-handle = <&phy0>;
  108. };
  109. ethernet@25000 {
  110. #address-cells = <1>;
  111. #size-cells = <0>;
  112. device_type = "network";
  113. model = "eTSEC";
  114. compatible = "gianfar";
  115. reg = <25000 1000>;
  116. local-mac-address = [ 00 00 00 00 00 00 ];
  117. interrupts = <23 2 24 2 28 2>;
  118. interrupt-parent = <&mpic>;
  119. phy-handle = <&phy1>;
  120. };
  121. /* eTSEC 3/4 are currently broken
  122. ethernet@26000 {
  123. #address-cells = <1>;
  124. #size-cells = <0>;
  125. device_type = "network";
  126. model = "eTSEC";
  127. compatible = "gianfar";
  128. reg = <26000 1000>;
  129. local-mac-address = [ 00 00 00 00 00 00 ];
  130. interrupts = <1f 2 20 2 21 2>;
  131. interrupt-parent = <&mpic>;
  132. phy-handle = <&phy2>;
  133. };
  134. ethernet@27000 {
  135. #address-cells = <1>;
  136. #size-cells = <0>;
  137. device_type = "network";
  138. model = "eTSEC";
  139. compatible = "gianfar";
  140. reg = <27000 1000>;
  141. local-mac-address = [ 00 00 00 00 00 00 ];
  142. interrupts = <25 2 26 2 27 2>;
  143. interrupt-parent = <&mpic>;
  144. phy-handle = <&phy3>;
  145. };
  146. */
  147. serial@4500 {
  148. device_type = "serial";
  149. compatible = "ns16550";
  150. reg = <4500 100>; // reg base, size
  151. clock-frequency = <0>; // should we fill in in uboot?
  152. interrupts = <2a 2>;
  153. interrupt-parent = <&mpic>;
  154. };
  155. serial@4600 {
  156. device_type = "serial";
  157. compatible = "ns16550";
  158. reg = <4600 100>; // reg base, size
  159. clock-frequency = <0>; // should we fill in in uboot?
  160. interrupts = <2a 2>;
  161. interrupt-parent = <&mpic>;
  162. };
  163. global-utilities@e0000 { //global utilities reg
  164. compatible = "fsl,mpc8548-guts";
  165. reg = <e0000 1000>;
  166. fsl,has-rstcr;
  167. };
  168. pci1: pci@8000 {
  169. interrupt-map-mask = <1f800 0 0 7>;
  170. interrupt-map = <
  171. /* IDSEL 0x10 */
  172. 08000 0 0 1 &mpic 0 1
  173. 08000 0 0 2 &mpic 1 1
  174. 08000 0 0 3 &mpic 2 1
  175. 08000 0 0 4 &mpic 3 1
  176. /* IDSEL 0x11 */
  177. 08800 0 0 1 &mpic 0 1
  178. 08800 0 0 2 &mpic 1 1
  179. 08800 0 0 3 &mpic 2 1
  180. 08800 0 0 4 &mpic 3 1
  181. /* IDSEL 0x12 (Slot 1) */
  182. 09000 0 0 1 &mpic 0 1
  183. 09000 0 0 2 &mpic 1 1
  184. 09000 0 0 3 &mpic 2 1
  185. 09000 0 0 4 &mpic 3 1
  186. /* IDSEL 0x13 (Slot 2) */
  187. 09800 0 0 1 &mpic 1 1
  188. 09800 0 0 2 &mpic 2 1
  189. 09800 0 0 3 &mpic 3 1
  190. 09800 0 0 4 &mpic 0 1
  191. /* IDSEL 0x14 (Slot 3) */
  192. 0a000 0 0 1 &mpic 2 1
  193. 0a000 0 0 2 &mpic 3 1
  194. 0a000 0 0 3 &mpic 0 1
  195. 0a000 0 0 4 &mpic 1 1
  196. /* IDSEL 0x15 (Slot 4) */
  197. 0a800 0 0 1 &mpic 3 1
  198. 0a800 0 0 2 &mpic 0 1
  199. 0a800 0 0 3 &mpic 1 1
  200. 0a800 0 0 4 &mpic 2 1
  201. /* Bus 1 (Tundra Bridge) */
  202. /* IDSEL 0x12 (ISA bridge) */
  203. 19000 0 0 1 &mpic 0 1
  204. 19000 0 0 2 &mpic 1 1
  205. 19000 0 0 3 &mpic 2 1
  206. 19000 0 0 4 &mpic 3 1>;
  207. interrupt-parent = <&mpic>;
  208. interrupts = <18 2>;
  209. bus-range = <0 0>;
  210. ranges = <02000000 0 80000000 80000000 0 20000000
  211. 01000000 0 00000000 e2000000 0 00100000>;
  212. clock-frequency = <3f940aa>;
  213. #interrupt-cells = <1>;
  214. #size-cells = <2>;
  215. #address-cells = <3>;
  216. reg = <8000 1000>;
  217. compatible = "85xx";
  218. device_type = "pci";
  219. i8259@19000 {
  220. clock-frequency = <0>;
  221. interrupt-controller;
  222. device_type = "interrupt-controller";
  223. reg = <19000 0 0 0 1>;
  224. #address-cells = <0>;
  225. #interrupt-cells = <2>;
  226. built-in;
  227. compatible = "chrp,iic";
  228. big-endian;
  229. interrupts = <1>;
  230. interrupt-parent = <&pci1>;
  231. };
  232. };
  233. pci@9000 {
  234. interrupt-map-mask = <f800 0 0 7>;
  235. interrupt-map = <
  236. /* IDSEL 0x15 */
  237. a800 0 0 1 &mpic b 1
  238. a800 0 0 2 &mpic b 1
  239. a800 0 0 3 &mpic b 1
  240. a800 0 0 4 &mpic b 1>;
  241. interrupt-parent = <&mpic>;
  242. interrupts = <19 2>;
  243. bus-range = <0 0>;
  244. ranges = <02000000 0 a0000000 a0000000 0 20000000
  245. 01000000 0 00000000 e3000000 0 00100000>;
  246. clock-frequency = <3f940aa>;
  247. #interrupt-cells = <1>;
  248. #size-cells = <2>;
  249. #address-cells = <3>;
  250. reg = <9000 1000>;
  251. compatible = "85xx";
  252. device_type = "pci";
  253. };
  254. mpic: pic@40000 {
  255. clock-frequency = <0>;
  256. interrupt-controller;
  257. #address-cells = <0>;
  258. #interrupt-cells = <2>;
  259. reg = <40000 40000>;
  260. built-in;
  261. compatible = "chrp,open-pic";
  262. device_type = "open-pic";
  263. big-endian;
  264. };
  265. };
  266. };