mpc8555cds.dts 6.4 KB

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