p1023si-post.dtsi 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. /*
  2. * P1023/P1017 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,p1023-elbc", "fsl,elbc", "simple-bus";
  38. interrupts = <19 2 0 0>;
  39. };
  40. /* controller at 0xa000 */
  41. &pci0 {
  42. compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
  43. device_type = "pci";
  44. #size-cells = <2>;
  45. #address-cells = <3>;
  46. bus-range = <0x0 0xff>;
  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. };
  57. };
  58. /* controller at 0x9000 */
  59. &pci1 {
  60. compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
  61. device_type = "pci";
  62. #size-cells = <2>;
  63. #address-cells = <3>;
  64. bus-range = <0 0xff>;
  65. clock-frequency = <33333333>;
  66. interrupts = <16 2 0 0>;
  67. pcie@0 {
  68. reg = <0 0 0 0 0>;
  69. #interrupt-cells = <1>;
  70. #size-cells = <2>;
  71. #address-cells = <3>;
  72. device_type = "pci";
  73. interrupts = <16 2 0 0>;
  74. };
  75. };
  76. /* controller at 0xb000 */
  77. &pci2 {
  78. compatible = "fsl,p1023-pcie", "fsl,qoriq-pcie-v2.2";
  79. device_type = "pci";
  80. #size-cells = <2>;
  81. #address-cells = <3>;
  82. bus-range = <0x0 0xff>;
  83. clock-frequency = <33333333>;
  84. interrupts = <16 2 0 0>;
  85. pcie@0 {
  86. reg = <0 0 0 0 0>;
  87. #interrupt-cells = <1>;
  88. #size-cells = <2>;
  89. #address-cells = <3>;
  90. device_type = "pci";
  91. interrupts = <16 2 0 0>;
  92. };
  93. };
  94. &soc {
  95. #address-cells = <1>;
  96. #size-cells = <1>;
  97. device_type = "soc";
  98. compatible = "fsl,p1023-immr", "simple-bus";
  99. bus-frequency = <0>; // Filled out by uboot.
  100. ecm-law@0 {
  101. compatible = "fsl,ecm-law";
  102. reg = <0x0 0x1000>;
  103. fsl,num-laws = <12>;
  104. };
  105. ecm@1000 {
  106. compatible = "fsl,p1023-ecm", "fsl,ecm";
  107. reg = <0x1000 0x1000>;
  108. interrupts = <16 2 0 0>;
  109. };
  110. memory-controller@2000 {
  111. compatible = "fsl,p1023-memory-controller";
  112. reg = <0x2000 0x1000>;
  113. interrupts = <16 2 0 0>;
  114. };
  115. /include/ "pq3-i2c-0.dtsi"
  116. /include/ "pq3-i2c-1.dtsi"
  117. /include/ "pq3-duart-0.dtsi"
  118. /include/ "pq3-espi-0.dtsi"
  119. spi@7000 {
  120. fsl,espi-num-chipselects = <4>;
  121. };
  122. /include/ "pq3-gpio-0.dtsi"
  123. L2: l2-cache-controller@20000 {
  124. compatible = "fsl,p1023-l2-cache-controller";
  125. reg = <0x20000 0x1000>;
  126. cache-line-size = <32>; // 32 bytes
  127. cache-size = <0x40000>; // L2,256K
  128. interrupts = <16 2 0 0>;
  129. };
  130. /include/ "pq3-dma-0.dtsi"
  131. /include/ "pq3-usb2-dr-0.dtsi"
  132. crypto: crypto@300000 {
  133. compatible = "fsl,sec-v4.2", "fsl,sec-v4.0";
  134. #address-cells = <1>;
  135. #size-cells = <1>;
  136. reg = <0x30000 0x10000>;
  137. ranges = <0 0x30000 0x10000>;
  138. interrupts = <58 2 0 0>;
  139. sec_jr0: jr@1000 {
  140. compatible = "fsl,sec-v4.2-job-ring",
  141. "fsl,sec-v4.0-job-ring";
  142. reg = <0x1000 0x1000>;
  143. interrupts = <45 2 0 0>;
  144. };
  145. sec_jr1: jr@2000 {
  146. compatible = "fsl,sec-v4.2-job-ring",
  147. "fsl,sec-v4.0-job-ring";
  148. reg = <0x2000 0x1000>;
  149. interrupts = <45 2 0 0>;
  150. };
  151. sec_jr2: jr@3000 {
  152. compatible = "fsl,sec-v4.2-job-ring",
  153. "fsl,sec-v4.0-job-ring";
  154. reg = <0x3000 0x1000>;
  155. interrupts = <57 2 0 0>;
  156. };
  157. sec_jr3: jr@4000 {
  158. compatible = "fsl,sec-v4.2-job-ring",
  159. "fsl,sec-v4.0-job-ring";
  160. reg = <0x4000 0x1000>;
  161. interrupts = <57 2 0 0>;
  162. };
  163. rtic@6000 {
  164. compatible = "fsl,sec-v4.2-rtic",
  165. "fsl,sec-v4.0-rtic";
  166. #address-cells = <1>;
  167. #size-cells = <1>;
  168. reg = <0x6000 0x100>;
  169. ranges = <0x0 0x6100 0xe00>;
  170. rtic_a: rtic-a@0 {
  171. compatible = "fsl,sec-v4.2-rtic-memory",
  172. "fsl,sec-v4.0-rtic-memory";
  173. reg = <0x00 0x20 0x100 0x80>;
  174. };
  175. rtic_b: rtic-b@20 {
  176. compatible = "fsl,sec-v4.2-rtic-memory",
  177. "fsl,sec-v4.0-rtic-memory";
  178. reg = <0x20 0x20 0x200 0x80>;
  179. };
  180. rtic_c: rtic-c@40 {
  181. compatible = "fsl,sec-v4.2-rtic-memory",
  182. "fsl,sec-v4.0-rtic-memory";
  183. reg = <0x40 0x20 0x300 0x80>;
  184. };
  185. rtic_d: rtic-d@60 {
  186. compatible = "fsl,sec-v4.2-rtic-memory",
  187. "fsl,sec-v4.0-rtic-memory";
  188. reg = <0x60 0x20 0x500 0x80>;
  189. };
  190. };
  191. };
  192. /include/ "pq3-mpic.dtsi"
  193. /include/ "pq3-mpic-timer-B.dtsi"
  194. global-utilities@e0000 {
  195. compatible = "fsl,p1023-guts";
  196. reg = <0xe0000 0x1000>;
  197. fsl,has-rstcr;
  198. };
  199. };