tqm8560.dts 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. /*
  2. * TQM 8560 Device Tree Source
  3. *
  4. * Copyright 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. /dts-v1/;
  12. / {
  13. model = "tqc,tqm8560";
  14. compatible = "tqc,tqm8560";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. aliases {
  18. ethernet0 = &enet0;
  19. ethernet1 = &enet1;
  20. ethernet2 = &enet2;
  21. serial0 = &serial0;
  22. serial1 = &serial1;
  23. pci0 = &pci0;
  24. };
  25. cpus {
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. PowerPC,8560@0 {
  29. device_type = "cpu";
  30. reg = <0>;
  31. d-cache-line-size = <32>;
  32. i-cache-line-size = <32>;
  33. d-cache-size = <32768>;
  34. i-cache-size = <32768>;
  35. timebase-frequency = <0>;
  36. bus-frequency = <0>;
  37. clock-frequency = <0>;
  38. next-level-cache = <&L2>;
  39. };
  40. };
  41. memory {
  42. device_type = "memory";
  43. reg = <0x00000000 0x10000000>;
  44. };
  45. soc@e0000000 {
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. device_type = "soc";
  49. ranges = <0x0 0xe0000000 0x100000>;
  50. reg = <0xe0000000 0x200>;
  51. bus-frequency = <0>;
  52. compatible = "fsl,mpc8560-immr", "simple-bus";
  53. memory-controller@2000 {
  54. compatible = "fsl,8540-memory-controller";
  55. reg = <0x2000 0x1000>;
  56. interrupt-parent = <&mpic>;
  57. interrupts = <18 2>;
  58. };
  59. L2: l2-cache-controller@20000 {
  60. compatible = "fsl,8540-l2-cache-controller";
  61. reg = <0x20000 0x1000>;
  62. cache-line-size = <32>;
  63. cache-size = <0x40000>; // L2, 256K
  64. interrupt-parent = <&mpic>;
  65. interrupts = <16 2>;
  66. };
  67. i2c@3000 {
  68. #address-cells = <1>;
  69. #size-cells = <0>;
  70. cell-index = <0>;
  71. compatible = "fsl-i2c";
  72. reg = <0x3000 0x100>;
  73. interrupts = <43 2>;
  74. interrupt-parent = <&mpic>;
  75. dfsrr;
  76. rtc@68 {
  77. compatible = "dallas,ds1337";
  78. reg = <0x68>;
  79. };
  80. };
  81. mdio@24520 {
  82. #address-cells = <1>;
  83. #size-cells = <0>;
  84. compatible = "fsl,gianfar-mdio";
  85. reg = <0x24520 0x20>;
  86. phy1: ethernet-phy@1 {
  87. interrupt-parent = <&mpic>;
  88. interrupts = <8 1>;
  89. reg = <1>;
  90. device_type = "ethernet-phy";
  91. };
  92. phy2: ethernet-phy@2 {
  93. interrupt-parent = <&mpic>;
  94. interrupts = <8 1>;
  95. reg = <2>;
  96. device_type = "ethernet-phy";
  97. };
  98. phy3: ethernet-phy@3 {
  99. interrupt-parent = <&mpic>;
  100. interrupts = <8 1>;
  101. reg = <3>;
  102. device_type = "ethernet-phy";
  103. };
  104. };
  105. enet0: ethernet@24000 {
  106. cell-index = <0>;
  107. device_type = "network";
  108. model = "TSEC";
  109. compatible = "gianfar";
  110. reg = <0x24000 0x1000>;
  111. local-mac-address = [ 00 00 00 00 00 00 ];
  112. interrupts = <29 2 30 2 34 2>;
  113. interrupt-parent = <&mpic>;
  114. phy-handle = <&phy2>;
  115. };
  116. enet1: ethernet@25000 {
  117. cell-index = <1>;
  118. device_type = "network";
  119. model = "TSEC";
  120. compatible = "gianfar";
  121. reg = <0x25000 0x1000>;
  122. local-mac-address = [ 00 00 00 00 00 00 ];
  123. interrupts = <35 2 36 2 40 2>;
  124. interrupt-parent = <&mpic>;
  125. phy-handle = <&phy1>;
  126. };
  127. mpic: pic@40000 {
  128. interrupt-controller;
  129. #address-cells = <0>;
  130. #interrupt-cells = <2>;
  131. reg = <0x40000 0x40000>;
  132. device_type = "open-pic";
  133. compatible = "chrp,open-pic";
  134. };
  135. cpm@919c0 {
  136. #address-cells = <1>;
  137. #size-cells = <1>;
  138. compatible = "fsl,mpc8560-cpm", "fsl,cpm2", "simple-bus";
  139. reg = <0x919c0 0x30>;
  140. ranges;
  141. muram@80000 {
  142. #address-cells = <1>;
  143. #size-cells = <1>;
  144. ranges = <0 0x80000 0x10000>;
  145. data@0 {
  146. compatible = "fsl,cpm-muram-data";
  147. reg = <0 0x4000 0x9000 0x2000>;
  148. };
  149. };
  150. brg@919f0 {
  151. compatible = "fsl,mpc8560-brg",
  152. "fsl,cpm2-brg",
  153. "fsl,cpm-brg";
  154. reg = <0x919f0 0x10 0x915f0 0x10>;
  155. clock-frequency = <0>;
  156. };
  157. cpmpic: pic@90c00 {
  158. interrupt-controller;
  159. #address-cells = <0>;
  160. #interrupt-cells = <2>;
  161. interrupts = <46 2>;
  162. interrupt-parent = <&mpic>;
  163. reg = <0x90c00 0x80>;
  164. compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
  165. };
  166. serial0: serial@91a00 {
  167. device_type = "serial";
  168. compatible = "fsl,mpc8560-scc-uart",
  169. "fsl,cpm2-scc-uart";
  170. reg = <0x91a00 0x20 0x88000 0x100>;
  171. fsl,cpm-brg = <1>;
  172. fsl,cpm-command = <0x800000>;
  173. current-speed = <115200>;
  174. interrupts = <40 8>;
  175. interrupt-parent = <&cpmpic>;
  176. };
  177. serial1: serial@91a20 {
  178. device_type = "serial";
  179. compatible = "fsl,mpc8560-scc-uart",
  180. "fsl,cpm2-scc-uart";
  181. reg = <0x91a20 0x20 0x88100 0x100>;
  182. fsl,cpm-brg = <2>;
  183. fsl,cpm-command = <0x4a00000>;
  184. current-speed = <115200>;
  185. interrupts = <41 8>;
  186. interrupt-parent = <&cpmpic>;
  187. };
  188. enet2: ethernet@91340 {
  189. device_type = "network";
  190. compatible = "fsl,mpc8560-fcc-enet",
  191. "fsl,cpm2-fcc-enet";
  192. reg = <0x91340 0x20 0x88600 0x100 0x913d0 0x1>;
  193. local-mac-address = [ 00 00 00 00 00 00 ];
  194. fsl,cpm-command = <0x1a400300>;
  195. interrupts = <34 8>;
  196. interrupt-parent = <&cpmpic>;
  197. phy-handle = <&phy3>;
  198. };
  199. };
  200. };
  201. pci0: pci@e0008000 {
  202. cell-index = <0>;
  203. #interrupt-cells = <1>;
  204. #size-cells = <2>;
  205. #address-cells = <3>;
  206. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  207. device_type = "pci";
  208. reg = <0xe0008000 0x1000>;
  209. clock-frequency = <66666666>;
  210. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  211. interrupt-map = <
  212. /* IDSEL 28 */
  213. 0xe000 0 0 1 &mpic 2 1
  214. 0xe000 0 0 2 &mpic 3 1>;
  215. interrupt-parent = <&mpic>;
  216. interrupts = <24 2>;
  217. bus-range = <0 0>;
  218. ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
  219. 0x01000000 0 0x00000000 0xe2000000 0 0x01000000>;
  220. };
  221. };