tqm8560.dts 5.5 KB

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