mpc8541cds.dts 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  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 00100000>; // 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. device_type = "i2c";
  58. compatible = "fsl-i2c";
  59. reg = <3000 100>;
  60. interrupts = <2b 2>;
  61. interrupt-parent = <&mpic>;
  62. dfsrr;
  63. };
  64. mdio@24520 {
  65. #address-cells = <1>;
  66. #size-cells = <0>;
  67. device_type = "mdio";
  68. compatible = "gianfar";
  69. reg = <24520 20>;
  70. phy0: ethernet-phy@0 {
  71. interrupt-parent = <&mpic>;
  72. interrupts = <5 1>;
  73. reg = <0>;
  74. device_type = "ethernet-phy";
  75. };
  76. phy1: ethernet-phy@1 {
  77. interrupt-parent = <&mpic>;
  78. interrupts = <5 1>;
  79. reg = <1>;
  80. device_type = "ethernet-phy";
  81. };
  82. };
  83. ethernet@24000 {
  84. #address-cells = <1>;
  85. #size-cells = <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. ethernet@25000 {
  96. #address-cells = <1>;
  97. #size-cells = <0>;
  98. device_type = "network";
  99. model = "TSEC";
  100. compatible = "gianfar";
  101. reg = <25000 1000>;
  102. local-mac-address = [ 00 00 00 00 00 00 ];
  103. interrupts = <23 2 24 2 28 2>;
  104. interrupt-parent = <&mpic>;
  105. phy-handle = <&phy1>;
  106. };
  107. serial@4500 {
  108. device_type = "serial";
  109. compatible = "ns16550";
  110. reg = <4500 100>; // reg base, size
  111. clock-frequency = <0>; // should we fill in in uboot?
  112. interrupts = <2a 2>;
  113. interrupt-parent = <&mpic>;
  114. };
  115. serial@4600 {
  116. device_type = "serial";
  117. compatible = "ns16550";
  118. reg = <4600 100>; // reg base, size
  119. clock-frequency = <0>; // should we fill in in uboot?
  120. interrupts = <2a 2>;
  121. interrupt-parent = <&mpic>;
  122. };
  123. pci1: pci@8000 {
  124. interrupt-map-mask = <1f800 0 0 7>;
  125. interrupt-map = <
  126. /* IDSEL 0x10 */
  127. 08000 0 0 1 &mpic 0 1
  128. 08000 0 0 2 &mpic 1 1
  129. 08000 0 0 3 &mpic 2 1
  130. 08000 0 0 4 &mpic 3 1
  131. /* IDSEL 0x11 */
  132. 08800 0 0 1 &mpic 0 1
  133. 08800 0 0 2 &mpic 1 1
  134. 08800 0 0 3 &mpic 2 1
  135. 08800 0 0 4 &mpic 3 1
  136. /* IDSEL 0x12 (Slot 1) */
  137. 09000 0 0 1 &mpic 0 1
  138. 09000 0 0 2 &mpic 1 1
  139. 09000 0 0 3 &mpic 2 1
  140. 09000 0 0 4 &mpic 3 1
  141. /* IDSEL 0x13 (Slot 2) */
  142. 09800 0 0 1 &mpic 1 1
  143. 09800 0 0 2 &mpic 2 1
  144. 09800 0 0 3 &mpic 3 1
  145. 09800 0 0 4 &mpic 0 1
  146. /* IDSEL 0x14 (Slot 3) */
  147. 0a000 0 0 1 &mpic 2 1
  148. 0a000 0 0 2 &mpic 3 1
  149. 0a000 0 0 3 &mpic 0 1
  150. 0a000 0 0 4 &mpic 1 1
  151. /* IDSEL 0x15 (Slot 4) */
  152. 0a800 0 0 1 &mpic 3 1
  153. 0a800 0 0 2 &mpic 0 1
  154. 0a800 0 0 3 &mpic 1 1
  155. 0a800 0 0 4 &mpic 2 1
  156. /* Bus 1 (Tundra Bridge) */
  157. /* IDSEL 0x12 (ISA bridge) */
  158. 19000 0 0 1 &mpic 0 1
  159. 19000 0 0 2 &mpic 1 1
  160. 19000 0 0 3 &mpic 2 1
  161. 19000 0 0 4 &mpic 3 1>;
  162. interrupt-parent = <&mpic>;
  163. interrupts = <18 2>;
  164. bus-range = <0 0>;
  165. ranges = <02000000 0 80000000 80000000 0 20000000
  166. 01000000 0 00000000 e2000000 0 00100000>;
  167. clock-frequency = <3f940aa>;
  168. #interrupt-cells = <1>;
  169. #size-cells = <2>;
  170. #address-cells = <3>;
  171. reg = <8000 1000>;
  172. compatible = "fsl,mpc8540-pci";
  173. device_type = "pci";
  174. i8259@19000 {
  175. interrupt-controller;
  176. device_type = "interrupt-controller";
  177. reg = <19000 0 0 0 1>;
  178. #address-cells = <0>;
  179. #interrupt-cells = <2>;
  180. compatible = "chrp,iic";
  181. interrupts = <1>;
  182. interrupt-parent = <&pci1>;
  183. };
  184. };
  185. pci@9000 {
  186. interrupt-map-mask = <f800 0 0 7>;
  187. interrupt-map = <
  188. /* IDSEL 0x15 */
  189. a800 0 0 1 &mpic b 1
  190. a800 0 0 2 &mpic b 1
  191. a800 0 0 3 &mpic b 1
  192. a800 0 0 4 &mpic b 1>;
  193. interrupt-parent = <&mpic>;
  194. interrupts = <19 2>;
  195. bus-range = <0 0>;
  196. ranges = <02000000 0 a0000000 a0000000 0 20000000
  197. 01000000 0 00000000 e3000000 0 00100000>;
  198. clock-frequency = <3f940aa>;
  199. #interrupt-cells = <1>;
  200. #size-cells = <2>;
  201. #address-cells = <3>;
  202. reg = <9000 1000>;
  203. compatible = "fsl,mpc8540-pci";
  204. device_type = "pci";
  205. };
  206. mpic: pic@40000 {
  207. clock-frequency = <0>;
  208. interrupt-controller;
  209. #address-cells = <0>;
  210. #interrupt-cells = <2>;
  211. reg = <40000 40000>;
  212. compatible = "chrp,open-pic";
  213. device_type = "open-pic";
  214. big-endian;
  215. };
  216. };
  217. };