p1010si-post.dtsi 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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. i2c@3000 {
  115. fsl,i2c-erratum-a004447;
  116. };
  117. /include/ "pq3-i2c-1.dtsi"
  118. i2c@3100 {
  119. fsl,i2c-erratum-a004447;
  120. };
  121. /include/ "pq3-duart-0.dtsi"
  122. /include/ "pq3-espi-0.dtsi"
  123. spi0: spi@7000 {
  124. fsl,espi-num-chipselects = <1>;
  125. };
  126. /include/ "pq3-gpio-0.dtsi"
  127. /include/ "pq3-sata2-0.dtsi"
  128. /include/ "pq3-sata2-1.dtsi"
  129. can0: can@1c000 {
  130. compatible = "fsl,p1010-flexcan";
  131. reg = <0x1c000 0x1000>;
  132. interrupts = <48 0x2 0 0>;
  133. big-endian;
  134. };
  135. can1: can@1d000 {
  136. compatible = "fsl,p1010-flexcan";
  137. reg = <0x1d000 0x1000>;
  138. interrupts = <61 0x2 0 0>;
  139. big-endian;
  140. };
  141. L2: l2-cache-controller@20000 {
  142. compatible = "fsl,p1010-l2-cache-controller",
  143. "fsl,p1014-l2-cache-controller";
  144. reg = <0x20000 0x1000>;
  145. cache-line-size = <32>; // 32 bytes
  146. cache-size = <0x40000>; // L2,256K
  147. interrupts = <16 2 0 0>;
  148. };
  149. /include/ "pq3-dma-0.dtsi"
  150. /include/ "pq3-usb2-dr-0.dtsi"
  151. usb@22000 {
  152. compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
  153. };
  154. /include/ "pq3-esdhc-0.dtsi"
  155. sdhc@2e000 {
  156. compatible = "fsl,p1010-esdhc", "fsl,esdhc";
  157. sdhci,auto-cmd12;
  158. };
  159. /include/ "pq3-sec4.4-0.dtsi"
  160. /include/ "pq3-mpic.dtsi"
  161. /include/ "pq3-mpic-timer-B.dtsi"
  162. /include/ "pq3-etsec2-0.dtsi"
  163. /include/ "pq3-etsec2-1.dtsi"
  164. /include/ "pq3-etsec2-2.dtsi"
  165. global-utilities@e0000 {
  166. compatible = "fsl,p1010-guts";
  167. reg = <0xe0000 0x1000>;
  168. fsl,has-rstcr;
  169. };
  170. };