mpc8555cds.dts 6.9 KB

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