mpc8541cds.dts 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  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. 32-bit;
  30. };
  31. };
  32. memory {
  33. device_type = "memory";
  34. reg = <00000000 08000000>; // 128M at 0x0
  35. };
  36. soc8541@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,8541-memory-controller";
  46. reg = <2000 1000>;
  47. interrupt-parent = <&mpic>;
  48. interrupts = <12 2>;
  49. };
  50. l2-cache-controller@20000 {
  51. compatible = "fsl,8541-l2-cache-controller";
  52. reg = <20000 1000>;
  53. cache-line-size = <20>; // 32 bytes
  54. cache-size = <40000>; // L2, 256K
  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. };
  85. ethernet@24000 {
  86. #address-cells = <1>;
  87. #size-cells = <0>;
  88. device_type = "network";
  89. model = "TSEC";
  90. compatible = "gianfar";
  91. reg = <24000 1000>;
  92. local-mac-address = [ 00 00 00 00 00 00 ];
  93. interrupts = <1d 2 1e 2 22 2>;
  94. interrupt-parent = <&mpic>;
  95. phy-handle = <&phy0>;
  96. };
  97. ethernet@25000 {
  98. #address-cells = <1>;
  99. #size-cells = <0>;
  100. device_type = "network";
  101. model = "TSEC";
  102. compatible = "gianfar";
  103. reg = <25000 1000>;
  104. local-mac-address = [ 00 00 00 00 00 00 ];
  105. interrupts = <23 2 24 2 28 2>;
  106. interrupt-parent = <&mpic>;
  107. phy-handle = <&phy1>;
  108. };
  109. serial@4500 {
  110. device_type = "serial";
  111. compatible = "ns16550";
  112. reg = <4500 100>; // reg base, size
  113. clock-frequency = <0>; // should we fill in in uboot?
  114. interrupts = <2a 2>;
  115. interrupt-parent = <&mpic>;
  116. };
  117. serial@4600 {
  118. device_type = "serial";
  119. compatible = "ns16550";
  120. reg = <4600 100>; // reg base, size
  121. clock-frequency = <0>; // should we fill in in uboot?
  122. interrupts = <2a 2>;
  123. interrupt-parent = <&mpic>;
  124. };
  125. pci1: pci@8000 {
  126. interrupt-map-mask = <1f800 0 0 7>;
  127. interrupt-map = <
  128. /* IDSEL 0x10 */
  129. 08000 0 0 1 &mpic 0 1
  130. 08000 0 0 2 &mpic 1 1
  131. 08000 0 0 3 &mpic 2 1
  132. 08000 0 0 4 &mpic 3 1
  133. /* IDSEL 0x11 */
  134. 08800 0 0 1 &mpic 0 1
  135. 08800 0 0 2 &mpic 1 1
  136. 08800 0 0 3 &mpic 2 1
  137. 08800 0 0 4 &mpic 3 1
  138. /* IDSEL 0x12 (Slot 1) */
  139. 09000 0 0 1 &mpic 0 1
  140. 09000 0 0 2 &mpic 1 1
  141. 09000 0 0 3 &mpic 2 1
  142. 09000 0 0 4 &mpic 3 1
  143. /* IDSEL 0x13 (Slot 2) */
  144. 09800 0 0 1 &mpic 1 1
  145. 09800 0 0 2 &mpic 2 1
  146. 09800 0 0 3 &mpic 3 1
  147. 09800 0 0 4 &mpic 0 1
  148. /* IDSEL 0x14 (Slot 3) */
  149. 0a000 0 0 1 &mpic 2 1
  150. 0a000 0 0 2 &mpic 3 1
  151. 0a000 0 0 3 &mpic 0 1
  152. 0a000 0 0 4 &mpic 1 1
  153. /* IDSEL 0x15 (Slot 4) */
  154. 0a800 0 0 1 &mpic 3 1
  155. 0a800 0 0 2 &mpic 0 1
  156. 0a800 0 0 3 &mpic 1 1
  157. 0a800 0 0 4 &mpic 2 1
  158. /* Bus 1 (Tundra Bridge) */
  159. /* IDSEL 0x12 (ISA bridge) */
  160. 19000 0 0 1 &mpic 0 1
  161. 19000 0 0 2 &mpic 1 1
  162. 19000 0 0 3 &mpic 2 1
  163. 19000 0 0 4 &mpic 3 1>;
  164. interrupt-parent = <&mpic>;
  165. interrupts = <18 2>;
  166. bus-range = <0 0>;
  167. ranges = <02000000 0 80000000 80000000 0 20000000
  168. 01000000 0 00000000 e2000000 0 00100000>;
  169. clock-frequency = <3f940aa>;
  170. #interrupt-cells = <1>;
  171. #size-cells = <2>;
  172. #address-cells = <3>;
  173. reg = <8000 1000>;
  174. compatible = "85xx";
  175. device_type = "pci";
  176. i8259@19000 {
  177. clock-frequency = <0>;
  178. interrupt-controller;
  179. device_type = "interrupt-controller";
  180. reg = <19000 0 0 0 1>;
  181. #address-cells = <0>;
  182. #interrupt-cells = <2>;
  183. built-in;
  184. compatible = "chrp,iic";
  185. big-endian;
  186. interrupts = <1>;
  187. interrupt-parent = <&pci1>;
  188. };
  189. };
  190. pci@9000 {
  191. interrupt-map-mask = <f800 0 0 7>;
  192. interrupt-map = <
  193. /* IDSEL 0x15 */
  194. a800 0 0 1 &mpic b 1
  195. a800 0 0 2 &mpic b 1
  196. a800 0 0 3 &mpic b 1
  197. a800 0 0 4 &mpic b 1>;
  198. interrupt-parent = <&mpic>;
  199. interrupts = <19 2>;
  200. bus-range = <0 0>;
  201. ranges = <02000000 0 a0000000 a0000000 0 20000000
  202. 01000000 0 00000000 e3000000 0 00100000>;
  203. clock-frequency = <3f940aa>;
  204. #interrupt-cells = <1>;
  205. #size-cells = <2>;
  206. #address-cells = <3>;
  207. reg = <9000 1000>;
  208. compatible = "85xx";
  209. device_type = "pci";
  210. };
  211. mpic: pic@40000 {
  212. clock-frequency = <0>;
  213. interrupt-controller;
  214. #address-cells = <0>;
  215. #interrupt-cells = <2>;
  216. reg = <40000 40000>;
  217. built-in;
  218. compatible = "chrp,open-pic";
  219. device_type = "open-pic";
  220. big-endian;
  221. };
  222. };
  223. };