mpc8641_hpcn.dts 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  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. /include/ "mpc8641si-pre.dtsi"
  12. / {
  13. model = "MPC8641HPCN";
  14. compatible = "fsl,mpc8641hpcn";
  15. memory {
  16. device_type = "memory";
  17. reg = <0x00000000 0x40000000>; // 1G at 0x0
  18. };
  19. lbc: localbus@ffe05000 {
  20. reg = <0xffe05000 0x1000>;
  21. ranges = <0 0 0xef800000 0x00800000
  22. 2 0 0xffdf8000 0x00008000
  23. 3 0 0xffdf0000 0x00008000>;
  24. flash@0,0 {
  25. compatible = "cfi-flash";
  26. reg = <0 0 0x00800000>;
  27. bank-width = <2>;
  28. device-width = <2>;
  29. #address-cells = <1>;
  30. #size-cells = <1>;
  31. partition@0 {
  32. label = "kernel";
  33. reg = <0x00000000 0x00300000>;
  34. };
  35. partition@300000 {
  36. label = "firmware b";
  37. reg = <0x00300000 0x00100000>;
  38. read-only;
  39. };
  40. partition@400000 {
  41. label = "fs";
  42. reg = <0x00400000 0x00300000>;
  43. };
  44. partition@700000 {
  45. label = "firmware a";
  46. reg = <0x00700000 0x00100000>;
  47. read-only;
  48. };
  49. };
  50. };
  51. soc: soc8641@ffe00000 {
  52. ranges = <0x00000000 0xffe00000 0x00100000>;
  53. enet0: ethernet@24000 {
  54. tbi-handle = <&tbi0>;
  55. phy-handle = <&phy0>;
  56. phy-connection-type = "rgmii-id";
  57. };
  58. mdio@24520 {
  59. phy0: ethernet-phy@0 {
  60. interrupts = <10 1 0 0>;
  61. reg = <0>;
  62. };
  63. phy1: ethernet-phy@1 {
  64. interrupts = <10 1 0 0>;
  65. reg = <1>;
  66. };
  67. phy2: ethernet-phy@2 {
  68. interrupts = <10 1 0 0>;
  69. reg = <2>;
  70. };
  71. phy3: ethernet-phy@3 {
  72. interrupts = <10 1 0 0>;
  73. reg = <3>;
  74. };
  75. tbi0: tbi-phy@11 {
  76. reg = <0x11>;
  77. device_type = "tbi-phy";
  78. };
  79. };
  80. enet1: ethernet@25000 {
  81. tbi-handle = <&tbi1>;
  82. phy-handle = <&phy1>;
  83. phy-connection-type = "rgmii-id";
  84. };
  85. mdio@25520 {
  86. tbi1: tbi-phy@11 {
  87. reg = <0x11>;
  88. device_type = "tbi-phy";
  89. };
  90. };
  91. enet2: ethernet@26000 {
  92. tbi-handle = <&tbi2>;
  93. phy-handle = <&phy2>;
  94. phy-connection-type = "rgmii-id";
  95. };
  96. mdio@26520 {
  97. tbi2: tbi-phy@11 {
  98. reg = <0x11>;
  99. device_type = "tbi-phy";
  100. };
  101. };
  102. enet3: ethernet@27000 {
  103. tbi-handle = <&tbi3>;
  104. phy-handle = <&phy3>;
  105. phy-connection-type = "rgmii-id";
  106. };
  107. mdio@27520 {
  108. tbi3: tbi-phy@11 {
  109. reg = <0x11>;
  110. device_type = "tbi-phy";
  111. };
  112. };
  113. rmu: rmu@d3000 {
  114. #address-cells = <1>;
  115. #size-cells = <1>;
  116. compatible = "fsl,srio-rmu";
  117. reg = <0xd3000 0x500>;
  118. ranges = <0x0 0xd3000 0x500>;
  119. message-unit@0 {
  120. compatible = "fsl,srio-msg-unit";
  121. reg = <0x0 0x100>;
  122. interrupts = <
  123. 53 2 0 0 /* msg1_tx_irq */
  124. 54 2 0 0>;/* msg1_rx_irq */
  125. };
  126. message-unit@100 {
  127. compatible = "fsl,srio-msg-unit";
  128. reg = <0x100 0x100>;
  129. interrupts = <
  130. 55 2 0 0 /* msg2_tx_irq */
  131. 56 2 0 0>;/* msg2_rx_irq */
  132. };
  133. doorbell-unit@400 {
  134. compatible = "fsl,srio-dbell-unit";
  135. reg = <0x400 0x80>;
  136. interrupts = <
  137. 49 2 0 0 /* bell_outb_irq */
  138. 50 2 0 0>;/* bell_inb_irq */
  139. };
  140. port-write-unit@4e0 {
  141. compatible = "fsl,srio-port-write-unit";
  142. reg = <0x4e0 0x20>;
  143. interrupts = <48 2 0 0>;
  144. };
  145. };
  146. };
  147. pci0: pcie@ffe08000 {
  148. reg = <0xffe08000 0x1000>;
  149. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  150. 0x01000000 0x0 0x00000000 0xffc00000 0x0 0x00010000>;
  151. interrupt-map-mask = <0xff00 0 0 7>;
  152. interrupt-map = <
  153. /* IDSEL 0x11 func 0 - PCI slot 1 */
  154. 0x8800 0 0 1 &mpic 2 1
  155. 0x8800 0 0 2 &mpic 3 1
  156. 0x8800 0 0 3 &mpic 4 1
  157. 0x8800 0 0 4 &mpic 1 1
  158. /* IDSEL 0x11 func 1 - PCI slot 1 */
  159. 0x8900 0 0 1 &mpic 2 1
  160. 0x8900 0 0 2 &mpic 3 1
  161. 0x8900 0 0 3 &mpic 4 1
  162. 0x8900 0 0 4 &mpic 1 1
  163. /* IDSEL 0x11 func 2 - PCI slot 1 */
  164. 0x8a00 0 0 1 &mpic 2 1
  165. 0x8a00 0 0 2 &mpic 3 1
  166. 0x8a00 0 0 3 &mpic 4 1
  167. 0x8a00 0 0 4 &mpic 1 1
  168. /* IDSEL 0x11 func 3 - PCI slot 1 */
  169. 0x8b00 0 0 1 &mpic 2 1
  170. 0x8b00 0 0 2 &mpic 3 1
  171. 0x8b00 0 0 3 &mpic 4 1
  172. 0x8b00 0 0 4 &mpic 1 1
  173. /* IDSEL 0x11 func 4 - PCI slot 1 */
  174. 0x8c00 0 0 1 &mpic 2 1
  175. 0x8c00 0 0 2 &mpic 3 1
  176. 0x8c00 0 0 3 &mpic 4 1
  177. 0x8c00 0 0 4 &mpic 1 1
  178. /* IDSEL 0x11 func 5 - PCI slot 1 */
  179. 0x8d00 0 0 1 &mpic 2 1
  180. 0x8d00 0 0 2 &mpic 3 1
  181. 0x8d00 0 0 3 &mpic 4 1
  182. 0x8d00 0 0 4 &mpic 1 1
  183. /* IDSEL 0x11 func 6 - PCI slot 1 */
  184. 0x8e00 0 0 1 &mpic 2 1
  185. 0x8e00 0 0 2 &mpic 3 1
  186. 0x8e00 0 0 3 &mpic 4 1
  187. 0x8e00 0 0 4 &mpic 1 1
  188. /* IDSEL 0x11 func 7 - PCI slot 1 */
  189. 0x8f00 0 0 1 &mpic 2 1
  190. 0x8f00 0 0 2 &mpic 3 1
  191. 0x8f00 0 0 3 &mpic 4 1
  192. 0x8f00 0 0 4 &mpic 1 1
  193. /* IDSEL 0x12 func 0 - PCI slot 2 */
  194. 0x9000 0 0 1 &mpic 3 1
  195. 0x9000 0 0 2 &mpic 4 1
  196. 0x9000 0 0 3 &mpic 1 1
  197. 0x9000 0 0 4 &mpic 2 1
  198. /* IDSEL 0x12 func 1 - PCI slot 2 */
  199. 0x9100 0 0 1 &mpic 3 1
  200. 0x9100 0 0 2 &mpic 4 1
  201. 0x9100 0 0 3 &mpic 1 1
  202. 0x9100 0 0 4 &mpic 2 1
  203. /* IDSEL 0x12 func 2 - PCI slot 2 */
  204. 0x9200 0 0 1 &mpic 3 1
  205. 0x9200 0 0 2 &mpic 4 1
  206. 0x9200 0 0 3 &mpic 1 1
  207. 0x9200 0 0 4 &mpic 2 1
  208. /* IDSEL 0x12 func 3 - PCI slot 2 */
  209. 0x9300 0 0 1 &mpic 3 1
  210. 0x9300 0 0 2 &mpic 4 1
  211. 0x9300 0 0 3 &mpic 1 1
  212. 0x9300 0 0 4 &mpic 2 1
  213. /* IDSEL 0x12 func 4 - PCI slot 2 */
  214. 0x9400 0 0 1 &mpic 3 1
  215. 0x9400 0 0 2 &mpic 4 1
  216. 0x9400 0 0 3 &mpic 1 1
  217. 0x9400 0 0 4 &mpic 2 1
  218. /* IDSEL 0x12 func 5 - PCI slot 2 */
  219. 0x9500 0 0 1 &mpic 3 1
  220. 0x9500 0 0 2 &mpic 4 1
  221. 0x9500 0 0 3 &mpic 1 1
  222. 0x9500 0 0 4 &mpic 2 1
  223. /* IDSEL 0x12 func 6 - PCI slot 2 */
  224. 0x9600 0 0 1 &mpic 3 1
  225. 0x9600 0 0 2 &mpic 4 1
  226. 0x9600 0 0 3 &mpic 1 1
  227. 0x9600 0 0 4 &mpic 2 1
  228. /* IDSEL 0x12 func 7 - PCI slot 2 */
  229. 0x9700 0 0 1 &mpic 3 1
  230. 0x9700 0 0 2 &mpic 4 1
  231. 0x9700 0 0 3 &mpic 1 1
  232. 0x9700 0 0 4 &mpic 2 1
  233. // IDSEL 0x1c USB
  234. 0xe000 0 0 1 &i8259 12 2
  235. 0xe100 0 0 2 &i8259 9 2
  236. 0xe200 0 0 3 &i8259 10 2
  237. 0xe300 0 0 4 &i8259 11 2
  238. // IDSEL 0x1d Audio
  239. 0xe800 0 0 1 &i8259 6 2
  240. // IDSEL 0x1e Legacy
  241. 0xf000 0 0 1 &i8259 7 2
  242. 0xf100 0 0 1 &i8259 7 2
  243. // IDSEL 0x1f IDE/SATA
  244. 0xf800 0 0 1 &i8259 14 2
  245. 0xf900 0 0 1 &i8259 5 2
  246. >;
  247. pcie@0 {
  248. ranges = <0x02000000 0x0 0x80000000
  249. 0x02000000 0x0 0x80000000
  250. 0x0 0x20000000
  251. 0x01000000 0x0 0x00000000
  252. 0x01000000 0x0 0x00000000
  253. 0x0 0x00010000>;
  254. uli1575@0 {
  255. reg = <0 0 0 0 0>;
  256. #size-cells = <2>;
  257. #address-cells = <3>;
  258. ranges = <0x02000000 0x0 0x80000000
  259. 0x02000000 0x0 0x80000000
  260. 0x0 0x20000000
  261. 0x01000000 0x0 0x00000000
  262. 0x01000000 0x0 0x00000000
  263. 0x0 0x00010000>;
  264. isa@1e {
  265. device_type = "isa";
  266. #size-cells = <1>;
  267. #address-cells = <2>;
  268. reg = <0xf000 0 0 0 0>;
  269. ranges = <1 0 0x01000000 0 0
  270. 0x00001000>;
  271. interrupt-parent = <&i8259>;
  272. i8259: interrupt-controller@20 {
  273. reg = <1 0x20 2
  274. 1 0xa0 2
  275. 1 0x4d0 2>;
  276. interrupt-controller;
  277. device_type = "interrupt-controller";
  278. #address-cells = <0>;
  279. #interrupt-cells = <2>;
  280. compatible = "chrp,iic";
  281. interrupts = <9 2 0 0>;
  282. };
  283. i8042@60 {
  284. #size-cells = <0>;
  285. #address-cells = <1>;
  286. reg = <1 0x60 1 1 0x64 1>;
  287. interrupts = <1 3 12 3>;
  288. interrupt-parent = <&i8259>;
  289. keyboard@0 {
  290. reg = <0>;
  291. compatible = "pnpPNP,303";
  292. };
  293. mouse@1 {
  294. reg = <1>;
  295. compatible = "pnpPNP,f03";
  296. };
  297. };
  298. rtc@70 {
  299. compatible =
  300. "pnpPNP,b00";
  301. reg = <1 0x70 2>;
  302. };
  303. gpio@400 {
  304. reg = <1 0x400 0x80>;
  305. };
  306. };
  307. };
  308. };
  309. };
  310. pci1: pcie@ffe09000 {
  311. reg = <0xffe09000 0x1000>;
  312. ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
  313. 0x01000000 0x0 0x00000000 0xffc10000 0x0 0x00010000>;
  314. pcie@0 {
  315. ranges = <0x02000000 0x0 0xa0000000
  316. 0x02000000 0x0 0xa0000000
  317. 0x0 0x20000000
  318. 0x01000000 0x0 0x00000000
  319. 0x01000000 0x0 0x00000000
  320. 0x0 0x00010000>;
  321. };
  322. };
  323. /*
  324. * Only one of Rapid IO or PCI can be present due to HW limitations and
  325. * due to the fact that the 2 now share address space in the new memory
  326. * map. The most likely case is that we have PCI, so comment out the
  327. * rapidio node. Leave it here for reference.
  328. rapidio@ffec0000 {
  329. reg = <0xffec0000 0x11000>;
  330. compatible = "fsl,srio";
  331. interrupts = <48 2 0 0>;
  332. #address-cells = <2>;
  333. #size-cells = <2>;
  334. fsl,srio-rmu-handle = <&rmu>;
  335. ranges;
  336. port1 {
  337. #address-cells = <2>;
  338. #size-cells = <2>;
  339. cell-index = <1>;
  340. ranges = <0 0 0x80000000 0 0x20000000>;
  341. };
  342. };
  343. */
  344. };
  345. /include/ "mpc8641si-post.dtsi"