mpc8541cds.dts 6.2 KB

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