mpc8641_hpcn.dts 7.2 KB

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