mpc8641_hpcn.dts 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. /*
  2. * MPC8641 HPCN Device Tree Source
  3. *
  4. * Copyright 2006 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 = "MPC8641HPCN";
  13. compatible = "mpc86xx";
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. cpus {
  17. #cpus = <2>;
  18. #address-cells = <1>;
  19. #size-cells = <0>;
  20. PowerPC,8641@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>; // 33 MHz, from uboot
  28. bus-frequency = <0>; // From uboot
  29. clock-frequency = <0>; // From uboot
  30. 32-bit;
  31. };
  32. PowerPC,8641@1 {
  33. device_type = "cpu";
  34. reg = <1>;
  35. d-cache-line-size = <20>; // 32 bytes
  36. i-cache-line-size = <20>; // 32 bytes
  37. d-cache-size = <8000>; // L1, 32K
  38. i-cache-size = <8000>; // L1, 32K
  39. timebase-frequency = <0>; // 33 MHz, from uboot
  40. bus-frequency = <0>; // From uboot
  41. clock-frequency = <0>; // From uboot
  42. 32-bit;
  43. };
  44. };
  45. memory {
  46. device_type = "memory";
  47. reg = <00000000 40000000>; // 1G at 0x0
  48. };
  49. soc8641@f8000000 {
  50. #address-cells = <1>;
  51. #size-cells = <1>;
  52. #interrupt-cells = <2>;
  53. device_type = "soc";
  54. ranges = <0 f8000000 00100000>;
  55. reg = <f8000000 00100000>; // CCSRBAR 1M
  56. bus-frequency = <0>;
  57. i2c@3000 {
  58. device_type = "i2c";
  59. compatible = "fsl-i2c";
  60. reg = <3000 100>;
  61. interrupts = <2b 2>;
  62. interrupt-parent = <40000>;
  63. dfsrr;
  64. };
  65. i2c@3100 {
  66. device_type = "i2c";
  67. compatible = "fsl-i2c";
  68. reg = <3100 100>;
  69. interrupts = <2b 2>;
  70. interrupt-parent = <40000>;
  71. dfsrr;
  72. };
  73. mdio@24520 {
  74. #address-cells = <1>;
  75. #size-cells = <0>;
  76. device_type = "mdio";
  77. compatible = "gianfar";
  78. reg = <24520 20>;
  79. linux,phandle = <24520>;
  80. ethernet-phy@0 {
  81. linux,phandle = <2452000>;
  82. interrupt-parent = <40000>;
  83. interrupts = <4a 1>;
  84. reg = <0>;
  85. device_type = "ethernet-phy";
  86. };
  87. ethernet-phy@1 {
  88. linux,phandle = <2452001>;
  89. interrupt-parent = <40000>;
  90. interrupts = <4a 1>;
  91. reg = <1>;
  92. device_type = "ethernet-phy";
  93. };
  94. ethernet-phy@2 {
  95. linux,phandle = <2452002>;
  96. interrupt-parent = <40000>;
  97. interrupts = <4a 1>;
  98. reg = <2>;
  99. device_type = "ethernet-phy";
  100. };
  101. ethernet-phy@3 {
  102. linux,phandle = <2452003>;
  103. interrupt-parent = <40000>;
  104. interrupts = <4a 1>;
  105. reg = <3>;
  106. device_type = "ethernet-phy";
  107. };
  108. };
  109. ethernet@24000 {
  110. #address-cells = <1>;
  111. #size-cells = <0>;
  112. device_type = "network";
  113. model = "TSEC";
  114. compatible = "gianfar";
  115. reg = <24000 1000>;
  116. mac-address = [ 00 E0 0C 00 73 00 ];
  117. interrupts = <1d 2 1e 2 22 2>;
  118. interrupt-parent = <40000>;
  119. phy-handle = <2452000>;
  120. };
  121. ethernet@25000 {
  122. #address-cells = <1>;
  123. #size-cells = <0>;
  124. device_type = "network";
  125. model = "TSEC";
  126. compatible = "gianfar";
  127. reg = <25000 1000>;
  128. mac-address = [ 00 E0 0C 00 73 01 ];
  129. interrupts = <23 2 24 2 28 2>;
  130. interrupt-parent = <40000>;
  131. phy-handle = <2452001>;
  132. };
  133. ethernet@26000 {
  134. #address-cells = <1>;
  135. #size-cells = <0>;
  136. device_type = "network";
  137. model = "TSEC";
  138. compatible = "gianfar";
  139. reg = <26000 1000>;
  140. mac-address = [ 00 E0 0C 00 02 FD ];
  141. interrupts = <1F 2 20 2 21 2>;
  142. interrupt-parent = <40000>;
  143. phy-handle = <2452002>;
  144. };
  145. ethernet@27000 {
  146. #address-cells = <1>;
  147. #size-cells = <0>;
  148. device_type = "network";
  149. model = "TSEC";
  150. compatible = "gianfar";
  151. reg = <27000 1000>;
  152. mac-address = [ 00 E0 0C 00 03 FD ];
  153. interrupts = <25 2 26 2 27 2>;
  154. interrupt-parent = <40000>;
  155. phy-handle = <2452003>;
  156. };
  157. serial@4500 {
  158. device_type = "serial";
  159. compatible = "ns16550";
  160. reg = <4500 100>;
  161. clock-frequency = <0>;
  162. interrupts = <2a 2>;
  163. interrupt-parent = <40000>;
  164. };
  165. serial@4600 {
  166. device_type = "serial";
  167. compatible = "ns16550";
  168. reg = <4600 100>;
  169. clock-frequency = <0>;
  170. interrupts = <1c 2>;
  171. interrupt-parent = <40000>;
  172. };
  173. pci@8000 {
  174. compatible = "86xx";
  175. device_type = "pci";
  176. #interrupt-cells = <1>;
  177. #size-cells = <2>;
  178. #address-cells = <3>;
  179. reg = <8000 1000>;
  180. bus-range = <0 fe>;
  181. ranges = <02000000 0 80000000 80000000 0 20000000
  182. 01000000 0 00000000 e2000000 0 00100000>;
  183. clock-frequency = <1fca055>;
  184. interrupt-parent = <40000>;
  185. interrupts = <18 2>;
  186. interrupt-map-mask = <f800 0 0 7>;
  187. interrupt-map = <
  188. /* IDSEL 0x11 */
  189. 8800 0 0 1 4d0 3 2
  190. 8800 0 0 2 4d0 4 2
  191. 8800 0 0 3 4d0 5 2
  192. 8800 0 0 4 4d0 6 2
  193. /* IDSEL 0x12 */
  194. 9000 0 0 1 4d0 4 2
  195. 9000 0 0 2 4d0 5 2
  196. 9000 0 0 3 4d0 6 2
  197. 9000 0 0 4 4d0 3 2
  198. /* IDSEL 0x13 */
  199. 9800 0 0 1 4d0 0 0
  200. 9800 0 0 2 4d0 0 0
  201. 9800 0 0 3 4d0 0 0
  202. 9800 0 0 4 4d0 0 0
  203. /* IDSEL 0x14 */
  204. a000 0 0 1 4d0 0 0
  205. a000 0 0 2 4d0 0 0
  206. a000 0 0 3 4d0 0 0
  207. a000 0 0 4 4d0 0 0
  208. /* IDSEL 0x15 */
  209. a800 0 0 1 4d0 0 0
  210. a800 0 0 2 4d0 0 0
  211. a800 0 0 3 4d0 0 0
  212. a800 0 0 4 4d0 0 0
  213. /* IDSEL 0x16 */
  214. b000 0 0 1 4d0 0 0
  215. b000 0 0 2 4d0 0 0
  216. b000 0 0 3 4d0 0 0
  217. b000 0 0 4 4d0 0 0
  218. /* IDSEL 0x17 */
  219. b800 0 0 1 4d0 0 0
  220. b800 0 0 2 4d0 0 0
  221. b800 0 0 3 4d0 0 0
  222. b800 0 0 4 4d0 0 0
  223. /* IDSEL 0x18 */
  224. c000 0 0 1 4d0 0 0
  225. c000 0 0 2 4d0 0 0
  226. c000 0 0 3 4d0 0 0
  227. c000 0 0 4 4d0 0 0
  228. /* IDSEL 0x19 */
  229. c800 0 0 1 4d0 0 0
  230. c800 0 0 2 4d0 0 0
  231. c800 0 0 3 4d0 0 0
  232. c800 0 0 4 4d0 0 0
  233. /* IDSEL 0x1a */
  234. d000 0 0 1 4d0 6 2
  235. d000 0 0 2 4d0 3 2
  236. d000 0 0 3 4d0 4 2
  237. d000 0 0 4 4d0 5 2
  238. /* IDSEL 0x1b */
  239. d800 0 0 1 4d0 5 2
  240. d800 0 0 2 4d0 0 0
  241. d800 0 0 3 4d0 0 0
  242. d800 0 0 4 4d0 0 0
  243. /* IDSEL 0x1c */
  244. e000 0 0 1 4d0 9 2
  245. e000 0 0 2 4d0 a 2
  246. e000 0 0 3 4d0 c 2
  247. e000 0 0 4 4d0 7 2
  248. /* IDSEL 0x1d */
  249. e800 0 0 1 4d0 9 2
  250. e800 0 0 2 4d0 a 2
  251. e800 0 0 3 4d0 b 2
  252. e800 0 0 4 4d0 0 0
  253. /* IDSEL 0x1e */
  254. f000 0 0 1 4d0 c 2
  255. f000 0 0 2 4d0 0 0
  256. f000 0 0 3 4d0 0 0
  257. f000 0 0 4 4d0 0 0
  258. /* IDSEL 0x1f */
  259. f800 0 0 1 4d0 6 2
  260. f800 0 0 2 4d0 0 0
  261. f800 0 0 3 4d0 0 0
  262. f800 0 0 4 4d0 0 0
  263. >;
  264. i8259@4d0 {
  265. linux,phandle = <4d0>;
  266. clock-frequency = <0>;
  267. interrupt-controller;
  268. device_type = "interrupt-controller";
  269. #address-cells = <0>;
  270. #interrupt-cells = <2>;
  271. built-in;
  272. compatible = "chrp,iic";
  273. big-endian;
  274. interrupts = <49 2>;
  275. interrupt-parent = <40000>;
  276. };
  277. };
  278. pic@40000 {
  279. linux,phandle = <40000>;
  280. clock-frequency = <0>;
  281. interrupt-controller;
  282. #address-cells = <0>;
  283. #interrupt-cells = <2>;
  284. reg = <40000 40000>;
  285. built-in;
  286. compatible = "chrp,open-pic";
  287. device_type = "open-pic";
  288. big-endian;
  289. interrupts = <
  290. 10 2 11 2 12 2 13 2
  291. 14 2 15 2 16 2 17 2
  292. 18 2 19 2 1a 2 1b 2
  293. 1c 2 1d 2 1e 2 1f 2
  294. 20 2 21 2 22 2 23 2
  295. 24 2 25 2 26 2 27 2
  296. 28 2 29 2 2a 2 2b 2
  297. 2c 2 2d 2 2e 2 2f 2
  298. 30 2 31 2 32 2 33 2
  299. 34 2 35 2 36 2 37 2
  300. 38 2 39 2 2a 2 3b 2
  301. 3c 2 3d 2 3e 2 3f 2
  302. 48 1 49 2 4a 1
  303. >;
  304. interrupt-parent = <40000>;
  305. };
  306. };
  307. };