p1021si-post.dtsi 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. /*
  2. * P1021/P1012 Silicon/SoC Device Tree Source (post include)
  3. *
  4. * Copyright 2011-2012 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,p1021-elbc", "fsl,elbc", "simple-bus";
  38. interrupts = <19 2 0 0>;
  39. };
  40. /* controller at 0x9000 */
  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 = <16 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 = <16 2 0 0>;
  56. interrupt-map-mask = <0xf800 0 0 7>;
  57. interrupt-map = <
  58. /* IDSEL 0x0 */
  59. 0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
  60. 0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
  61. 0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
  62. 0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
  63. >;
  64. };
  65. };
  66. /* controller at 0xa000 */
  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 = <16 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 = <16 2 0 0>;
  82. interrupt-map-mask = <0xf800 0 0 7>;
  83. interrupt-map = <
  84. /* IDSEL 0x0 */
  85. 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
  86. 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
  87. 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
  88. 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
  89. >;
  90. };
  91. };
  92. &soc {
  93. #address-cells = <1>;
  94. #size-cells = <1>;
  95. device_type = "soc";
  96. compatible = "fsl,p1021-immr", "simple-bus";
  97. bus-frequency = <0>; // Filled out by uboot.
  98. ecm-law@0 {
  99. compatible = "fsl,ecm-law";
  100. reg = <0x0 0x1000>;
  101. fsl,num-laws = <12>;
  102. };
  103. ecm@1000 {
  104. compatible = "fsl,p1021-ecm", "fsl,ecm";
  105. reg = <0x1000 0x1000>;
  106. interrupts = <16 2 0 0>;
  107. };
  108. memory-controller@2000 {
  109. compatible = "fsl,p1021-memory-controller";
  110. reg = <0x2000 0x1000>;
  111. interrupts = <16 2 0 0>;
  112. };
  113. /include/ "pq3-i2c-0.dtsi"
  114. /include/ "pq3-i2c-1.dtsi"
  115. /include/ "pq3-duart-0.dtsi"
  116. /include/ "pq3-espi-0.dtsi"
  117. spi@7000 {
  118. fsl,espi-num-chipselects = <4>;
  119. };
  120. /include/ "pq3-gpio-0.dtsi"
  121. L2: l2-cache-controller@20000 {
  122. compatible = "fsl,p1021-l2-cache-controller";
  123. reg = <0x20000 0x1000>;
  124. cache-line-size = <32>; // 32 bytes
  125. cache-size = <0x40000>; // L2,256K
  126. interrupts = <16 2 0 0>;
  127. };
  128. /include/ "pq3-dma-0.dtsi"
  129. /include/ "pq3-usb2-dr-0.dtsi"
  130. usb@22000 {
  131. compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
  132. };
  133. /include/ "pq3-esdhc-0.dtsi"
  134. sdhc@2e000 {
  135. sdhci,auto-cmd12;
  136. };
  137. /include/ "pq3-sec3.3-0.dtsi"
  138. /include/ "pq3-mpic.dtsi"
  139. /include/ "pq3-mpic-timer-B.dtsi"
  140. /include/ "pq3-etsec2-0.dtsi"
  141. enet0: enet0_grp2: ethernet@b0000 {
  142. };
  143. /include/ "pq3-etsec2-1.dtsi"
  144. enet1: enet1_grp2: ethernet@b1000 {
  145. };
  146. /include/ "pq3-etsec2-2.dtsi"
  147. enet2: enet2_grp2: ethernet@b2000 {
  148. };
  149. global-utilities@e0000 {
  150. compatible = "fsl,p1021-guts";
  151. reg = <0xe0000 0x1000>;
  152. fsl,has-rstcr;
  153. };
  154. };
  155. &qe {
  156. #address-cells = <1>;
  157. #size-cells = <1>;
  158. device_type = "qe";
  159. compatible = "fsl,qe";
  160. fsl,qe-num-riscs = <1>;
  161. fsl,qe-num-snums = <28>;
  162. qeic: interrupt-controller@80 {
  163. interrupt-controller;
  164. compatible = "fsl,qe-ic";
  165. #address-cells = <0>;
  166. #interrupt-cells = <1>;
  167. reg = <0x80 0x80>;
  168. interrupts = <63 2 0 0 60 2 0 0>; //high:47 low:44
  169. };
  170. ucc@2000 {
  171. cell-index = <1>;
  172. reg = <0x2000 0x200>;
  173. interrupts = <32>;
  174. interrupt-parent = <&qeic>;
  175. };
  176. mdio@2120 {
  177. #address-cells = <1>;
  178. #size-cells = <0>;
  179. reg = <0x2120 0x18>;
  180. compatible = "fsl,ucc-mdio";
  181. };
  182. ucc@2400 {
  183. cell-index = <5>;
  184. reg = <0x2400 0x200>;
  185. interrupts = <40>;
  186. interrupt-parent = <&qeic>;
  187. };
  188. ucc@2600 {
  189. cell-index = <7>;
  190. reg = <0x2600 0x200>;
  191. interrupts = <42>;
  192. interrupt-parent = <&qeic>;
  193. };
  194. ucc@2200 {
  195. cell-index = <3>;
  196. reg = <0x2200 0x200>;
  197. interrupts = <34>;
  198. interrupt-parent = <&qeic>;
  199. };
  200. muram@10000 {
  201. #address-cells = <1>;
  202. #size-cells = <1>;
  203. compatible = "fsl,qe-muram", "fsl,cpm-muram";
  204. ranges = <0x0 0x10000 0x6000>;
  205. data-only@0 {
  206. compatible = "fsl,qe-muram-data",
  207. "fsl,cpm-muram-data";
  208. reg = <0x0 0x6000>;
  209. };
  210. };
  211. };
  212. /include/ "pq3-etsec2-grp2-0.dtsi"
  213. /include/ "pq3-etsec2-grp2-1.dtsi"
  214. /include/ "pq3-etsec2-grp2-2.dtsi"