mpc8544ds.dts 8.2 KB

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