t104xd4rdb.dtsi 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. /*
  2. * T1040D4RDB/T1042D4RDB Device Tree Source
  3. *
  4. * Copyright 2015 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. / {
  35. reserved-memory {
  36. #address-cells = <2>;
  37. #size-cells = <2>;
  38. ranges;
  39. bman_fbpr: bman-fbpr {
  40. size = <0 0x1000000>;
  41. alignment = <0 0x1000000>;
  42. };
  43. qman_fqd: qman-fqd {
  44. size = <0 0x400000>;
  45. alignment = <0 0x400000>;
  46. };
  47. qman_pfdr: qman-pfdr {
  48. size = <0 0x2000000>;
  49. alignment = <0 0x2000000>;
  50. };
  51. };
  52. ifc: localbus@ffe124000 {
  53. reg = <0xf 0xfe124000 0 0x2000>;
  54. ranges = <0 0 0xf 0xe8000000 0x08000000
  55. 2 0 0xf 0xff800000 0x00010000
  56. 3 0 0xf 0xffdf0000 0x00008000>;
  57. nor@0,0 {
  58. #address-cells = <1>;
  59. #size-cells = <1>;
  60. compatible = "cfi-flash";
  61. reg = <0x0 0x0 0x8000000>;
  62. bank-width = <2>;
  63. device-width = <1>;
  64. };
  65. nand@2,0 {
  66. #address-cells = <1>;
  67. #size-cells = <1>;
  68. compatible = "fsl,ifc-nand";
  69. reg = <0x2 0x0 0x10000>;
  70. };
  71. cpld@3,0 {
  72. compatible = "fsl,t1040d4rdb-cpld";
  73. reg = <3 0 0x300>;
  74. };
  75. };
  76. memory {
  77. device_type = "memory";
  78. };
  79. dcsr: dcsr@f00000000 {
  80. ranges = <0x00000000 0xf 0x00000000 0x01072000>;
  81. };
  82. bportals: bman-portals@ff4000000 {
  83. ranges = <0x0 0xf 0xf4000000 0x2000000>;
  84. };
  85. qportals: qman-portals@ff6000000 {
  86. ranges = <0x0 0xf 0xf6000000 0x2000000>;
  87. };
  88. soc: soc@ffe000000 {
  89. ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
  90. reg = <0xf 0xfe000000 0 0x00001000>;
  91. spi@110000 {
  92. flash@0 {
  93. #address-cells = <1>;
  94. #size-cells = <1>;
  95. compatible = "micron,n25q512ax3", "jedec,spi-nor";
  96. reg = <0>;
  97. /* input clock */
  98. spi-max-frequency = <10000000>;
  99. };
  100. slic@1 {
  101. compatible = "maxim,ds26522";
  102. reg = <1>;
  103. spi-max-frequency = <2000000>; /* input clock */
  104. };
  105. slic@2 {
  106. compatible = "maxim,ds26522";
  107. reg = <2>;
  108. spi-max-frequency = <2000000>; /* input clock */
  109. };
  110. };
  111. i2c@118000 {
  112. hwmon@4c {
  113. compatible = "adi,adt7461";
  114. reg = <0x4c>;
  115. };
  116. rtc@68 {
  117. compatible = "dallas,ds1337";
  118. reg = <0x68>;
  119. interrupts = <0x2 0x1 0 0>;
  120. };
  121. };
  122. i2c@118100 {
  123. mux@77 {
  124. /*
  125. * Child nodes of mux depend on which i2c
  126. * devices are connected via the mini PCI
  127. * connector slot1, the mini PCI connector
  128. * slot2, the HDMI connector, and the PEX
  129. * slot. Systems with such devices attached
  130. * should provide a wrapper .dts file that
  131. * includes this one, and adds those nodes
  132. */
  133. compatible = "nxp,pca9546";
  134. reg = <0x77>;
  135. #address-cells = <1>;
  136. #size-cells = <0>;
  137. };
  138. };
  139. };
  140. pci0: pcie@ffe240000 {
  141. reg = <0xf 0xfe240000 0 0x10000>;
  142. ranges = <0x02000000 0 0xe0000000 0xc 0x0 0x0 0x10000000
  143. 0x01000000 0 0x0 0xf 0xf8000000 0x0 0x00010000>;
  144. pcie@0 {
  145. ranges = <0x02000000 0 0xe0000000
  146. 0x02000000 0 0xe0000000
  147. 0 0x10000000
  148. 0x01000000 0 0x00000000
  149. 0x01000000 0 0x00000000
  150. 0 0x00010000>;
  151. };
  152. };
  153. pci1: pcie@ffe250000 {
  154. reg = <0xf 0xfe250000 0 0x10000>;
  155. ranges = <0x02000000 0 0xe0000000 0xc 0x10000000 0 0x10000000
  156. 0x01000000 0 0 0xf 0xf8010000 0 0x00010000>;
  157. pcie@0 {
  158. ranges = <0x02000000 0 0xe0000000
  159. 0x02000000 0 0xe0000000
  160. 0 0x10000000
  161. 0x01000000 0 0x00000000
  162. 0x01000000 0 0x00000000
  163. 0 0x00010000>;
  164. };
  165. };
  166. pci2: pcie@ffe260000 {
  167. reg = <0xf 0xfe260000 0 0x10000>;
  168. ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x10000000
  169. 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
  170. pcie@0 {
  171. ranges = <0x02000000 0 0xe0000000
  172. 0x02000000 0 0xe0000000
  173. 0 0x10000000
  174. 0x01000000 0 0x00000000
  175. 0x01000000 0 0x00000000
  176. 0 0x00010000>;
  177. };
  178. };
  179. pci3: pcie@ffe270000 {
  180. reg = <0xf 0xfe270000 0 0x10000>;
  181. ranges = <0x02000000 0 0xe0000000 0xc 0x30000000 0 0x10000000
  182. 0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>;
  183. pcie@0 {
  184. ranges = <0x02000000 0 0xe0000000
  185. 0x02000000 0 0xe0000000
  186. 0 0x10000000
  187. 0x01000000 0 0x00000000
  188. 0x01000000 0 0x00000000
  189. 0 0x00010000>;
  190. };
  191. };
  192. qe: qe@ffe140000 {
  193. ranges = <0x0 0xf 0xfe140000 0x40000>;
  194. reg = <0xf 0xfe140000 0 0x480>;
  195. brg-frequency = <0>;
  196. bus-frequency = <0>;
  197. si1: si@700 {
  198. compatible = "fsl,t1040-qe-si";
  199. reg = <0x700 0x80>;
  200. };
  201. siram1: siram@1000 {
  202. compatible = "fsl,t1040-qe-siram";
  203. reg = <0x1000 0x800>;
  204. };
  205. ucc_hdlc: ucc@2000 {
  206. compatible = "fsl,ucc-hdlc";
  207. rx-clock-name = "clk8";
  208. tx-clock-name = "clk9";
  209. fsl,rx-sync-clock = "rsync_pin";
  210. fsl,tx-sync-clock = "tsync_pin";
  211. fsl,tx-timeslot-mask = <0xfffffffe>;
  212. fsl,rx-timeslot-mask = <0xfffffffe>;
  213. fsl,tdm-framer-type = "e1";
  214. fsl,tdm-id = <0>;
  215. fsl,siram-entry-id = <0>;
  216. fsl,tdm-interface;
  217. };
  218. ucc_serial: ucc@2200 {
  219. compatible = "fsl,t1040-ucc-uart";
  220. port-number = <0>;
  221. rx-clock-name = "brg2";
  222. tx-clock-name = "brg2";
  223. };
  224. };
  225. };