oftree.dts 6.8 KB

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