p2020si-post.dtsi 5.5 KB

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