mpc8536ds.dts 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. /*
  2. * MPC8536 DS Device Tree Source
  3. *
  4. * Copyright 2008 Freescale Semiconductor, Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation; either version 2 of the License, or (at your
  9. * option) any later version.
  10. */
  11. /dts-v1/;
  12. / {
  13. model = "fsl,mpc8536ds";
  14. compatible = "fsl,mpc8536ds";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. serial0 = &serial0;
  21. serial1 = &serial1;
  22. pci0 = &pci0;
  23. pci1 = &pci1;
  24. pci2 = &pci2;
  25. pci3 = &pci3;
  26. };
  27. cpus {
  28. #cpus = <1>;
  29. #address-cells = <1>;
  30. #size-cells = <0>;
  31. PowerPC,8536@0 {
  32. device_type = "cpu";
  33. reg = <0>;
  34. next-level-cache = <&L2>;
  35. };
  36. };
  37. memory {
  38. device_type = "memory";
  39. reg = <00000000 00000000>; // Filled by U-Boot
  40. };
  41. soc@ffe00000 {
  42. #address-cells = <1>;
  43. #size-cells = <1>;
  44. device_type = "soc";
  45. compatible = "simple-bus";
  46. ranges = <0x0 0xffe00000 0x100000>;
  47. reg = <0xffe00000 0x1000>;
  48. bus-frequency = <0>; // Filled out by uboot.
  49. ecm-law@0 {
  50. compatible = "fsl,ecm-law";
  51. reg = <0x0 0x1000>;
  52. fsl,num-laws = <12>;
  53. };
  54. ecm@1000 {
  55. compatible = "fsl,mpc8536-ecm", "fsl,ecm";
  56. reg = <0x1000 0x1000>;
  57. interrupts = <17 2>;
  58. interrupt-parent = <&mpic>;
  59. };
  60. memory-controller@2000 {
  61. compatible = "fsl,mpc8536-memory-controller";
  62. reg = <0x2000 0x1000>;
  63. interrupt-parent = <&mpic>;
  64. interrupts = <18 0x2>;
  65. };
  66. L2: l2-cache-controller@20000 {
  67. compatible = "fsl,mpc8536-l2-cache-controller";
  68. reg = <0x20000 0x1000>;
  69. interrupt-parent = <&mpic>;
  70. interrupts = <16 0x2>;
  71. };
  72. i2c@3000 {
  73. #address-cells = <1>;
  74. #size-cells = <0>;
  75. cell-index = <0>;
  76. compatible = "fsl-i2c";
  77. reg = <0x3000 0x100>;
  78. interrupts = <43 0x2>;
  79. interrupt-parent = <&mpic>;
  80. dfsrr;
  81. };
  82. i2c@3100 {
  83. #address-cells = <1>;
  84. #size-cells = <0>;
  85. cell-index = <1>;
  86. compatible = "fsl-i2c";
  87. reg = <0x3100 0x100>;
  88. interrupts = <43 0x2>;
  89. interrupt-parent = <&mpic>;
  90. dfsrr;
  91. rtc@68 {
  92. compatible = "dallas,ds3232";
  93. reg = <0x68>;
  94. interrupts = <0 0x1>;
  95. interrupt-parent = <&mpic>;
  96. };
  97. };
  98. dma@21300 {
  99. #address-cells = <1>;
  100. #size-cells = <1>;
  101. compatible = "fsl,mpc8536-dma", "fsl,eloplus-dma";
  102. reg = <0x21300 4>;
  103. ranges = <0 0x21100 0x200>;
  104. cell-index = <0>;
  105. dma-channel@0 {
  106. compatible = "fsl,mpc8536-dma-channel",
  107. "fsl,eloplus-dma-channel";
  108. reg = <0x0 0x80>;
  109. cell-index = <0>;
  110. interrupt-parent = <&mpic>;
  111. interrupts = <20 2>;
  112. };
  113. dma-channel@80 {
  114. compatible = "fsl,mpc8536-dma-channel",
  115. "fsl,eloplus-dma-channel";
  116. reg = <0x80 0x80>;
  117. cell-index = <1>;
  118. interrupt-parent = <&mpic>;
  119. interrupts = <21 2>;
  120. };
  121. dma-channel@100 {
  122. compatible = "fsl,mpc8536-dma-channel",
  123. "fsl,eloplus-dma-channel";
  124. reg = <0x100 0x80>;
  125. cell-index = <2>;
  126. interrupt-parent = <&mpic>;
  127. interrupts = <22 2>;
  128. };
  129. dma-channel@180 {
  130. compatible = "fsl,mpc8536-dma-channel",
  131. "fsl,eloplus-dma-channel";
  132. reg = <0x180 0x80>;
  133. cell-index = <3>;
  134. interrupt-parent = <&mpic>;
  135. interrupts = <23 2>;
  136. };
  137. };
  138. usb@22000 {
  139. compatible = "fsl,mpc8536-usb2-mph", "fsl-usb2-mph";
  140. reg = <0x22000 0x1000>;
  141. #address-cells = <1>;
  142. #size-cells = <0>;
  143. interrupt-parent = <&mpic>;
  144. interrupts = <28 0x2>;
  145. phy_type = "ulpi";
  146. };
  147. usb@23000 {
  148. compatible = "fsl,mpc8536-usb2-mph", "fsl-usb2-mph";
  149. reg = <0x23000 0x1000>;
  150. #address-cells = <1>;
  151. #size-cells = <0>;
  152. interrupt-parent = <&mpic>;
  153. interrupts = <46 0x2>;
  154. phy_type = "ulpi";
  155. };
  156. enet0: ethernet@24000 {
  157. #address-cells = <1>;
  158. #size-cells = <1>;
  159. cell-index = <0>;
  160. device_type = "network";
  161. model = "eTSEC";
  162. compatible = "gianfar";
  163. reg = <0x24000 0x1000>;
  164. ranges = <0x0 0x24000 0x1000>;
  165. local-mac-address = [ 00 00 00 00 00 00 ];
  166. interrupts = <29 2 30 2 34 2>;
  167. interrupt-parent = <&mpic>;
  168. tbi-handle = <&tbi0>;
  169. phy-handle = <&phy1>;
  170. phy-connection-type = "rgmii-id";
  171. mdio@520 {
  172. #address-cells = <1>;
  173. #size-cells = <0>;
  174. compatible = "fsl,gianfar-mdio";
  175. reg = <0x520 0x20>;
  176. phy0: ethernet-phy@0 {
  177. interrupt-parent = <&mpic>;
  178. interrupts = <10 0x1>;
  179. reg = <0>;
  180. device_type = "ethernet-phy";
  181. };
  182. phy1: ethernet-phy@1 {
  183. interrupt-parent = <&mpic>;
  184. interrupts = <10 0x1>;
  185. reg = <1>;
  186. device_type = "ethernet-phy";
  187. };
  188. tbi0: tbi-phy@11 {
  189. reg = <0x11>;
  190. device_type = "tbi-phy";
  191. };
  192. };
  193. };
  194. enet1: ethernet@26000 {
  195. #address-cells = <1>;
  196. #size-cells = <1>;
  197. cell-index = <1>;
  198. device_type = "network";
  199. model = "eTSEC";
  200. compatible = "gianfar";
  201. reg = <0x26000 0x1000>;
  202. ranges = <0x0 0x26000 0x1000>;
  203. local-mac-address = [ 00 00 00 00 00 00 ];
  204. interrupts = <31 2 32 2 33 2>;
  205. interrupt-parent = <&mpic>;
  206. tbi-handle = <&tbi1>;
  207. phy-handle = <&phy0>;
  208. phy-connection-type = "rgmii-id";
  209. mdio@520 {
  210. #address-cells = <1>;
  211. #size-cells = <0>;
  212. compatible = "fsl,gianfar-tbi";
  213. reg = <0x520 0x20>;
  214. tbi1: tbi-phy@11 {
  215. reg = <0x11>;
  216. device_type = "tbi-phy";
  217. };
  218. };
  219. };
  220. usb@2b000 {
  221. compatible = "fsl,mpc8536-usb2-dr", "fsl-usb2-dr";
  222. reg = <0x2b000 0x1000>;
  223. #address-cells = <1>;
  224. #size-cells = <0>;
  225. interrupt-parent = <&mpic>;
  226. interrupts = <60 0x2>;
  227. dr_mode = "peripheral";
  228. phy_type = "ulpi";
  229. };
  230. serial0: serial@4500 {
  231. cell-index = <0>;
  232. device_type = "serial";
  233. compatible = "ns16550";
  234. reg = <0x4500 0x100>;
  235. clock-frequency = <0>;
  236. interrupts = <42 0x2>;
  237. interrupt-parent = <&mpic>;
  238. };
  239. serial1: serial@4600 {
  240. cell-index = <1>;
  241. device_type = "serial";
  242. compatible = "ns16550";
  243. reg = <0x4600 0x100>;
  244. clock-frequency = <0>;
  245. interrupts = <42 0x2>;
  246. interrupt-parent = <&mpic>;
  247. };
  248. crypto@30000 {
  249. compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
  250. "fsl,sec2.1", "fsl,sec2.0";
  251. reg = <0x30000 0x10000>;
  252. interrupts = <45 2 58 2>;
  253. interrupt-parent = <&mpic>;
  254. fsl,num-channels = <4>;
  255. fsl,channel-fifo-len = <24>;
  256. fsl,exec-units-mask = <0x9fe>;
  257. fsl,descriptor-types-mask = <0x3ab0ebf>;
  258. };
  259. sata@18000 {
  260. compatible = "fsl,mpc8536-sata", "fsl,pq-sata";
  261. reg = <0x18000 0x1000>;
  262. cell-index = <1>;
  263. interrupts = <74 0x2>;
  264. interrupt-parent = <&mpic>;
  265. };
  266. sata@19000 {
  267. compatible = "fsl,mpc8536-sata", "fsl,pq-sata";
  268. reg = <0x19000 0x1000>;
  269. cell-index = <2>;
  270. interrupts = <41 0x2>;
  271. interrupt-parent = <&mpic>;
  272. };
  273. global-utilities@e0000 { //global utilities block
  274. compatible = "fsl,mpc8548-guts";
  275. reg = <0xe0000 0x1000>;
  276. fsl,has-rstcr;
  277. };
  278. mpic: pic@40000 {
  279. clock-frequency = <0>;
  280. interrupt-controller;
  281. #address-cells = <0>;
  282. #interrupt-cells = <2>;
  283. reg = <0x40000 0x40000>;
  284. compatible = "chrp,open-pic";
  285. device_type = "open-pic";
  286. big-endian;
  287. };
  288. msi@41600 {
  289. compatible = "fsl,mpc8536-msi", "fsl,mpic-msi";
  290. reg = <0x41600 0x80>;
  291. msi-available-ranges = <0 0x100>;
  292. interrupts = <
  293. 0xe0 0
  294. 0xe1 0
  295. 0xe2 0
  296. 0xe3 0
  297. 0xe4 0
  298. 0xe5 0
  299. 0xe6 0
  300. 0xe7 0>;
  301. interrupt-parent = <&mpic>;
  302. };
  303. };
  304. pci0: pci@ffe08000 {
  305. compatible = "fsl,mpc8540-pci";
  306. device_type = "pci";
  307. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  308. interrupt-map = <
  309. /* IDSEL 0x11 J17 Slot 1 */
  310. 0x8800 0 0 1 &mpic 1 1
  311. 0x8800 0 0 2 &mpic 2 1
  312. 0x8800 0 0 3 &mpic 3 1
  313. 0x8800 0 0 4 &mpic 4 1>;
  314. interrupt-parent = <&mpic>;
  315. interrupts = <24 0x2>;
  316. bus-range = <0 0xff>;
  317. ranges = <0x02000000 0 0x80000000 0x80000000 0 0x10000000
  318. 0x01000000 0 0x00000000 0xffc00000 0 0x00010000>;
  319. clock-frequency = <66666666>;
  320. #interrupt-cells = <1>;
  321. #size-cells = <2>;
  322. #address-cells = <3>;
  323. reg = <0xffe08000 0x1000>;
  324. };
  325. pci1: pcie@ffe09000 {
  326. compatible = "fsl,mpc8548-pcie";
  327. device_type = "pci";
  328. #interrupt-cells = <1>;
  329. #size-cells = <2>;
  330. #address-cells = <3>;
  331. reg = <0xffe09000 0x1000>;
  332. bus-range = <0 0xff>;
  333. ranges = <0x02000000 0 0x98000000 0x98000000 0 0x08000000
  334. 0x01000000 0 0x00000000 0xffc20000 0 0x00010000>;
  335. clock-frequency = <33333333>;
  336. interrupt-parent = <&mpic>;
  337. interrupts = <25 0x2>;
  338. interrupt-map-mask = <0xf800 0 0 7>;
  339. interrupt-map = <
  340. /* IDSEL 0x0 */
  341. 0000 0 0 1 &mpic 4 1
  342. 0000 0 0 2 &mpic 5 1
  343. 0000 0 0 3 &mpic 6 1
  344. 0000 0 0 4 &mpic 7 1
  345. >;
  346. pcie@0 {
  347. reg = <0 0 0 0 0>;
  348. #size-cells = <2>;
  349. #address-cells = <3>;
  350. device_type = "pci";
  351. ranges = <0x02000000 0 0x98000000
  352. 0x02000000 0 0x98000000
  353. 0 0x08000000
  354. 0x01000000 0 0x00000000
  355. 0x01000000 0 0x00000000
  356. 0 0x00010000>;
  357. };
  358. };
  359. pci2: pcie@ffe0a000 {
  360. compatible = "fsl,mpc8548-pcie";
  361. device_type = "pci";
  362. #interrupt-cells = <1>;
  363. #size-cells = <2>;
  364. #address-cells = <3>;
  365. reg = <0xffe0a000 0x1000>;
  366. bus-range = <0 0xff>;
  367. ranges = <0x02000000 0 0x90000000 0x90000000 0 0x08000000
  368. 0x01000000 0 0x00000000 0xffc10000 0 0x00010000>;
  369. clock-frequency = <33333333>;
  370. interrupt-parent = <&mpic>;
  371. interrupts = <26 0x2>;
  372. interrupt-map-mask = <0xf800 0 0 7>;
  373. interrupt-map = <
  374. /* IDSEL 0x0 */
  375. 0000 0 0 1 &mpic 0 1
  376. 0000 0 0 2 &mpic 1 1
  377. 0000 0 0 3 &mpic 2 1
  378. 0000 0 0 4 &mpic 3 1
  379. >;
  380. pcie@0 {
  381. reg = <0 0 0 0 0>;
  382. #size-cells = <2>;
  383. #address-cells = <3>;
  384. device_type = "pci";
  385. ranges = <0x02000000 0 0x90000000
  386. 0x02000000 0 0x90000000
  387. 0 0x08000000
  388. 0x01000000 0 0x00000000
  389. 0x01000000 0 0x00000000
  390. 0 0x00010000>;
  391. };
  392. };
  393. pci3: pcie@ffe0b000 {
  394. compatible = "fsl,mpc8548-pcie";
  395. device_type = "pci";
  396. #interrupt-cells = <1>;
  397. #size-cells = <2>;
  398. #address-cells = <3>;
  399. reg = <0xffe0b000 0x1000>;
  400. bus-range = <0 0xff>;
  401. ranges = <0x02000000 0 0xa0000000 0xa0000000 0 0x20000000
  402. 0x01000000 0 0x00000000 0xffc30000 0 0x00010000>;
  403. clock-frequency = <33333333>;
  404. interrupt-parent = <&mpic>;
  405. interrupts = <27 0x2>;
  406. interrupt-map-mask = <0xf800 0 0 7>;
  407. interrupt-map = <
  408. /* IDSEL 0x0 */
  409. 0000 0 0 1 &mpic 8 1
  410. 0000 0 0 2 &mpic 9 1
  411. 0000 0 0 3 &mpic 10 1
  412. 0000 0 0 4 &mpic 11 1
  413. >;
  414. pcie@0 {
  415. reg = <0 0 0 0 0>;
  416. #size-cells = <2>;
  417. #address-cells = <3>;
  418. device_type = "pci";
  419. ranges = <0x02000000 0 0xa0000000
  420. 0x02000000 0 0xa0000000
  421. 0 0x20000000
  422. 0x01000000 0 0x00000000
  423. 0x01000000 0 0x00000000
  424. 0 0x00100000>;
  425. };
  426. };
  427. };