p1010si-post.dtsi 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. /*
  2. * P1010/P1014 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. &ifc {
  35. #address-cells = <2>;
  36. #size-cells = <1>;
  37. compatible = "fsl,ifc", "simple-bus";
  38. interrupts = <16 2 0 0 19 2 0 0>;
  39. };
  40. /* controller at 0x9000 */
  41. &pci0 {
  42. compatible = "fsl,p1010-pcie", "fsl,qoriq-pcie-v2.3";
  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,p1010-pcie", "fsl,qoriq-pcie-v2.3";
  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,p1010-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,p1010-ecm", "fsl,ecm";
  105. reg = <0x1000 0x1000>;
  106. interrupts = <16 2 0 0>;
  107. };
  108. memory-controller@2000 {
  109. compatible = "fsl,p1010-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. spi0: spi@7000 {
  118. fsl,espi-num-chipselects = <1>;
  119. };
  120. /include/ "pq3-gpio-0.dtsi"
  121. /include/ "pq3-sata2-0.dtsi"
  122. /include/ "pq3-sata2-1.dtsi"
  123. can0: can@1c000 {
  124. compatible = "fsl,p1010-flexcan";
  125. reg = <0x1c000 0x1000>;
  126. interrupts = <48 0x2 0 0>;
  127. };
  128. can1: can@1d000 {
  129. compatible = "fsl,p1010-flexcan";
  130. reg = <0x1d000 0x1000>;
  131. interrupts = <61 0x2 0 0>;
  132. };
  133. L2: l2-cache-controller@20000 {
  134. compatible = "fsl,p1010-l2-cache-controller",
  135. "fsl,p1014-l2-cache-controller";
  136. reg = <0x20000 0x1000>;
  137. cache-line-size = <32>; // 32 bytes
  138. cache-size = <0x40000>; // L2,256K
  139. interrupts = <16 2 0 0>;
  140. };
  141. /include/ "pq3-dma-0.dtsi"
  142. /include/ "pq3-usb2-dr-0.dtsi"
  143. usb@22000 {
  144. compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
  145. };
  146. /include/ "pq3-esdhc-0.dtsi"
  147. sdhc@2e000 {
  148. compatible = "fsl,p1010-esdhc", "fsl,esdhc";
  149. sdhci,auto-cmd12;
  150. };
  151. /include/ "pq3-sec4.4-0.dtsi"
  152. /include/ "pq3-mpic.dtsi"
  153. /include/ "pq3-mpic-timer-B.dtsi"
  154. /include/ "pq3-etsec2-0.dtsi"
  155. enet0: ethernet@b0000 {
  156. queue-group@b0000 {
  157. fsl,rx-bit-map = <0xff>;
  158. fsl,tx-bit-map = <0xff>;
  159. };
  160. };
  161. /include/ "pq3-etsec2-1.dtsi"
  162. enet1: ethernet@b1000 {
  163. queue-group@b1000 {
  164. fsl,rx-bit-map = <0xff>;
  165. fsl,tx-bit-map = <0xff>;
  166. };
  167. };
  168. /include/ "pq3-etsec2-2.dtsi"
  169. enet2: ethernet@b2000 {
  170. queue-group@b2000 {
  171. fsl,rx-bit-map = <0xff>;
  172. fsl,tx-bit-map = <0xff>;
  173. };
  174. };
  175. global-utilities@e0000 {
  176. compatible = "fsl,p1010-guts";
  177. reg = <0xe0000 0x1000>;
  178. fsl,has-rstcr;
  179. };
  180. };