stx_gp3_8560.dts 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. /*
  2. * STX GP3 - 8560 ADS Device Tree Source
  3. *
  4. * Copyright 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 = "stx,gp3";
  14. compatible = "stx,gp3-8560", "stx,gp3";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. serial0 = &serial0;
  21. pci0 = &pci0;
  22. };
  23. cpus {
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. PowerPC,8560@0 {
  27. device_type = "cpu";
  28. reg = <0>;
  29. d-cache-line-size = <32>;
  30. i-cache-line-size = <32>;
  31. d-cache-size = <32768>;
  32. i-cache-size = <32768>;
  33. timebase-frequency = <0>;
  34. bus-frequency = <0>;
  35. clock-frequency = <0>;
  36. next-level-cache = <&L2>;
  37. };
  38. };
  39. memory {
  40. device_type = "memory";
  41. reg = <0x00000000 0x10000000>;
  42. };
  43. soc@fdf00000 {
  44. #address-cells = <1>;
  45. #size-cells = <1>;
  46. device_type = "soc";
  47. ranges = <0 0xfdf00000 0x100000>;
  48. reg = <0xfdf00000 0x1000>;
  49. bus-frequency = <0>;
  50. compatible = "fsl,mpc8560-immr", "simple-bus";
  51. memory-controller@2000 {
  52. compatible = "fsl,8540-memory-controller";
  53. reg = <0x2000 0x1000>;
  54. interrupt-parent = <&mpic>;
  55. interrupts = <18 2>;
  56. };
  57. L2: l2-cache-controller@20000 {
  58. compatible = "fsl,8540-l2-cache-controller";
  59. reg = <0x20000 0x1000>;
  60. cache-line-size = <32>;
  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. phy2: ethernet-phy@2 {
  81. interrupt-parent = <&mpic>;
  82. interrupts = <5 4>;
  83. reg = <2>;
  84. device_type = "ethernet-phy";
  85. };
  86. phy4: ethernet-phy@4 {
  87. interrupt-parent = <&mpic>;
  88. interrupts = <5 4>;
  89. reg = <4>;
  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 = <&phy2>;
  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 = <&phy4>;
  114. };
  115. mpic: pic@40000 {
  116. interrupt-controller;
  117. #address-cells = <0>;
  118. #interrupt-cells = <2>;
  119. reg = <0x40000 0x40000>;
  120. compatible = "chrp,open-pic";
  121. device_type = "open-pic";
  122. };
  123. cpm@919c0 {
  124. #address-cells = <1>;
  125. #size-cells = <1>;
  126. compatible = "fsl,mpc8560-cpm", "fsl,cpm2", "simple-bus";
  127. reg = <0x919c0 0x30>;
  128. ranges;
  129. muram@80000 {
  130. #address-cells = <1>;
  131. #size-cells = <1>;
  132. ranges = <0 0x80000 0x10000>;
  133. data@0 {
  134. compatible = "fsl,cpm-muram-data";
  135. reg = <0 0x4000 0x9000 0x2000>;
  136. };
  137. };
  138. brg@919f0 {
  139. compatible = "fsl,mpc8560-brg",
  140. "fsl,cpm2-brg",
  141. "fsl,cpm-brg";
  142. reg = <0x919f0 0x10 0x915f0 0x10>;
  143. clock-frequency = <0>;
  144. };
  145. cpmpic: pic@90c00 {
  146. interrupt-controller;
  147. #address-cells = <0>;
  148. #interrupt-cells = <2>;
  149. interrupts = <46 2>;
  150. interrupt-parent = <&mpic>;
  151. reg = <0x90c00 0x80>;
  152. compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
  153. };
  154. serial0: serial@91a20 {
  155. device_type = "serial";
  156. compatible = "fsl,mpc8560-scc-uart",
  157. "fsl,cpm2-scc-uart";
  158. reg = <0x91a20 0x20 0x88100 0x100>;
  159. fsl,cpm-brg = <2>;
  160. fsl,cpm-command = <0x4a00000>;
  161. interrupts = <41 8>;
  162. interrupt-parent = <&cpmpic>;
  163. };
  164. };
  165. };
  166. pci0: pci@fdf08000 {
  167. cell-index = <0>;
  168. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  169. interrupt-map = <
  170. /* IDSEL 0x0c */
  171. 0x6000 0 0 1 &mpic 1 1
  172. 0x6000 0 0 2 &mpic 2 1
  173. 0x6000 0 0 3 &mpic 3 1
  174. 0x6000 0 0 4 &mpic 4 1
  175. /* IDSEL 0x0d */
  176. 0x6800 0 0 1 &mpic 4 1
  177. 0x6800 0 0 2 &mpic 1 1
  178. 0x6800 0 0 3 &mpic 2 1
  179. 0x6800 0 0 4 &mpic 3 1
  180. /* IDSEL 0x0e */
  181. 0x7000 0 0 1 &mpic 3 1
  182. 0x7000 0 0 2 &mpic 4 1
  183. 0x7000 0 0 3 &mpic 1 1
  184. 0x7000 0 0 4 &mpic 2 1
  185. /* IDSEL 0x0f */
  186. 0x7800 0 0 1 &mpic 2 1
  187. 0x7800 0 0 2 &mpic 3 1
  188. 0x7800 0 0 3 &mpic 4 1
  189. 0x7800 0 0 4 &mpic 1 1>;
  190. interrupt-parent = <&mpic>;
  191. interrupts = <24 2>;
  192. bus-range = <0 0>;
  193. ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
  194. 0x01000000 0 0x00000000 0xe2000000 0 0x00100000>;
  195. clock-frequency = <66666666>;
  196. #interrupt-cells = <1>;
  197. #size-cells = <2>;
  198. #address-cells = <3>;
  199. reg = <0xfdf08000 0x1000>;
  200. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  201. device_type = "pci";
  202. };
  203. };