mpc8544si-post.dtsi 5.1 KB

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