mpc8544ds.dts 11 KB

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