mpc8544ds.dts 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  1. /*
  2. * MPC8544 DS Device Tree Source
  3. *
  4. * Copyright 2007 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. / {
  12. model = "MPC8544DS";
  13. compatible = "MPC8544DS", "MPC85xxDS";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. aliases {
  17. ethernet0 = &enet0;
  18. ethernet1 = &enet1;
  19. serial0 = &serial0;
  20. serial1 = &serial1;
  21. pci0 = &pci0;
  22. pci1 = &pci1;
  23. pci2 = &pci2;
  24. pci3 = &pci3;
  25. };
  26. cpus {
  27. #cpus = <1>;
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. PowerPC,8544@0 {
  31. device_type = "cpu";
  32. reg = <0>;
  33. d-cache-line-size = <20>; // 32 bytes
  34. i-cache-line-size = <20>; // 32 bytes
  35. d-cache-size = <8000>; // L1, 32K
  36. i-cache-size = <8000>; // L1, 32K
  37. timebase-frequency = <0>;
  38. bus-frequency = <0>;
  39. clock-frequency = <0>;
  40. };
  41. };
  42. memory {
  43. device_type = "memory";
  44. reg = <00000000 00000000>; // Filled by U-Boot
  45. };
  46. soc8544@e0000000 {
  47. #address-cells = <1>;
  48. #size-cells = <1>;
  49. device_type = "soc";
  50. ranges = <00000000 e0000000 00100000>;
  51. reg = <e0000000 00001000>; // CCSRBAR 1M
  52. bus-frequency = <0>; // Filled out by uboot.
  53. memory-controller@2000 {
  54. compatible = "fsl,8544-memory-controller";
  55. reg = <2000 1000>;
  56. interrupt-parent = <&mpic>;
  57. interrupts = <12 2>;
  58. };
  59. l2-cache-controller@20000 {
  60. compatible = "fsl,8544-l2-cache-controller";
  61. reg = <20000 1000>;
  62. cache-line-size = <20>; // 32 bytes
  63. cache-size = <40000>; // L2, 256K
  64. interrupt-parent = <&mpic>;
  65. interrupts = <10 2>;
  66. };
  67. i2c@3000 {
  68. #address-cells = <1>;
  69. #size-cells = <0>;
  70. cell-index = <0>;
  71. compatible = "fsl-i2c";
  72. reg = <3000 100>;
  73. interrupts = <2b 2>;
  74. interrupt-parent = <&mpic>;
  75. dfsrr;
  76. };
  77. i2c@3100 {
  78. #address-cells = <1>;
  79. #size-cells = <0>;
  80. cell-index = <1>;
  81. compatible = "fsl-i2c";
  82. reg = <3100 100>;
  83. interrupts = <2b 2>;
  84. interrupt-parent = <&mpic>;
  85. dfsrr;
  86. };
  87. mdio@24520 {
  88. #address-cells = <1>;
  89. #size-cells = <0>;
  90. compatible = "fsl,gianfar-mdio";
  91. reg = <24520 20>;
  92. phy0: ethernet-phy@0 {
  93. interrupt-parent = <&mpic>;
  94. interrupts = <a 1>;
  95. reg = <0>;
  96. device_type = "ethernet-phy";
  97. };
  98. phy1: ethernet-phy@1 {
  99. interrupt-parent = <&mpic>;
  100. interrupts = <a 1>;
  101. reg = <1>;
  102. device_type = "ethernet-phy";
  103. };
  104. };
  105. enet0: ethernet@24000 {
  106. cell-index = <0>;
  107. device_type = "network";
  108. model = "TSEC";
  109. compatible = "gianfar";
  110. reg = <24000 1000>;
  111. local-mac-address = [ 00 00 00 00 00 00 ];
  112. interrupts = <1d 2 1e 2 22 2>;
  113. interrupt-parent = <&mpic>;
  114. phy-handle = <&phy0>;
  115. phy-connection-type = "rgmii-id";
  116. };
  117. enet1: ethernet@26000 {
  118. cell-index = <1>;
  119. device_type = "network";
  120. model = "TSEC";
  121. compatible = "gianfar";
  122. reg = <26000 1000>;
  123. local-mac-address = [ 00 00 00 00 00 00 ];
  124. interrupts = <1f 2 20 2 21 2>;
  125. interrupt-parent = <&mpic>;
  126. phy-handle = <&phy1>;
  127. phy-connection-type = "rgmii-id";
  128. };
  129. serial0: serial@4500 {
  130. cell-index = <0>;
  131. device_type = "serial";
  132. compatible = "ns16550";
  133. reg = <4500 100>;
  134. clock-frequency = <0>;
  135. interrupts = <2a 2>;
  136. interrupt-parent = <&mpic>;
  137. };
  138. serial1: serial@4600 {
  139. cell-index = <1>;
  140. device_type = "serial";
  141. compatible = "ns16550";
  142. reg = <4600 100>;
  143. clock-frequency = <0>;
  144. interrupts = <2a 2>;
  145. interrupt-parent = <&mpic>;
  146. };
  147. global-utilities@e0000 { //global utilities block
  148. compatible = "fsl,mpc8548-guts";
  149. reg = <e0000 1000>;
  150. fsl,has-rstcr;
  151. };
  152. mpic: pic@40000 {
  153. clock-frequency = <0>;
  154. interrupt-controller;
  155. #address-cells = <0>;
  156. #interrupt-cells = <2>;
  157. reg = <40000 40000>;
  158. compatible = "chrp,open-pic";
  159. device_type = "open-pic";
  160. big-endian;
  161. };
  162. };
  163. pci0: pci@e0008000 {
  164. cell-index = <0>;
  165. compatible = "fsl,mpc8540-pci";
  166. device_type = "pci";
  167. interrupt-map-mask = <f800 0 0 7>;
  168. interrupt-map = <
  169. /* IDSEL 0x11 J17 Slot 1 */
  170. 8800 0 0 1 &mpic 2 1
  171. 8800 0 0 2 &mpic 3 1
  172. 8800 0 0 3 &mpic 4 1
  173. 8800 0 0 4 &mpic 1 1
  174. /* IDSEL 0x12 J16 Slot 2 */
  175. 9000 0 0 1 &mpic 3 1
  176. 9000 0 0 2 &mpic 4 1
  177. 9000 0 0 3 &mpic 2 1
  178. 9000 0 0 4 &mpic 1 1>;
  179. interrupt-parent = <&mpic>;
  180. interrupts = <18 2>;
  181. bus-range = <0 ff>;
  182. ranges = <02000000 0 c0000000 c0000000 0 20000000
  183. 01000000 0 00000000 e1000000 0 00010000>;
  184. clock-frequency = <3f940aa>;
  185. #interrupt-cells = <1>;
  186. #size-cells = <2>;
  187. #address-cells = <3>;
  188. reg = <e0008000 1000>;
  189. };
  190. pci1: pcie@e0009000 {
  191. cell-index = <1>;
  192. compatible = "fsl,mpc8548-pcie";
  193. device_type = "pci";
  194. #interrupt-cells = <1>;
  195. #size-cells = <2>;
  196. #address-cells = <3>;
  197. reg = <e0009000 1000>;
  198. bus-range = <0 ff>;
  199. ranges = <02000000 0 80000000 80000000 0 20000000
  200. 01000000 0 00000000 e1010000 0 00010000>;
  201. clock-frequency = <1fca055>;
  202. interrupt-parent = <&mpic>;
  203. interrupts = <1a 2>;
  204. interrupt-map-mask = <f800 0 0 7>;
  205. interrupt-map = <
  206. /* IDSEL 0x0 */
  207. 0000 0 0 1 &mpic 4 1
  208. 0000 0 0 2 &mpic 5 1
  209. 0000 0 0 3 &mpic 6 1
  210. 0000 0 0 4 &mpic 7 1
  211. >;
  212. pcie@0 {
  213. reg = <0 0 0 0 0>;
  214. #size-cells = <2>;
  215. #address-cells = <3>;
  216. device_type = "pci";
  217. ranges = <02000000 0 80000000
  218. 02000000 0 80000000
  219. 0 20000000
  220. 01000000 0 00000000
  221. 01000000 0 00000000
  222. 0 00010000>;
  223. };
  224. };
  225. pci2: pcie@e000a000 {
  226. cell-index = <2>;
  227. compatible = "fsl,mpc8548-pcie";
  228. device_type = "pci";
  229. #interrupt-cells = <1>;
  230. #size-cells = <2>;
  231. #address-cells = <3>;
  232. reg = <e000a000 1000>;
  233. bus-range = <0 ff>;
  234. ranges = <02000000 0 a0000000 a0000000 0 10000000
  235. 01000000 0 00000000 e1020000 0 00010000>;
  236. clock-frequency = <1fca055>;
  237. interrupt-parent = <&mpic>;
  238. interrupts = <19 2>;
  239. interrupt-map-mask = <f800 0 0 7>;
  240. interrupt-map = <
  241. /* IDSEL 0x0 */
  242. 0000 0 0 1 &mpic 0 1
  243. 0000 0 0 2 &mpic 1 1
  244. 0000 0 0 3 &mpic 2 1
  245. 0000 0 0 4 &mpic 3 1
  246. >;
  247. pcie@0 {
  248. reg = <0 0 0 0 0>;
  249. #size-cells = <2>;
  250. #address-cells = <3>;
  251. device_type = "pci";
  252. ranges = <02000000 0 a0000000
  253. 02000000 0 a0000000
  254. 0 10000000
  255. 01000000 0 00000000
  256. 01000000 0 00000000
  257. 0 00010000>;
  258. };
  259. };
  260. pci3: pcie@e000b000 {
  261. cell-index = <3>;
  262. compatible = "fsl,mpc8548-pcie";
  263. device_type = "pci";
  264. #interrupt-cells = <1>;
  265. #size-cells = <2>;
  266. #address-cells = <3>;
  267. reg = <e000b000 1000>;
  268. bus-range = <0 ff>;
  269. ranges = <02000000 0 b0000000 b0000000 0 00100000
  270. 01000000 0 00000000 b0100000 0 00100000>;
  271. clock-frequency = <1fca055>;
  272. interrupt-parent = <&mpic>;
  273. interrupts = <1b 2>;
  274. interrupt-map-mask = <ff00 0 0 1>;
  275. interrupt-map = <
  276. // IDSEL 0x1c USB
  277. e000 0 0 1 &i8259 c 2
  278. e100 0 0 2 &i8259 9 2
  279. e200 0 0 3 &i8259 a 2
  280. e300 0 0 4 &i8259 b 2
  281. // IDSEL 0x1d Audio
  282. e800 0 0 1 &i8259 6 2
  283. // IDSEL 0x1e Legacy
  284. f000 0 0 1 &i8259 7 2
  285. f100 0 0 1 &i8259 7 2
  286. // IDSEL 0x1f IDE/SATA
  287. f800 0 0 1 &i8259 e 2
  288. f900 0 0 1 &i8259 5 2
  289. >;
  290. pcie@0 {
  291. reg = <0 0 0 0 0>;
  292. #size-cells = <2>;
  293. #address-cells = <3>;
  294. device_type = "pci";
  295. ranges = <02000000 0 b0000000
  296. 02000000 0 b0000000
  297. 0 00100000
  298. 01000000 0 00000000
  299. 01000000 0 00000000
  300. 0 00100000>;
  301. uli1575@0 {
  302. reg = <0 0 0 0 0>;
  303. #size-cells = <2>;
  304. #address-cells = <3>;
  305. ranges = <02000000 0 b0000000
  306. 02000000 0 b0000000
  307. 0 00100000
  308. 01000000 0 00000000
  309. 01000000 0 00000000
  310. 0 00100000>;
  311. isa@1e {
  312. device_type = "isa";
  313. #interrupt-cells = <2>;
  314. #size-cells = <1>;
  315. #address-cells = <2>;
  316. reg = <f000 0 0 0 0>;
  317. ranges = <1 0
  318. 01000000 0 0
  319. 00001000>;
  320. interrupt-parent = <&i8259>;
  321. i8259: interrupt-controller@20 {
  322. reg = <1 20 2
  323. 1 a0 2
  324. 1 4d0 2>;
  325. interrupt-controller;
  326. device_type = "interrupt-controller";
  327. #address-cells = <0>;
  328. #interrupt-cells = <2>;
  329. compatible = "chrp,iic";
  330. interrupts = <9 2>;
  331. interrupt-parent = <&mpic>;
  332. };
  333. i8042@60 {
  334. #size-cells = <0>;
  335. #address-cells = <1>;
  336. reg = <1 60 1 1 64 1>;
  337. interrupts = <1 3 c 3>;
  338. interrupt-parent = <&i8259>;
  339. keyboard@0 {
  340. reg = <0>;
  341. compatible = "pnpPNP,303";
  342. };
  343. mouse@1 {
  344. reg = <1>;
  345. compatible = "pnpPNP,f03";
  346. };
  347. };
  348. rtc@70 {
  349. compatible = "pnpPNP,b00";
  350. reg = <1 70 2>;
  351. };
  352. gpio@400 {
  353. reg = <1 400 80>;
  354. };
  355. };
  356. };
  357. };
  358. };
  359. };