t4240si-post.dtsi 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  1. /*
  2. * T4240 Silicon/SoC Device Tree Source (post include)
  3. *
  4. * Copyright 2012 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 = <25 2 0 0>;
  39. };
  40. /* controller at 0x240000 */
  41. &pci0 {
  42. compatible = "fsl,t4240-pcie", "fsl,qoriq-pcie-v3.0";
  43. device_type = "pci";
  44. #size-cells = <2>;
  45. #address-cells = <3>;
  46. bus-range = <0x0 0xff>;
  47. interrupts = <20 2 0 0>;
  48. pcie@0 {
  49. #interrupt-cells = <1>;
  50. #size-cells = <2>;
  51. #address-cells = <3>;
  52. device_type = "pci";
  53. interrupts = <20 2 0 0>;
  54. interrupt-map-mask = <0xf800 0 0 7>;
  55. interrupt-map = <
  56. /* IDSEL 0x0 */
  57. 0000 0 0 1 &mpic 40 1 0 0
  58. 0000 0 0 2 &mpic 1 1 0 0
  59. 0000 0 0 3 &mpic 2 1 0 0
  60. 0000 0 0 4 &mpic 3 1 0 0
  61. >;
  62. };
  63. };
  64. /* controller at 0x250000 */
  65. &pci1 {
  66. compatible = "fsl,t4240-pcie", "fsl,qoriq-pcie-v3.0";
  67. device_type = "pci";
  68. #size-cells = <2>;
  69. #address-cells = <3>;
  70. bus-range = <0 0xff>;
  71. interrupts = <21 2 0 0>;
  72. pcie@0 {
  73. #interrupt-cells = <1>;
  74. #size-cells = <2>;
  75. #address-cells = <3>;
  76. device_type = "pci";
  77. interrupts = <21 2 0 0>;
  78. interrupt-map-mask = <0xf800 0 0 7>;
  79. interrupt-map = <
  80. /* IDSEL 0x0 */
  81. 0000 0 0 1 &mpic 41 1 0 0
  82. 0000 0 0 2 &mpic 5 1 0 0
  83. 0000 0 0 3 &mpic 6 1 0 0
  84. 0000 0 0 4 &mpic 7 1 0 0
  85. >;
  86. };
  87. };
  88. /* controller at 0x260000 */
  89. &pci2 {
  90. compatible = "fsl,t4240-pcie", "fsl,qoriq-pcie-v3.0";
  91. device_type = "pci";
  92. #size-cells = <2>;
  93. #address-cells = <3>;
  94. bus-range = <0x0 0xff>;
  95. interrupts = <22 2 0 0>;
  96. pcie@0 {
  97. #interrupt-cells = <1>;
  98. #size-cells = <2>;
  99. #address-cells = <3>;
  100. device_type = "pci";
  101. interrupts = <22 2 0 0>;
  102. interrupt-map-mask = <0xf800 0 0 7>;
  103. interrupt-map = <
  104. /* IDSEL 0x0 */
  105. 0000 0 0 1 &mpic 42 1 0 0
  106. 0000 0 0 2 &mpic 9 1 0 0
  107. 0000 0 0 3 &mpic 10 1 0 0
  108. 0000 0 0 4 &mpic 11 1 0 0
  109. >;
  110. };
  111. };
  112. /* controller at 0x270000 */
  113. &pci3 {
  114. compatible = "fsl,t4240-pcie", "fsl,qoriq-pcie-v3.0";
  115. device_type = "pci";
  116. #size-cells = <2>;
  117. #address-cells = <3>;
  118. bus-range = <0x0 0xff>;
  119. interrupts = <23 2 0 0>;
  120. pcie@0 {
  121. #interrupt-cells = <1>;
  122. #size-cells = <2>;
  123. #address-cells = <3>;
  124. device_type = "pci";
  125. interrupts = <23 2 0 0>;
  126. interrupt-map-mask = <0xf800 0 0 7>;
  127. interrupt-map = <
  128. /* IDSEL 0x0 */
  129. 0000 0 0 1 &mpic 43 1 0 0
  130. 0000 0 0 2 &mpic 0 1 0 0
  131. 0000 0 0 3 &mpic 4 1 0 0
  132. 0000 0 0 4 &mpic 8 1 0 0
  133. >;
  134. };
  135. };
  136. &rio {
  137. compatible = "fsl,srio";
  138. interrupts = <16 2 1 11>;
  139. #address-cells = <2>;
  140. #size-cells = <2>;
  141. ranges;
  142. port1 {
  143. #address-cells = <2>;
  144. #size-cells = <2>;
  145. cell-index = <1>;
  146. };
  147. port2 {
  148. #address-cells = <2>;
  149. #size-cells = <2>;
  150. cell-index = <2>;
  151. };
  152. };
  153. &dcsr {
  154. #address-cells = <1>;
  155. #size-cells = <1>;
  156. compatible = "fsl,dcsr", "simple-bus";
  157. dcsr-epu@0 {
  158. compatible = "fsl,t4240-dcsr-epu", "fsl,dcsr-epu";
  159. interrupts = <52 2 0 0
  160. 84 2 0 0
  161. 85 2 0 0
  162. 94 2 0 0
  163. 95 2 0 0>;
  164. reg = <0x0 0x1000>;
  165. };
  166. dcsr-npc {
  167. compatible = "fsl,t4240-dcsr-cnpc", "fsl,dcsr-cnpc";
  168. reg = <0x1000 0x1000 0x1002000 0x10000>;
  169. };
  170. dcsr-nxc@2000 {
  171. compatible = "fsl,dcsr-nxc";
  172. reg = <0x2000 0x1000>;
  173. };
  174. dcsr-corenet {
  175. compatible = "fsl,dcsr-corenet";
  176. reg = <0x8000 0x1000 0x1A000 0x1000>;
  177. };
  178. dcsr-dpaa@9000 {
  179. compatible = "fsl,t4240-dcsr-dpaa", "fsl,dcsr-dpaa";
  180. reg = <0x9000 0x1000>;
  181. };
  182. dcsr-ocn@11000 {
  183. compatible = "fsl,t4240-dcsr-ocn", "fsl,dcsr-ocn";
  184. reg = <0x11000 0x1000>;
  185. };
  186. dcsr-ddr@12000 {
  187. compatible = "fsl,dcsr-ddr";
  188. dev-handle = <&ddr1>;
  189. reg = <0x12000 0x1000>;
  190. };
  191. dcsr-ddr@13000 {
  192. compatible = "fsl,dcsr-ddr";
  193. dev-handle = <&ddr2>;
  194. reg = <0x13000 0x1000>;
  195. };
  196. dcsr-ddr@14000 {
  197. compatible = "fsl,dcsr-ddr";
  198. dev-handle = <&ddr3>;
  199. reg = <0x14000 0x1000>;
  200. };
  201. dcsr-nal@18000 {
  202. compatible = "fsl,t4240-dcsr-nal", "fsl,dcsr-nal";
  203. reg = <0x18000 0x1000>;
  204. };
  205. dcsr-rcpm@22000 {
  206. compatible = "fsl,t4240-dcsr-rcpm", "fsl,dcsr-rcpm";
  207. reg = <0x22000 0x1000>;
  208. };
  209. dcsr-snpc@30000 {
  210. compatible = "fsl,t4240-dcsr-snpc", "fsl,dcsr-snpc";
  211. reg = <0x30000 0x1000 0x1022000 0x10000>;
  212. };
  213. dcsr-snpc@31000 {
  214. compatible = "fsl,t4240-dcsr-snpc", "fsl,dcsr-snpc";
  215. reg = <0x31000 0x1000 0x1042000 0x10000>;
  216. };
  217. dcsr-snpc@32000 {
  218. compatible = "fsl,t4240-dcsr-snpc", "fsl,dcsr-snpc";
  219. reg = <0x32000 0x1000 0x1062000 0x10000>;
  220. };
  221. dcsr-cpu-sb-proxy@100000 {
  222. compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  223. cpu-handle = <&cpu0>;
  224. reg = <0x100000 0x1000 0x101000 0x1000>;
  225. };
  226. dcsr-cpu-sb-proxy@108000 {
  227. compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  228. cpu-handle = <&cpu1>;
  229. reg = <0x108000 0x1000 0x109000 0x1000>;
  230. };
  231. dcsr-cpu-sb-proxy@110000 {
  232. compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  233. cpu-handle = <&cpu2>;
  234. reg = <0x110000 0x1000 0x111000 0x1000>;
  235. };
  236. dcsr-cpu-sb-proxy@118000 {
  237. compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  238. cpu-handle = <&cpu3>;
  239. reg = <0x118000 0x1000 0x119000 0x1000>;
  240. };
  241. dcsr-cpu-sb-proxy@120000 {
  242. compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  243. cpu-handle = <&cpu4>;
  244. reg = <0x120000 0x1000 0x121000 0x1000>;
  245. };
  246. dcsr-cpu-sb-proxy@128000 {
  247. compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  248. cpu-handle = <&cpu5>;
  249. reg = <0x128000 0x1000 0x129000 0x1000>;
  250. };
  251. dcsr-cpu-sb-proxy@130000 {
  252. compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  253. cpu-handle = <&cpu6>;
  254. reg = <0x130000 0x1000 0x131000 0x1000>;
  255. };
  256. dcsr-cpu-sb-proxy@138000 {
  257. compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  258. cpu-handle = <&cpu7>;
  259. reg = <0x138000 0x1000 0x139000 0x1000>;
  260. };
  261. dcsr-cpu-sb-proxy@140000 {
  262. compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  263. cpu-handle = <&cpu8>;
  264. reg = <0x140000 0x1000 0x141000 0x1000>;
  265. };
  266. dcsr-cpu-sb-proxy@148000 {
  267. compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  268. cpu-handle = <&cpu9>;
  269. reg = <0x148000 0x1000 0x149000 0x1000>;
  270. };
  271. dcsr-cpu-sb-proxy@150000 {
  272. compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  273. cpu-handle = <&cpu10>;
  274. reg = <0x150000 0x1000 0x151000 0x1000>;
  275. };
  276. dcsr-cpu-sb-proxy@158000 {
  277. compatible = "fsl,dcsr-e6500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  278. cpu-handle = <&cpu11>;
  279. reg = <0x158000 0x1000 0x159000 0x1000>;
  280. };
  281. };
  282. &soc {
  283. #address-cells = <1>;
  284. #size-cells = <1>;
  285. device_type = "soc";
  286. compatible = "simple-bus";
  287. soc-sram-error {
  288. compatible = "fsl,soc-sram-error";
  289. interrupts = <16 2 1 29>;
  290. };
  291. corenet-law@0 {
  292. compatible = "fsl,corenet-law";
  293. reg = <0x0 0x1000>;
  294. fsl,num-laws = <32>;
  295. };
  296. ddr1: memory-controller@8000 {
  297. compatible = "fsl,qoriq-memory-controller-v4.7",
  298. "fsl,qoriq-memory-controller";
  299. reg = <0x8000 0x1000>;
  300. interrupts = <16 2 1 23>;
  301. };
  302. ddr2: memory-controller@9000 {
  303. compatible = "fsl,qoriq-memory-controller-v4.7",
  304. "fsl,qoriq-memory-controller";
  305. reg = <0x9000 0x1000>;
  306. interrupts = <16 2 1 22>;
  307. };
  308. ddr3: memory-controller@a000 {
  309. compatible = "fsl,qoriq-memory-controller-v4.7",
  310. "fsl,qoriq-memory-controller";
  311. reg = <0xa000 0x1000>;
  312. interrupts = <16 2 1 21>;
  313. };
  314. cpc: l3-cache-controller@10000 {
  315. compatible = "fsl,t4240-l3-cache-controller", "cache";
  316. reg = <0x10000 0x1000
  317. 0x11000 0x1000
  318. 0x12000 0x1000>;
  319. interrupts = <16 2 1 27
  320. 16 2 1 26
  321. 16 2 1 25>;
  322. };
  323. corenet-cf@18000 {
  324. compatible = "fsl,corenet-cf";
  325. reg = <0x18000 0x1000>;
  326. interrupts = <16 2 1 31>;
  327. fsl,ccf-num-csdids = <32>;
  328. fsl,ccf-num-snoopids = <32>;
  329. };
  330. iommu@20000 {
  331. compatible = "fsl,pamu-v1.0", "fsl,pamu";
  332. reg = <0x20000 0x6000>;
  333. interrupts = <
  334. 24 2 0 0
  335. 16 2 1 30>;
  336. };
  337. /include/ "qoriq-mpic.dtsi"
  338. guts: global-utilities@e0000 {
  339. compatible = "fsl,t4240-device-config", "fsl,qoriq-device-config-2.0";
  340. reg = <0xe0000 0xe00>;
  341. fsl,has-rstcr;
  342. fsl,liodn-bits = <12>;
  343. };
  344. clockgen: global-utilities@e1000 {
  345. compatible = "fsl,t4240-clockgen", "fsl,qoriq-clockgen-2.0";
  346. reg = <0xe1000 0x1000>;
  347. };
  348. rcpm: global-utilities@e2000 {
  349. compatible = "fsl,t4240-rcpm", "fsl,qoriq-rcpm-2.0";
  350. reg = <0xe2000 0x1000>;
  351. };
  352. sfp: sfp@e8000 {
  353. compatible = "fsl,t4240-sfp";
  354. reg = <0xe8000 0x1000>;
  355. };
  356. serdes: serdes@ea000 {
  357. compatible = "fsl,t4240-serdes";
  358. reg = <0xea000 0x4000>;
  359. };
  360. /include/ "qoriq-dma-0.dtsi"
  361. /include/ "qoriq-dma-1.dtsi"
  362. /include/ "qoriq-espi-0.dtsi"
  363. spi@110000 {
  364. fsl,espi-num-chipselects = <4>;
  365. };
  366. /include/ "qoriq-esdhc-0.dtsi"
  367. sdhc@114000 {
  368. compatible = "fsl,t4240-esdhc", "fsl,esdhc";
  369. sdhci,auto-cmd12;
  370. };
  371. /include/ "qoriq-i2c-0.dtsi"
  372. /include/ "qoriq-i2c-1.dtsi"
  373. /include/ "qoriq-duart-0.dtsi"
  374. /include/ "qoriq-duart-1.dtsi"
  375. /include/ "qoriq-gpio-0.dtsi"
  376. /include/ "qoriq-gpio-1.dtsi"
  377. /include/ "qoriq-gpio-2.dtsi"
  378. /include/ "qoriq-gpio-3.dtsi"
  379. /include/ "qoriq-usb2-mph-0.dtsi"
  380. usb0: usb@210000 {
  381. compatible = "fsl-usb2-mph-v2.4", "fsl-usb2-mph";
  382. phy_type = "utmi";
  383. port0;
  384. };
  385. /include/ "qoriq-usb2-dr-0.dtsi"
  386. usb1: usb@211000 {
  387. compatible = "fsl-usb2-dr-v2.4", "fsl-usb2-dr";
  388. dr_mode = "host";
  389. phy_type = "utmi";
  390. };
  391. /include/ "qoriq-sata2-0.dtsi"
  392. /include/ "qoriq-sata2-1.dtsi"
  393. /include/ "qoriq-sec5.0-0.dtsi"
  394. L2_1: l2-cache-controller@c20000 {
  395. compatible = "fsl,t4240-l2-cache-controller";
  396. reg = <0xc20000 0x40000>;
  397. next-level-cache = <&cpc>;
  398. };
  399. L2_2: l2-cache-controller@c60000 {
  400. compatible = "fsl,t4240-l2-cache-controller";
  401. reg = <0xc60000 0x40000>;
  402. next-level-cache = <&cpc>;
  403. };
  404. L2_3: l2-cache-controller@ca0000 {
  405. compatible = "fsl,t4240-l2-cache-controller";
  406. reg = <0xca0000 0x40000>;
  407. next-level-cache = <&cpc>;
  408. };
  409. };