p1023si-post.dtsi 5.9 KB

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