mpc8536ds_36b.dts 11 KB

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