p3041si-post.dtsi 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  1. /*
  2. * P3041 Silicon/SoC Device Tree Source (post include)
  3. *
  4. * Copyright 2011 - 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. &bman_fbpr {
  35. compatible = "fsl,bman-fbpr";
  36. alloc-ranges = <0 0 0x10 0>;
  37. };
  38. &qman_fqd {
  39. compatible = "fsl,qman-fqd";
  40. alloc-ranges = <0 0 0x10 0>;
  41. };
  42. &qman_pfdr {
  43. compatible = "fsl,qman-pfdr";
  44. alloc-ranges = <0 0 0x10 0>;
  45. };
  46. &lbc {
  47. compatible = "fsl,p3041-elbc", "fsl,elbc", "simple-bus";
  48. interrupts = <25 2 0 0>;
  49. #address-cells = <2>;
  50. #size-cells = <1>;
  51. };
  52. /* controller at 0x200000 */
  53. &pci0 {
  54. compatible = "fsl,p3041-pcie", "fsl,qoriq-pcie-v2.2";
  55. device_type = "pci";
  56. #size-cells = <2>;
  57. #address-cells = <3>;
  58. bus-range = <0x0 0xff>;
  59. clock-frequency = <33333333>;
  60. interrupts = <16 2 1 15>;
  61. fsl,iommu-parent = <&pamu0>;
  62. fsl,liodn-reg = <&guts 0x500>; /* PEX1LIODNR */
  63. pcie@0 {
  64. reg = <0 0 0 0 0>;
  65. #interrupt-cells = <1>;
  66. #size-cells = <2>;
  67. #address-cells = <3>;
  68. device_type = "pci";
  69. interrupts = <16 2 1 15>;
  70. interrupt-map-mask = <0xf800 0 0 7>;
  71. interrupt-map = <
  72. /* IDSEL 0x0 */
  73. 0000 0 0 1 &mpic 40 1 0 0
  74. 0000 0 0 2 &mpic 1 1 0 0
  75. 0000 0 0 3 &mpic 2 1 0 0
  76. 0000 0 0 4 &mpic 3 1 0 0
  77. >;
  78. };
  79. };
  80. /* controller at 0x201000 */
  81. &pci1 {
  82. compatible = "fsl,p3041-pcie", "fsl,qoriq-pcie-v2.2";
  83. device_type = "pci";
  84. #size-cells = <2>;
  85. #address-cells = <3>;
  86. bus-range = <0 0xff>;
  87. clock-frequency = <33333333>;
  88. interrupts = <16 2 1 14>;
  89. fsl,iommu-parent = <&pamu0>;
  90. fsl,liodn-reg = <&guts 0x504>; /* PEX2LIODNR */
  91. pcie@0 {
  92. reg = <0 0 0 0 0>;
  93. #interrupt-cells = <1>;
  94. #size-cells = <2>;
  95. #address-cells = <3>;
  96. device_type = "pci";
  97. interrupts = <16 2 1 14>;
  98. interrupt-map-mask = <0xf800 0 0 7>;
  99. interrupt-map = <
  100. /* IDSEL 0x0 */
  101. 0000 0 0 1 &mpic 41 1 0 0
  102. 0000 0 0 2 &mpic 5 1 0 0
  103. 0000 0 0 3 &mpic 6 1 0 0
  104. 0000 0 0 4 &mpic 7 1 0 0
  105. >;
  106. };
  107. };
  108. /* controller at 0x202000 */
  109. &pci2 {
  110. compatible = "fsl,p3041-pcie", "fsl,qoriq-pcie-v2.2";
  111. device_type = "pci";
  112. #size-cells = <2>;
  113. #address-cells = <3>;
  114. bus-range = <0x0 0xff>;
  115. clock-frequency = <33333333>;
  116. interrupts = <16 2 1 13>;
  117. fsl,iommu-parent = <&pamu0>;
  118. fsl,liodn-reg = <&guts 0x508>; /* PEX3LIODNR */
  119. pcie@0 {
  120. reg = <0 0 0 0 0>;
  121. #interrupt-cells = <1>;
  122. #size-cells = <2>;
  123. #address-cells = <3>;
  124. device_type = "pci";
  125. interrupts = <16 2 1 13>;
  126. interrupt-map-mask = <0xf800 0 0 7>;
  127. interrupt-map = <
  128. /* IDSEL 0x0 */
  129. 0000 0 0 1 &mpic 42 1 0 0
  130. 0000 0 0 2 &mpic 9 1 0 0
  131. 0000 0 0 3 &mpic 10 1 0 0
  132. 0000 0 0 4 &mpic 11 1 0 0
  133. >;
  134. };
  135. };
  136. /* controller at 0x203000 */
  137. &pci3 {
  138. compatible = "fsl,p3041-pcie", "fsl,qoriq-pcie-v2.2";
  139. device_type = "pci";
  140. #size-cells = <2>;
  141. #address-cells = <3>;
  142. bus-range = <0x0 0xff>;
  143. clock-frequency = <33333333>;
  144. interrupts = <16 2 1 12>;
  145. pcie@0 {
  146. reg = <0 0 0 0 0>;
  147. #interrupt-cells = <1>;
  148. #size-cells = <2>;
  149. #address-cells = <3>;
  150. device_type = "pci";
  151. interrupts = <16 2 1 12>;
  152. interrupt-map-mask = <0xf800 0 0 7>;
  153. interrupt-map = <
  154. /* IDSEL 0x0 */
  155. 0000 0 0 1 &mpic 43 1 0 0
  156. 0000 0 0 2 &mpic 0 1 0 0
  157. 0000 0 0 3 &mpic 4 1 0 0
  158. 0000 0 0 4 &mpic 8 1 0 0
  159. >;
  160. };
  161. };
  162. &rio {
  163. compatible = "fsl,srio";
  164. interrupts = <16 2 1 11>;
  165. #address-cells = <2>;
  166. #size-cells = <2>;
  167. fsl,iommu-parent = <&pamu0>;
  168. ranges;
  169. port1 {
  170. #address-cells = <2>;
  171. #size-cells = <2>;
  172. cell-index = <1>;
  173. fsl,liodn-reg = <&guts 0x510>; /* RIO1LIODNR */
  174. };
  175. port2 {
  176. #address-cells = <2>;
  177. #size-cells = <2>;
  178. cell-index = <2>;
  179. fsl,liodn-reg = <&guts 0x514>; /* RIO2LIODNR */
  180. };
  181. };
  182. &dcsr {
  183. #address-cells = <1>;
  184. #size-cells = <1>;
  185. compatible = "fsl,dcsr", "simple-bus";
  186. dcsr-epu@0 {
  187. compatible = "fsl,p3041-dcsr-epu", "fsl,dcsr-epu";
  188. interrupts = <52 2 0 0
  189. 84 2 0 0
  190. 85 2 0 0>;
  191. reg = <0x0 0x1000>;
  192. };
  193. dcsr-npc {
  194. compatible = "fsl,dcsr-npc";
  195. reg = <0x1000 0x1000 0x1000000 0x8000>;
  196. };
  197. dcsr-nxc@2000 {
  198. compatible = "fsl,dcsr-nxc";
  199. reg = <0x2000 0x1000>;
  200. };
  201. dcsr-corenet {
  202. compatible = "fsl,dcsr-corenet";
  203. reg = <0x8000 0x1000 0xB0000 0x1000>;
  204. };
  205. dcsr-dpaa@9000 {
  206. compatible = "fsl,p3041-dcsr-dpaa", "fsl,dcsr-dpaa";
  207. reg = <0x9000 0x1000>;
  208. };
  209. dcsr-ocn@11000 {
  210. compatible = "fsl,p3041-dcsr-ocn", "fsl,dcsr-ocn";
  211. reg = <0x11000 0x1000>;
  212. };
  213. dcsr-ddr@12000 {
  214. compatible = "fsl,dcsr-ddr";
  215. dev-handle = <&ddr1>;
  216. reg = <0x12000 0x1000>;
  217. };
  218. dcsr-nal@18000 {
  219. compatible = "fsl,p3041-dcsr-nal", "fsl,dcsr-nal";
  220. reg = <0x18000 0x1000>;
  221. };
  222. dcsr-rcpm@22000 {
  223. compatible = "fsl,p3041-dcsr-rcpm", "fsl,dcsr-rcpm";
  224. reg = <0x22000 0x1000>;
  225. };
  226. dcsr-cpu-sb-proxy@40000 {
  227. compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  228. cpu-handle = <&cpu0>;
  229. reg = <0x40000 0x1000>;
  230. };
  231. dcsr-cpu-sb-proxy@41000 {
  232. compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  233. cpu-handle = <&cpu1>;
  234. reg = <0x41000 0x1000>;
  235. };
  236. dcsr-cpu-sb-proxy@42000 {
  237. compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  238. cpu-handle = <&cpu2>;
  239. reg = <0x42000 0x1000>;
  240. };
  241. dcsr-cpu-sb-proxy@43000 {
  242. compatible = "fsl,dcsr-e500mc-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
  243. cpu-handle = <&cpu3>;
  244. reg = <0x43000 0x1000>;
  245. };
  246. };
  247. /include/ "qoriq-bman1-portals.dtsi"
  248. /include/ "qoriq-qman1-portals.dtsi"
  249. &soc {
  250. #address-cells = <1>;
  251. #size-cells = <1>;
  252. device_type = "soc";
  253. compatible = "simple-bus";
  254. soc-sram-error {
  255. compatible = "fsl,soc-sram-error";
  256. interrupts = <16 2 1 29>;
  257. };
  258. corenet-law@0 {
  259. compatible = "fsl,corenet-law";
  260. reg = <0x0 0x1000>;
  261. fsl,num-laws = <32>;
  262. };
  263. ddr1: memory-controller@8000 {
  264. compatible = "fsl,qoriq-memory-controller-v4.5", "fsl,qoriq-memory-controller";
  265. reg = <0x8000 0x1000>;
  266. interrupts = <16 2 1 23>;
  267. };
  268. cpc: l3-cache-controller@10000 {
  269. compatible = "fsl,p3041-l3-cache-controller", "fsl,p4080-l3-cache-controller", "cache";
  270. reg = <0x10000 0x1000>;
  271. interrupts = <16 2 1 27>;
  272. };
  273. corenet-cf@18000 {
  274. compatible = "fsl,corenet1-cf", "fsl,corenet-cf";
  275. reg = <0x18000 0x1000>;
  276. interrupts = <16 2 1 31>;
  277. fsl,ccf-num-csdids = <32>;
  278. fsl,ccf-num-snoopids = <32>;
  279. };
  280. iommu@20000 {
  281. compatible = "fsl,pamu-v1.0", "fsl,pamu";
  282. reg = <0x20000 0x4000>; /* for compatibility with older PAMU drivers */
  283. ranges = <0 0x20000 0x4000>;
  284. #address-cells = <1>;
  285. #size-cells = <1>;
  286. interrupts = <
  287. 24 2 0 0
  288. 16 2 1 30>;
  289. fsl,portid-mapping = <0x0f000000>;
  290. pamu0: pamu@0 {
  291. reg = <0 0x1000>;
  292. fsl,primary-cache-geometry = <32 1>;
  293. fsl,secondary-cache-geometry = <128 2>;
  294. };
  295. pamu1: pamu@1000 {
  296. reg = <0x1000 0x1000>;
  297. fsl,primary-cache-geometry = <32 1>;
  298. fsl,secondary-cache-geometry = <128 2>;
  299. };
  300. pamu2: pamu@2000 {
  301. reg = <0x2000 0x1000>;
  302. fsl,primary-cache-geometry = <32 1>;
  303. fsl,secondary-cache-geometry = <128 2>;
  304. };
  305. pamu3: pamu@3000 {
  306. reg = <0x3000 0x1000>;
  307. fsl,primary-cache-geometry = <32 1>;
  308. fsl,secondary-cache-geometry = <128 2>;
  309. };
  310. };
  311. /include/ "qoriq-mpic.dtsi"
  312. guts: global-utilities@e0000 {
  313. compatible = "fsl,qoriq-device-config-1.0";
  314. reg = <0xe0000 0xe00>;
  315. fsl,has-rstcr;
  316. #sleep-cells = <1>;
  317. fsl,liodn-bits = <12>;
  318. };
  319. pins: global-utilities@e0e00 {
  320. compatible = "fsl,qoriq-pin-control-1.0";
  321. reg = <0xe0e00 0x200>;
  322. #sleep-cells = <2>;
  323. };
  324. /include/ "qoriq-clockgen1.dtsi"
  325. global-utilities@e1000 {
  326. compatible = "fsl,p3041-clockgen", "fsl,qoriq-clockgen-1.0";
  327. mux2: mux2@40 {
  328. #clock-cells = <0>;
  329. reg = <0x40 0x4>;
  330. compatible = "fsl,qoriq-core-mux-1.0";
  331. clocks = <&pll0 0>, <&pll0 1>, <&pll1 0>, <&pll1 1>;
  332. clock-names = "pll0", "pll0-div2", "pll1", "pll1-div2";
  333. clock-output-names = "cmux2";
  334. };
  335. mux3: mux3@60 {
  336. #clock-cells = <0>;
  337. reg = <0x60 0x4>;
  338. compatible = "fsl,qoriq-core-mux-1.0";
  339. clocks = <&pll0 0>, <&pll0 1>, <&pll1 0>, <&pll1 1>;
  340. clock-names = "pll0", "pll0-div2", "pll1", "pll1-div2";
  341. clock-output-names = "cmux3";
  342. };
  343. };
  344. rcpm: global-utilities@e2000 {
  345. compatible = "fsl,qoriq-rcpm-1.0";
  346. reg = <0xe2000 0x1000>;
  347. #sleep-cells = <1>;
  348. };
  349. sfp: sfp@e8000 {
  350. compatible = "fsl,p3041-sfp", "fsl,qoriq-sfp-1.0";
  351. reg = <0xe8000 0x1000>;
  352. };
  353. serdes: serdes@ea000 {
  354. compatible = "fsl,p3041-serdes";
  355. reg = <0xea000 0x1000>;
  356. };
  357. /include/ "qoriq-dma-0.dtsi"
  358. dma@100300 {
  359. fsl,iommu-parent = <&pamu0>;
  360. fsl,liodn-reg = <&guts 0x580>; /* DMA1LIODNR */
  361. };
  362. /include/ "qoriq-dma-1.dtsi"
  363. dma@101300 {
  364. fsl,iommu-parent = <&pamu0>;
  365. fsl,liodn-reg = <&guts 0x584>; /* DMA2LIODNR */
  366. };
  367. /include/ "qoriq-espi-0.dtsi"
  368. spi@110000 {
  369. fsl,espi-num-chipselects = <4>;
  370. };
  371. /include/ "qoriq-esdhc-0.dtsi"
  372. sdhc@114000 {
  373. compatible = "fsl,p3041-esdhc", "fsl,esdhc";
  374. fsl,iommu-parent = <&pamu1>;
  375. fsl,liodn-reg = <&guts 0x530>; /* eSDHCLIODNR */
  376. sdhci,auto-cmd12;
  377. };
  378. /include/ "qoriq-i2c-0.dtsi"
  379. /include/ "qoriq-i2c-1.dtsi"
  380. /include/ "qoriq-duart-0.dtsi"
  381. /include/ "qoriq-duart-1.dtsi"
  382. /include/ "qoriq-gpio-0.dtsi"
  383. /include/ "qoriq-usb2-mph-0.dtsi"
  384. usb0: usb@210000 {
  385. compatible = "fsl-usb2-mph-v1.6", "fsl-usb2-mph";
  386. phy_type = "utmi";
  387. fsl,iommu-parent = <&pamu1>;
  388. fsl,liodn-reg = <&guts 0x520>; /* USB1LIODNR */
  389. port0;
  390. };
  391. /include/ "qoriq-usb2-dr-0.dtsi"
  392. usb1: usb@211000 {
  393. compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
  394. fsl,iommu-parent = <&pamu1>;
  395. fsl,liodn-reg = <&guts 0x524>; /* USB2LIODNR */
  396. dr_mode = "host";
  397. phy_type = "utmi";
  398. };
  399. /include/ "qoriq-sata2-0.dtsi"
  400. sata@220000 {
  401. fsl,iommu-parent = <&pamu1>;
  402. fsl,liodn-reg = <&guts 0x550>; /* SATA1LIODNR */
  403. };
  404. /include/ "qoriq-sata2-1.dtsi"
  405. sata@221000 {
  406. fsl,iommu-parent = <&pamu1>;
  407. fsl,liodn-reg = <&guts 0x554>; /* SATA2LIODNR */
  408. };
  409. /include/ "qoriq-sec4.2-0.dtsi"
  410. crypto: crypto@300000 {
  411. fsl,iommu-parent = <&pamu1>;
  412. };
  413. /include/ "qoriq-qman1.dtsi"
  414. /include/ "qoriq-bman1.dtsi"
  415. /include/ "qoriq-fman-0.dtsi"
  416. /include/ "qoriq-fman-0-1g-0.dtsi"
  417. /include/ "qoriq-fman-0-1g-1.dtsi"
  418. /include/ "qoriq-fman-0-1g-2.dtsi"
  419. /include/ "qoriq-fman-0-1g-3.dtsi"
  420. /include/ "qoriq-fman-0-1g-4.dtsi"
  421. /include/ "qoriq-fman-0-10g-0.dtsi"
  422. fman@400000 {
  423. enet0: ethernet@e0000 {
  424. };
  425. enet1: ethernet@e2000 {
  426. };
  427. enet2: ethernet@e4000 {
  428. };
  429. enet3: ethernet@e6000 {
  430. };
  431. enet4: ethernet@e8000 {
  432. };
  433. enet5: ethernet@f0000 {
  434. };
  435. };
  436. };