t4240si-post.dtsi 11 KB

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