mpc8544ds.dts 11 KB

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