mpc8544ds.dts 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  1. /*
  2. * MPC8544 DS Device Tree Source
  3. *
  4. * Copyright 2007, 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 = "MPC8544DS";
  14. compatible = "MPC8544DS", "MPC85xxDS";
  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. #address-cells = <1>;
  29. #size-cells = <0>;
  30. PowerPC,8544@0 {
  31. device_type = "cpu";
  32. reg = <0x0>;
  33. d-cache-line-size = <32>; // 32 bytes
  34. i-cache-line-size = <32>; // 32 bytes
  35. d-cache-size = <0x8000>; // L1, 32K
  36. i-cache-size = <0x8000>; // L1, 32K
  37. timebase-frequency = <0>;
  38. bus-frequency = <0>;
  39. clock-frequency = <0>;
  40. next-level-cache = <&L2>;
  41. };
  42. };
  43. memory {
  44. device_type = "memory";
  45. reg = <0x0 0x0>; // Filled by U-Boot
  46. };
  47. soc8544@e0000000 {
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. device_type = "soc";
  51. compatible = "simple-bus";
  52. ranges = <0x0 0xe0000000 0x100000>;
  53. reg = <0xe0000000 0x1000>; // CCSRBAR 1M
  54. bus-frequency = <0>; // Filled out by uboot.
  55. memory-controller@2000 {
  56. compatible = "fsl,8544-memory-controller";
  57. reg = <0x2000 0x1000>;
  58. interrupt-parent = <&mpic>;
  59. interrupts = <18 2>;
  60. };
  61. L2: l2-cache-controller@20000 {
  62. compatible = "fsl,8544-l2-cache-controller";
  63. reg = <0x20000 0x1000>;
  64. cache-line-size = <32>; // 32 bytes
  65. cache-size = <0x40000>; // L2, 256K
  66. interrupt-parent = <&mpic>;
  67. interrupts = <16 2>;
  68. };
  69. i2c@3000 {
  70. #address-cells = <1>;
  71. #size-cells = <0>;
  72. cell-index = <0>;
  73. compatible = "fsl-i2c";
  74. reg = <0x3000 0x100>;
  75. interrupts = <43 2>;
  76. interrupt-parent = <&mpic>;
  77. dfsrr;
  78. };
  79. i2c@3100 {
  80. #address-cells = <1>;
  81. #size-cells = <0>;
  82. cell-index = <1>;
  83. compatible = "fsl-i2c";
  84. reg = <0x3100 0x100>;
  85. interrupts = <43 2>;
  86. interrupt-parent = <&mpic>;
  87. dfsrr;
  88. };
  89. mdio@24520 {
  90. #address-cells = <1>;
  91. #size-cells = <0>;
  92. compatible = "fsl,gianfar-mdio";
  93. reg = <0x24520 0x20>;
  94. phy0: ethernet-phy@0 {
  95. interrupt-parent = <&mpic>;
  96. interrupts = <10 1>;
  97. reg = <0x0>;
  98. device_type = "ethernet-phy";
  99. };
  100. phy1: ethernet-phy@1 {
  101. interrupt-parent = <&mpic>;
  102. interrupts = <10 1>;
  103. reg = <0x1>;
  104. device_type = "ethernet-phy";
  105. };
  106. tbi0: tbi-phy@11 {
  107. reg = <0x11>;
  108. device_type = "tbi-phy";
  109. };
  110. };
  111. mdio@26520 {
  112. #address-cells = <1>;
  113. #size-cells = <0>;
  114. compatible = "fsl,gianfar-tbi";
  115. reg = <0x26520 0x20>;
  116. tbi1: tbi-phy@11 {
  117. reg = <0x11>;
  118. device_type = "tbi-phy";
  119. };
  120. };
  121. dma@21300 {
  122. #address-cells = <1>;
  123. #size-cells = <1>;
  124. compatible = "fsl,mpc8544-dma", "fsl,eloplus-dma";
  125. reg = <0x21300 0x4>;
  126. ranges = <0x0 0x21100 0x200>;
  127. cell-index = <0>;
  128. dma-channel@0 {
  129. compatible = "fsl,mpc8544-dma-channel",
  130. "fsl,eloplus-dma-channel";
  131. reg = <0x0 0x80>;
  132. cell-index = <0>;
  133. interrupt-parent = <&mpic>;
  134. interrupts = <20 2>;
  135. };
  136. dma-channel@80 {
  137. compatible = "fsl,mpc8544-dma-channel",
  138. "fsl,eloplus-dma-channel";
  139. reg = <0x80 0x80>;
  140. cell-index = <1>;
  141. interrupt-parent = <&mpic>;
  142. interrupts = <21 2>;
  143. };
  144. dma-channel@100 {
  145. compatible = "fsl,mpc8544-dma-channel",
  146. "fsl,eloplus-dma-channel";
  147. reg = <0x100 0x80>;
  148. cell-index = <2>;
  149. interrupt-parent = <&mpic>;
  150. interrupts = <22 2>;
  151. };
  152. dma-channel@180 {
  153. compatible = "fsl,mpc8544-dma-channel",
  154. "fsl,eloplus-dma-channel";
  155. reg = <0x180 0x80>;
  156. cell-index = <3>;
  157. interrupt-parent = <&mpic>;
  158. interrupts = <23 2>;
  159. };
  160. };
  161. enet0: ethernet@24000 {
  162. cell-index = <0>;
  163. device_type = "network";
  164. model = "TSEC";
  165. compatible = "gianfar";
  166. reg = <0x24000 0x1000>;
  167. local-mac-address = [ 00 00 00 00 00 00 ];
  168. interrupts = <29 2 30 2 34 2>;
  169. interrupt-parent = <&mpic>;
  170. phy-handle = <&phy0>;
  171. tbi-handle = <&tbi0>;
  172. phy-connection-type = "rgmii-id";
  173. };
  174. enet1: ethernet@26000 {
  175. cell-index = <1>;
  176. device_type = "network";
  177. model = "TSEC";
  178. compatible = "gianfar";
  179. reg = <0x26000 0x1000>;
  180. local-mac-address = [ 00 00 00 00 00 00 ];
  181. interrupts = <31 2 32 2 33 2>;
  182. interrupt-parent = <&mpic>;
  183. phy-handle = <&phy1>;
  184. tbi-handle = <&tbi1>;
  185. phy-connection-type = "rgmii-id";
  186. };
  187. serial0: serial@4500 {
  188. cell-index = <0>;
  189. device_type = "serial";
  190. compatible = "ns16550";
  191. reg = <0x4500 0x100>;
  192. clock-frequency = <0>;
  193. interrupts = <42 2>;
  194. interrupt-parent = <&mpic>;
  195. };
  196. serial1: serial@4600 {
  197. cell-index = <1>;
  198. device_type = "serial";
  199. compatible = "ns16550";
  200. reg = <0x4600 0x100>;
  201. clock-frequency = <0>;
  202. interrupts = <42 2>;
  203. interrupt-parent = <&mpic>;
  204. };
  205. global-utilities@e0000 { //global utilities block
  206. compatible = "fsl,mpc8548-guts";
  207. reg = <0xe0000 0x1000>;
  208. fsl,has-rstcr;
  209. };
  210. crypto@30000 {
  211. compatible = "fsl,sec2.1", "fsl,sec2.0";
  212. reg = <0x30000 0x10000>;
  213. interrupts = <45 2>;
  214. interrupt-parent = <&mpic>;
  215. fsl,num-channels = <4>;
  216. fsl,channel-fifo-len = <24>;
  217. fsl,exec-units-mask = <0xfe>;
  218. fsl,descriptor-types-mask = <0x12b0ebf>;
  219. };
  220. mpic: pic@40000 {
  221. interrupt-controller;
  222. #address-cells = <0>;
  223. #interrupt-cells = <2>;
  224. reg = <0x40000 0x40000>;
  225. compatible = "chrp,open-pic";
  226. device_type = "open-pic";
  227. };
  228. msi@41600 {
  229. compatible = "fsl,mpc8544-msi", "fsl,mpic-msi";
  230. reg = <0x41600 0x80>;
  231. msi-available-ranges = <0 0x100>;
  232. interrupts = <
  233. 0xe0 0
  234. 0xe1 0
  235. 0xe2 0
  236. 0xe3 0
  237. 0xe4 0
  238. 0xe5 0
  239. 0xe6 0
  240. 0xe7 0>;
  241. interrupt-parent = <&mpic>;
  242. };
  243. };
  244. pci0: pci@e0008000 {
  245. cell-index = <0>;
  246. compatible = "fsl,mpc8540-pci";
  247. device_type = "pci";
  248. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  249. interrupt-map = <
  250. /* IDSEL 0x11 J17 Slot 1 */
  251. 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
  252. 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
  253. 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
  254. 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1
  255. /* IDSEL 0x12 J16 Slot 2 */
  256. 0x9000 0x0 0x0 0x1 &mpic 0x3 0x1
  257. 0x9000 0x0 0x0 0x2 &mpic 0x4 0x1
  258. 0x9000 0x0 0x0 0x3 &mpic 0x2 0x1
  259. 0x9000 0x0 0x0 0x4 &mpic 0x1 0x1>;
  260. interrupt-parent = <&mpic>;
  261. interrupts = <24 2>;
  262. bus-range = <0 255>;
  263. ranges = <0x2000000 0x0 0xc0000000 0xc0000000 0x0 0x20000000
  264. 0x1000000 0x0 0x0 0xe1000000 0x0 0x10000>;
  265. clock-frequency = <66666666>;
  266. #interrupt-cells = <1>;
  267. #size-cells = <2>;
  268. #address-cells = <3>;
  269. reg = <0xe0008000 0x1000>;
  270. };
  271. pci1: pcie@e0009000 {
  272. cell-index = <1>;
  273. compatible = "fsl,mpc8548-pcie";
  274. device_type = "pci";
  275. #interrupt-cells = <1>;
  276. #size-cells = <2>;
  277. #address-cells = <3>;
  278. reg = <0xe0009000 0x1000>;
  279. bus-range = <0 255>;
  280. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  281. 0x1000000 0x0 0x0 0xe1010000 0x0 0x10000>;
  282. clock-frequency = <33333333>;
  283. interrupt-parent = <&mpic>;
  284. interrupts = <26 2>;
  285. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  286. interrupt-map = <
  287. /* IDSEL 0x0 */
  288. 0000 0x0 0x0 0x1 &mpic 0x4 0x1
  289. 0000 0x0 0x0 0x2 &mpic 0x5 0x1
  290. 0000 0x0 0x0 0x3 &mpic 0x6 0x1
  291. 0000 0x0 0x0 0x4 &mpic 0x7 0x1
  292. >;
  293. pcie@0 {
  294. reg = <0x0 0x0 0x0 0x0 0x0>;
  295. #size-cells = <2>;
  296. #address-cells = <3>;
  297. device_type = "pci";
  298. ranges = <0x2000000 0x0 0x80000000
  299. 0x2000000 0x0 0x80000000
  300. 0x0 0x20000000
  301. 0x1000000 0x0 0x0
  302. 0x1000000 0x0 0x0
  303. 0x0 0x10000>;
  304. };
  305. };
  306. pci2: pcie@e000a000 {
  307. cell-index = <2>;
  308. compatible = "fsl,mpc8548-pcie";
  309. device_type = "pci";
  310. #interrupt-cells = <1>;
  311. #size-cells = <2>;
  312. #address-cells = <3>;
  313. reg = <0xe000a000 0x1000>;
  314. bus-range = <0 255>;
  315. ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
  316. 0x1000000 0x0 0x0 0xe1020000 0x0 0x10000>;
  317. clock-frequency = <33333333>;
  318. interrupt-parent = <&mpic>;
  319. interrupts = <25 2>;
  320. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  321. interrupt-map = <
  322. /* IDSEL 0x0 */
  323. 0000 0x0 0x0 0x1 &mpic 0x0 0x1
  324. 0000 0x0 0x0 0x2 &mpic 0x1 0x1
  325. 0000 0x0 0x0 0x3 &mpic 0x2 0x1
  326. 0000 0x0 0x0 0x4 &mpic 0x3 0x1
  327. >;
  328. pcie@0 {
  329. reg = <0x0 0x0 0x0 0x0 0x0>;
  330. #size-cells = <2>;
  331. #address-cells = <3>;
  332. device_type = "pci";
  333. ranges = <0x2000000 0x0 0xa0000000
  334. 0x2000000 0x0 0xa0000000
  335. 0x0 0x10000000
  336. 0x1000000 0x0 0x0
  337. 0x1000000 0x0 0x0
  338. 0x0 0x10000>;
  339. };
  340. };
  341. pci3: pcie@e000b000 {
  342. cell-index = <3>;
  343. compatible = "fsl,mpc8548-pcie";
  344. device_type = "pci";
  345. #interrupt-cells = <1>;
  346. #size-cells = <2>;
  347. #address-cells = <3>;
  348. reg = <0xe000b000 0x1000>;
  349. bus-range = <0 255>;
  350. ranges = <0x2000000 0x0 0xb0000000 0xb0000000 0x0 0x100000
  351. 0x1000000 0x0 0x0 0xb0100000 0x0 0x100000>;
  352. clock-frequency = <33333333>;
  353. interrupt-parent = <&mpic>;
  354. interrupts = <27 2>;
  355. interrupt-map-mask = <0xff00 0x0 0x0 0x1>;
  356. interrupt-map = <
  357. // IDSEL 0x1c USB
  358. 0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
  359. 0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
  360. 0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
  361. 0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
  362. // IDSEL 0x1d Audio
  363. 0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
  364. // IDSEL 0x1e Legacy
  365. 0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
  366. 0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
  367. // IDSEL 0x1f IDE/SATA
  368. 0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
  369. 0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
  370. >;
  371. pcie@0 {
  372. reg = <0x0 0x0 0x0 0x0 0x0>;
  373. #size-cells = <2>;
  374. #address-cells = <3>;
  375. device_type = "pci";
  376. ranges = <0x2000000 0x0 0xb0000000
  377. 0x2000000 0x0 0xb0000000
  378. 0x0 0x100000
  379. 0x1000000 0x0 0x0
  380. 0x1000000 0x0 0x0
  381. 0x0 0x100000>;
  382. uli1575@0 {
  383. reg = <0x0 0x0 0x0 0x0 0x0>;
  384. #size-cells = <2>;
  385. #address-cells = <3>;
  386. ranges = <0x2000000 0x0 0xb0000000
  387. 0x2000000 0x0 0xb0000000
  388. 0x0 0x100000
  389. 0x1000000 0x0 0x0
  390. 0x1000000 0x0 0x0
  391. 0x0 0x100000>;
  392. isa@1e {
  393. device_type = "isa";
  394. #interrupt-cells = <2>;
  395. #size-cells = <1>;
  396. #address-cells = <2>;
  397. reg = <0xf000 0x0 0x0 0x0 0x0>;
  398. ranges = <0x1 0x0
  399. 0x1000000 0x0 0x0
  400. 0x1000>;
  401. interrupt-parent = <&i8259>;
  402. i8259: interrupt-controller@20 {
  403. reg = <0x1 0x20 0x2
  404. 0x1 0xa0 0x2
  405. 0x1 0x4d0 0x2>;
  406. interrupt-controller;
  407. device_type = "interrupt-controller";
  408. #address-cells = <0>;
  409. #interrupt-cells = <2>;
  410. compatible = "chrp,iic";
  411. interrupts = <9 2>;
  412. interrupt-parent = <&mpic>;
  413. };
  414. i8042@60 {
  415. #size-cells = <0>;
  416. #address-cells = <1>;
  417. reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
  418. interrupts = <1 3 12 3>;
  419. interrupt-parent = <&i8259>;
  420. keyboard@0 {
  421. reg = <0x0>;
  422. compatible = "pnpPNP,303";
  423. };
  424. mouse@1 {
  425. reg = <0x1>;
  426. compatible = "pnpPNP,f03";
  427. };
  428. };
  429. rtc@70 {
  430. compatible = "pnpPNP,b00";
  431. reg = <0x1 0x70 0x2>;
  432. };
  433. gpio@400 {
  434. reg = <0x1 0x400 0x80>;
  435. };
  436. };
  437. };
  438. };
  439. };
  440. };