mpc8548cds.dts 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. /*
  2. * MPC8548 CDS Device Tree Source
  3. *
  4. * Copyright 2006, 2008 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/ "fsl/mpc8548si-pre.dtsi"
  12. / {
  13. model = "MPC8548CDS";
  14. compatible = "MPC8548CDS", "MPC85xxCDS";
  15. aliases {
  16. ethernet0 = &enet0;
  17. ethernet1 = &enet1;
  18. ethernet2 = &enet2;
  19. ethernet3 = &enet3;
  20. serial0 = &serial0;
  21. serial1 = &serial1;
  22. pci0 = &pci0;
  23. pci1 = &pci1;
  24. pci2 = &pci2;
  25. };
  26. memory {
  27. device_type = "memory";
  28. reg = <0 0 0x0 0x8000000>; // 128M at 0x0
  29. };
  30. lbc: localbus@e0005000 {
  31. reg = <0 0xe0005000 0 0x1000>;
  32. };
  33. soc: soc8548@e0000000 {
  34. ranges = <0 0x0 0xe0000000 0x100000>;
  35. i2c@3000 {
  36. eeprom@50 {
  37. compatible = "atmel,24c64";
  38. reg = <0x50>;
  39. };
  40. eeprom@56 {
  41. compatible = "atmel,24c64";
  42. reg = <0x56>;
  43. };
  44. eeprom@57 {
  45. compatible = "atmel,24c64";
  46. reg = <0x57>;
  47. };
  48. };
  49. i2c@3100 {
  50. eeprom@50 {
  51. compatible = "atmel,24c64";
  52. reg = <0x50>;
  53. };
  54. };
  55. enet0: ethernet@24000 {
  56. tbi-handle = <&tbi0>;
  57. phy-handle = <&phy0>;
  58. };
  59. mdio@24520 {
  60. phy0: ethernet-phy@0 {
  61. interrupts = <5 1 0 0>;
  62. reg = <0x0>;
  63. device_type = "ethernet-phy";
  64. };
  65. phy1: ethernet-phy@1 {
  66. interrupts = <5 1 0 0>;
  67. reg = <0x1>;
  68. device_type = "ethernet-phy";
  69. };
  70. phy2: ethernet-phy@2 {
  71. interrupts = <5 1 0 0>;
  72. reg = <0x2>;
  73. device_type = "ethernet-phy";
  74. };
  75. phy3: ethernet-phy@3 {
  76. interrupts = <5 1 0 0>;
  77. reg = <0x3>;
  78. device_type = "ethernet-phy";
  79. };
  80. tbi0: tbi-phy@11 {
  81. reg = <0x11>;
  82. device_type = "tbi-phy";
  83. };
  84. };
  85. enet1: ethernet@25000 {
  86. tbi-handle = <&tbi1>;
  87. phy-handle = <&phy1>;
  88. };
  89. mdio@25520 {
  90. tbi1: tbi-phy@11 {
  91. reg = <0x11>;
  92. device_type = "tbi-phy";
  93. };
  94. };
  95. enet2: ethernet@26000 {
  96. tbi-handle = <&tbi2>;
  97. phy-handle = <&phy2>;
  98. };
  99. mdio@26520 {
  100. tbi2: tbi-phy@11 {
  101. reg = <0x11>;
  102. device_type = "tbi-phy";
  103. };
  104. };
  105. enet3: ethernet@27000 {
  106. tbi-handle = <&tbi3>;
  107. phy-handle = <&phy3>;
  108. };
  109. mdio@27520 {
  110. tbi3: tbi-phy@11 {
  111. reg = <0x11>;
  112. device_type = "tbi-phy";
  113. };
  114. };
  115. };
  116. pci0: pci@e0008000 {
  117. reg = <0 0xe0008000 0 0x1000>;
  118. ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x10000000
  119. 0x1000000 0x0 0x00000000 0 0xe2000000 0x0 0x800000>;
  120. clock-frequency = <66666666>;
  121. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  122. interrupt-map = <
  123. /* IDSEL 0x4 (PCIX Slot 2) */
  124. 0x2000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  125. 0x2000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  126. 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  127. 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  128. /* IDSEL 0x5 (PCIX Slot 3) */
  129. 0x2800 0x0 0x0 0x1 &mpic 0x1 0x1 0 0
  130. 0x2800 0x0 0x0 0x2 &mpic 0x2 0x1 0 0
  131. 0x2800 0x0 0x0 0x3 &mpic 0x3 0x1 0 0
  132. 0x2800 0x0 0x0 0x4 &mpic 0x0 0x1 0 0
  133. /* IDSEL 0x6 (PCIX Slot 4) */
  134. 0x3000 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  135. 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  136. 0x3000 0x0 0x0 0x3 &mpic 0x0 0x1 0 0
  137. 0x3000 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  138. /* IDSEL 0x8 (PCIX Slot 5) */
  139. 0x4000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  140. 0x4000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  141. 0x4000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  142. 0x4000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  143. /* IDSEL 0xC (Tsi310 bridge) */
  144. 0x6000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  145. 0x6000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  146. 0x6000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  147. 0x6000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  148. /* IDSEL 0x14 (Slot 2) */
  149. 0xa000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  150. 0xa000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  151. 0xa000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  152. 0xa000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  153. /* IDSEL 0x15 (Slot 3) */
  154. 0xa800 0x0 0x0 0x1 &mpic 0x1 0x1 0 0
  155. 0xa800 0x0 0x0 0x2 &mpic 0x2 0x1 0 0
  156. 0xa800 0x0 0x0 0x3 &mpic 0x3 0x1 0 0
  157. 0xa800 0x0 0x0 0x4 &mpic 0x0 0x1 0 0
  158. /* IDSEL 0x16 (Slot 4) */
  159. 0xb000 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  160. 0xb000 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  161. 0xb000 0x0 0x0 0x3 &mpic 0x0 0x1 0 0
  162. 0xb000 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  163. /* IDSEL 0x18 (Slot 5) */
  164. 0xc000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  165. 0xc000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  166. 0xc000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  167. 0xc000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  168. /* IDSEL 0x1C (Tsi310 bridge PCI primary) */
  169. 0xe000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  170. 0xe000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  171. 0xe000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  172. 0xe000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0>;
  173. pci_bridge@1c {
  174. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  175. interrupt-map = <
  176. /* IDSEL 0x00 (PrPMC Site) */
  177. 0000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  178. 0000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  179. 0000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  180. 0000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  181. /* IDSEL 0x04 (VIA chip) */
  182. 0x2000 0x0 0x0 0x1 &mpic 0x0 0x1 0 0
  183. 0x2000 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  184. 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  185. 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1 0 0
  186. /* IDSEL 0x05 (8139) */
  187. 0x2800 0x0 0x0 0x1 &mpic 0x1 0x1 0 0
  188. /* IDSEL 0x06 (Slot 6) */
  189. 0x3000 0x0 0x0 0x1 &mpic 0x2 0x1 0 0
  190. 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1 0 0
  191. 0x3000 0x0 0x0 0x3 &mpic 0x0 0x1 0 0
  192. 0x3000 0x0 0x0 0x4 &mpic 0x1 0x1 0 0
  193. /* IDESL 0x07 (Slot 7) */
  194. 0x3800 0x0 0x0 0x1 &mpic 0x3 0x1 0 0
  195. 0x3800 0x0 0x0 0x2 &mpic 0x0 0x1 0 0
  196. 0x3800 0x0 0x0 0x3 &mpic 0x1 0x1 0 0
  197. 0x3800 0x0 0x0 0x4 &mpic 0x2 0x1 0 0>;
  198. reg = <0xe000 0x0 0x0 0x0 0x0>;
  199. #interrupt-cells = <1>;
  200. #size-cells = <2>;
  201. #address-cells = <3>;
  202. ranges = <0x2000000 0x0 0x80000000
  203. 0x2000000 0x0 0x80000000
  204. 0x0 0x20000000
  205. 0x1000000 0x0 0x0
  206. 0x1000000 0x0 0x0
  207. 0x0 0x80000>;
  208. clock-frequency = <33333333>;
  209. isa@4 {
  210. device_type = "isa";
  211. #interrupt-cells = <2>;
  212. #size-cells = <1>;
  213. #address-cells = <2>;
  214. reg = <0x2000 0x0 0x0 0x0 0x0>;
  215. ranges = <0x1 0x0 0x1000000 0x0 0x0 0x1000>;
  216. interrupt-parent = <&i8259>;
  217. i8259: interrupt-controller@20 {
  218. interrupt-controller;
  219. device_type = "interrupt-controller";
  220. reg = <0x1 0x20 0x2
  221. 0x1 0xa0 0x2
  222. 0x1 0x4d0 0x2>;
  223. #address-cells = <0>;
  224. #interrupt-cells = <2>;
  225. compatible = "chrp,iic";
  226. interrupts = <0 1 0 0>;
  227. interrupt-parent = <&mpic>;
  228. };
  229. rtc@70 {
  230. compatible = "pnpPNP,b00";
  231. reg = <0x1 0x70 0x2>;
  232. };
  233. };
  234. };
  235. };
  236. pci1: pci@e0009000 {
  237. reg = <0 0xe0009000 0 0x1000>;
  238. ranges = <0x2000000 0x0 0x90000000 0 0x90000000 0x0 0x10000000
  239. 0x1000000 0x0 0x00000000 0 0xe2800000 0x0 0x800000>;
  240. clock-frequency = <66666666>;
  241. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  242. interrupt-map = <
  243. /* IDSEL 0x15 */
  244. 0xa800 0x0 0x0 0x1 &mpic 0xb 0x1 0 0
  245. 0xa800 0x0 0x0 0x2 &mpic 0x1 0x1 0 0
  246. 0xa800 0x0 0x0 0x3 &mpic 0x2 0x1 0 0
  247. 0xa800 0x0 0x0 0x4 &mpic 0x3 0x1 0 0>;
  248. };
  249. pci2: pcie@e000a000 {
  250. reg = <0 0xe000a000 0 0x1000>;
  251. ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
  252. 0x1000000 0x0 0x00000000 0 0xe3000000 0x0 0x100000>;
  253. pcie@0 {
  254. ranges = <0x2000000 0x0 0xa0000000
  255. 0x2000000 0x0 0xa0000000
  256. 0x0 0x20000000
  257. 0x1000000 0x0 0x0
  258. 0x1000000 0x0 0x0
  259. 0x0 0x100000>;
  260. };
  261. };
  262. };
  263. /include/ "fsl/mpc8548si-post.dtsi"