p1021si-post.dtsi 5.9 KB

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