mpc8541cds.dts 6.9 KB

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