mpc8568si-post.dtsi 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. /*
  2. * MPC8568 Silicon/SoC Device Tree Source (post include)
  3. *
  4. * Copyright 2011 Freescale Semiconductor Inc.
  5. *
  6. * Redistribution and use in source and binary forms, with or without
  7. * modification, are permitted provided that the following conditions are met:
  8. * * Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. * * Redistributions in binary form must reproduce the above copyright
  11. * notice, this list of conditions and the following disclaimer in the
  12. * documentation and/or other materials provided with the distribution.
  13. * * Neither the name of Freescale Semiconductor nor the
  14. * names of its contributors may be used to endorse or promote products
  15. * derived from this software without specific prior written permission.
  16. *
  17. *
  18. * ALTERNATIVELY, this software may be distributed under the terms of the
  19. * GNU General Public License ("GPL") as published by the Free Software
  20. * Foundation, either version 2 of that License or (at your option) any
  21. * later version.
  22. *
  23. * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
  24. * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  25. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  26. * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
  27. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  28. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  29. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  30. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  31. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  32. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  33. */
  34. &lbc {
  35. #address-cells = <2>;
  36. #size-cells = <1>;
  37. compatible = "fsl,mpc8568-localbus", "fsl,pq3-localbus", "simple-bus";
  38. interrupts = <19 2 0 0>;
  39. sleep = <&pmc 0x08000000>;
  40. };
  41. /* controller at 0x8000 */
  42. &pci0 {
  43. compatible = "fsl,mpc8540-pci";
  44. device_type = "pci";
  45. interrupts = <24 0x2 0 0>;
  46. bus-range = <0 0xff>;
  47. #interrupt-cells = <1>;
  48. #size-cells = <2>;
  49. #address-cells = <3>;
  50. sleep = <&pmc 0x80000000>;
  51. };
  52. /* controller at 0xa000 */
  53. &pci1 {
  54. compatible = "fsl,mpc8548-pcie";
  55. device_type = "pci";
  56. #size-cells = <2>;
  57. #address-cells = <3>;
  58. bus-range = <0 255>;
  59. clock-frequency = <33333333>;
  60. interrupts = <26 2 0 0>;
  61. sleep = <&pmc 0x20000000>;
  62. pcie@0 {
  63. reg = <0 0 0 0 0>;
  64. #interrupt-cells = <1>;
  65. #size-cells = <2>;
  66. #address-cells = <3>;
  67. device_type = "pci";
  68. interrupts = <26 2 0 0>;
  69. interrupt-map-mask = <0xf800 0 0 7>;
  70. interrupt-map = <
  71. /* IDSEL 0x0 */
  72. 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
  73. 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
  74. 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
  75. 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
  76. >;
  77. };
  78. };
  79. &rio {
  80. compatible = "fsl,srio";
  81. interrupts = <48 2 0 0>;
  82. #address-cells = <2>;
  83. #size-cells = <2>;
  84. fsl,srio-rmu-handle = <&rmu>;
  85. sleep = <&pmc 0x00080000>;
  86. ranges;
  87. port1 {
  88. #address-cells = <2>;
  89. #size-cells = <2>;
  90. cell-index = <1>;
  91. };
  92. };
  93. &soc {
  94. #address-cells = <1>;
  95. #size-cells = <1>;
  96. device_type = "soc";
  97. compatible = "fsl,mpc8568-immr", "simple-bus";
  98. bus-frequency = <0>; // Filled out by uboot.
  99. ecm-law@0 {
  100. compatible = "fsl,ecm-law";
  101. reg = <0x0 0x1000>;
  102. fsl,num-laws = <10>;
  103. };
  104. ecm@1000 {
  105. compatible = "fsl,mpc8568-ecm", "fsl,ecm";
  106. reg = <0x1000 0x1000>;
  107. interrupts = <17 2 0 0>;
  108. };
  109. memory-controller@2000 {
  110. compatible = "fsl,mpc8568-memory-controller";
  111. reg = <0x2000 0x1000>;
  112. interrupts = <18 2 0 0>;
  113. };
  114. i2c-sleep-nexus {
  115. #address-cells = <1>;
  116. #size-cells = <1>;
  117. compatible = "simple-bus";
  118. sleep = <&pmc 0x00000004>;
  119. ranges;
  120. /include/ "pq3-i2c-0.dtsi"
  121. /include/ "pq3-i2c-1.dtsi"
  122. };
  123. duart-sleep-nexus {
  124. #address-cells = <1>;
  125. #size-cells = <1>;
  126. compatible = "simple-bus";
  127. sleep = <&pmc 0x00000002>;
  128. ranges;
  129. /include/ "pq3-duart-0.dtsi"
  130. };
  131. L2: l2-cache-controller@20000 {
  132. compatible = "fsl,mpc8568-l2-cache-controller";
  133. reg = <0x20000 0x1000>;
  134. cache-line-size = <32>; // 32 bytes
  135. cache-size = <0x80000>; // L2, 512K
  136. interrupts = <16 2 0 0>;
  137. };
  138. /include/ "pq3-dma-0.dtsi"
  139. dma@21300 {
  140. sleep = <&pmc 0x00000400>;
  141. };
  142. /include/ "pq3-etsec1-0.dtsi"
  143. ethernet@24000 {
  144. sleep = <&pmc 0x00000080>;
  145. };
  146. /include/ "pq3-etsec1-1.dtsi"
  147. ethernet@25000 {
  148. sleep = <&pmc 0x00000040>;
  149. };
  150. par_io@e0100 {
  151. reg = <0xe0100 0x100>;
  152. device_type = "par_io";
  153. };
  154. /include/ "pq3-sec2.1-0.dtsi"
  155. crypto@30000 {
  156. sleep = <&pmc 0x01000000>;
  157. };
  158. /include/ "pq3-mpic.dtsi"
  159. /include/ "pq3-rmu-0.dtsi"
  160. rmu@d3000 {
  161. sleep = <&pmc 0x00040000>;
  162. };
  163. global-utilities@e0000 {
  164. #address-cells = <1>;
  165. #size-cells = <1>;
  166. compatible = "fsl,mpc8568-guts", "fsl,mpc8548-guts";
  167. reg = <0xe0000 0x1000>;
  168. ranges = <0 0xe0000 0x1000>;
  169. fsl,has-rstcr;
  170. pmc: power@70 {
  171. compatible = "fsl,mpc8568-pmc",
  172. "fsl,mpc8548-pmc";
  173. reg = <0x70 0x20>;
  174. };
  175. };
  176. };
  177. &qe {
  178. #address-cells = <1>;
  179. #size-cells = <1>;
  180. device_type = "qe";
  181. compatible = "fsl,qe";
  182. sleep = <&pmc 0x00000800>;
  183. brg-frequency = <0>;
  184. bus-frequency = <396000000>;
  185. fsl,qe-num-riscs = <2>;
  186. fsl,qe-num-snums = <28>;
  187. qeic: interrupt-controller@80 {
  188. interrupt-controller;
  189. compatible = "fsl,qe-ic";
  190. #address-cells = <0>;
  191. #interrupt-cells = <1>;
  192. reg = <0x80 0x80>;
  193. interrupts = <46 2 0 0 46 2 0 0>; //high:30 low:30
  194. interrupt-parent = <&mpic>;
  195. };
  196. spi@4c0 {
  197. #address-cells = <1>;
  198. #size-cells = <0>;
  199. compatible = "fsl,spi";
  200. reg = <0x4c0 0x40>;
  201. cell-index = <0>;
  202. interrupts = <2>;
  203. interrupt-parent = <&qeic>;
  204. };
  205. spi@500 {
  206. #address-cells = <1>;
  207. #size-cells = <0>;
  208. cell-index = <1>;
  209. compatible = "fsl,spi";
  210. reg = <0x500 0x40>;
  211. interrupts = <1>;
  212. interrupt-parent = <&qeic>;
  213. };
  214. ucc@2000 {
  215. cell-index = <1>;
  216. reg = <0x2000 0x200>;
  217. interrupts = <32>;
  218. interrupt-parent = <&qeic>;
  219. };
  220. ucc@3000 {
  221. cell-index = <2>;
  222. reg = <0x3000 0x200>;
  223. interrupts = <33>;
  224. interrupt-parent = <&qeic>;
  225. };
  226. muram@10000 {
  227. #address-cells = <1>;
  228. #size-cells = <1>;
  229. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  230. ranges = <0x0 0x10000 0x10000>;
  231. data-only@0 {
  232. compatible = "fsl,qe-muram-data",
  233. "fsl,cpm-muram-data";
  234. reg = <0x0 0x10000>;
  235. };
  236. };
  237. };