mpc8572si-post.dtsi 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. /*
  2. * MPC8572 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,mpc8572-elbc", "fsl,elbc", "simple-bus";
  38. interrupts = <19 2 0 0>;
  39. };
  40. /* controller at 0x8000 */
  41. &pci0 {
  42. compatible = "fsl,mpc8548-pcie";
  43. device_type = "pci";
  44. #size-cells = <2>;
  45. #address-cells = <3>;
  46. bus-range = <0 255>;
  47. clock-frequency = <33333333>;
  48. interrupts = <24 2 0 0>;
  49. pcie@0 {
  50. reg = <0 0 0 0 0>;
  51. #interrupt-cells = <1>;
  52. #size-cells = <2>;
  53. #address-cells = <3>;
  54. device_type = "pci";
  55. interrupts = <24 2 0 0>;
  56. interrupt-map-mask = <0xf800 0 0 7>;
  57. interrupt-map = <
  58. /* IDSEL 0x0 */
  59. 0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0
  60. 0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0
  61. 0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0
  62. 0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0
  63. >;
  64. };
  65. };
  66. /* controller at 0x9000 */
  67. &pci1 {
  68. compatible = "fsl,mpc8548-pcie";
  69. device_type = "pci";
  70. #size-cells = <2>;
  71. #address-cells = <3>;
  72. bus-range = <0 255>;
  73. clock-frequency = <33333333>;
  74. interrupts = <25 2 0 0>;
  75. pcie@0 {
  76. reg = <0 0 0 0 0>;
  77. #interrupt-cells = <1>;
  78. #size-cells = <2>;
  79. #address-cells = <3>;
  80. device_type = "pci";
  81. interrupts = <25 2 0 0>;
  82. interrupt-map-mask = <0xf800 0 0 7>;
  83. interrupt-map = <
  84. /* IDSEL 0x0 */
  85. 0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
  86. 0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
  87. 0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
  88. 0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
  89. >;
  90. };
  91. };
  92. /* controller at 0xa000 */
  93. &pci2 {
  94. compatible = "fsl,mpc8548-pcie";
  95. device_type = "pci";
  96. #size-cells = <2>;
  97. #address-cells = <3>;
  98. bus-range = <0 255>;
  99. clock-frequency = <33333333>;
  100. interrupts = <26 2 0 0>;
  101. pcie@0 {
  102. reg = <0 0 0 0 0>;
  103. #interrupt-cells = <1>;
  104. #size-cells = <2>;
  105. #address-cells = <3>;
  106. device_type = "pci";
  107. interrupts = <26 2 0 0>;
  108. interrupt-map-mask = <0xf800 0 0 7>;
  109. interrupt-map = <
  110. /* IDSEL 0x0 */
  111. 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
  112. 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
  113. 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
  114. 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
  115. >;
  116. };
  117. };
  118. &soc {
  119. #address-cells = <1>;
  120. #size-cells = <1>;
  121. device_type = "soc";
  122. compatible = "fsl,mpc8572-immr", "simple-bus";
  123. bus-frequency = <0>; // Filled out by uboot.
  124. ecm-law@0 {
  125. compatible = "fsl,ecm-law";
  126. reg = <0x0 0x1000>;
  127. fsl,num-laws = <12>;
  128. };
  129. ecm@1000 {
  130. compatible = "fsl,mpc8572-ecm", "fsl,ecm";
  131. reg = <0x1000 0x1000>;
  132. interrupts = <17 2 0 0>;
  133. };
  134. memory-controller@2000 {
  135. compatible = "fsl,mpc8572-memory-controller";
  136. reg = <0x2000 0x1000>;
  137. interrupts = <18 2 0 0>;
  138. };
  139. memory-controller@6000 {
  140. compatible = "fsl,mpc8572-memory-controller";
  141. reg = <0x6000 0x1000>;
  142. interrupts = <18 2 0 0>;
  143. };
  144. /include/ "pq3-i2c-0.dtsi"
  145. /include/ "pq3-i2c-1.dtsi"
  146. /include/ "pq3-duart-0.dtsi"
  147. /include/ "pq3-dma-1.dtsi"
  148. /include/ "pq3-gpio-0.dtsi"
  149. gpio-controller@f000 {
  150. compatible = "fsl,mpc8572-gpio";
  151. };
  152. L2: l2-cache-controller@20000 {
  153. compatible = "fsl,mpc8572-l2-cache-controller";
  154. reg = <0x20000 0x1000>;
  155. cache-line-size = <32>; // 32 bytes
  156. cache-size = <0x100000>; // L2,1M
  157. interrupts = <16 2 0 0>;
  158. };
  159. /include/ "pq3-dma-0.dtsi"
  160. /include/ "pq3-etsec1-0.dtsi"
  161. /include/ "pq3-etsec1-timer-0.dtsi"
  162. ptp_clock@24e00 {
  163. interrupts = <68 2 0 0 69 2 0 0 70 2 0 0 71 2 0 0>;
  164. };
  165. /include/ "pq3-etsec1-1.dtsi"
  166. /include/ "pq3-etsec1-2.dtsi"
  167. /include/ "pq3-etsec1-3.dtsi"
  168. /include/ "pq3-sec3.0-0.dtsi"
  169. /include/ "pq3-mpic.dtsi"
  170. /include/ "pq3-mpic-timer-B.dtsi"
  171. global-utilities@e0000 {
  172. compatible = "fsl,mpc8572-guts";
  173. reg = <0xe0000 0x1000>;
  174. fsl,has-rstcr;
  175. };
  176. };