mpc8560ads.dts 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * MPC8560 ADS Device Tree Source
  4. *
  5. * Copyright 2006, 2008 Freescale Semiconductor Inc.
  6. */
  7. /dts-v1/;
  8. /include/ "e500v1_power_isa.dtsi"
  9. / {
  10. model = "MPC8560ADS";
  11. compatible = "MPC8560ADS", "MPC85xxADS";
  12. #address-cells = <1>;
  13. #size-cells = <1>;
  14. aliases {
  15. ethernet0 = &enet0;
  16. ethernet1 = &enet1;
  17. ethernet2 = &enet2;
  18. ethernet3 = &enet3;
  19. serial0 = &serial0;
  20. serial1 = &serial1;
  21. pci0 = &pci0;
  22. };
  23. cpus {
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. PowerPC,8560@0 {
  27. device_type = "cpu";
  28. reg = <0x0>;
  29. d-cache-line-size = <32>; // 32 bytes
  30. i-cache-line-size = <32>; // 32 bytes
  31. d-cache-size = <0x8000>; // L1, 32K
  32. i-cache-size = <0x8000>; // L1, 32K
  33. timebase-frequency = <82500000>;
  34. bus-frequency = <330000000>;
  35. clock-frequency = <825000000>;
  36. };
  37. };
  38. memory {
  39. device_type = "memory";
  40. reg = <0x0 0x10000000>;
  41. };
  42. soc8560@e0000000 {
  43. #address-cells = <1>;
  44. #size-cells = <1>;
  45. device_type = "soc";
  46. compatible = "simple-bus";
  47. ranges = <0x0 0xe0000000 0x100000>;
  48. bus-frequency = <330000000>;
  49. ecm-law@0 {
  50. compatible = "fsl,ecm-law";
  51. reg = <0x0 0x1000>;
  52. fsl,num-laws = <8>;
  53. };
  54. ecm@1000 {
  55. compatible = "fsl,mpc8560-ecm", "fsl,ecm";
  56. reg = <0x1000 0x1000>;
  57. interrupts = <17 2>;
  58. interrupt-parent = <&mpic>;
  59. };
  60. memory-controller@2000 {
  61. compatible = "fsl,mpc8540-memory-controller";
  62. reg = <0x2000 0x1000>;
  63. interrupt-parent = <&mpic>;
  64. interrupts = <18 2>;
  65. };
  66. L2: l2-cache-controller@20000 {
  67. compatible = "fsl,mpc8540-l2-cache-controller";
  68. reg = <0x20000 0x1000>;
  69. cache-line-size = <32>; // 32 bytes
  70. cache-size = <0x40000>; // L2, 256K
  71. interrupt-parent = <&mpic>;
  72. interrupts = <16 2>;
  73. };
  74. dma@21300 {
  75. #address-cells = <1>;
  76. #size-cells = <1>;
  77. compatible = "fsl,mpc8560-dma", "fsl,eloplus-dma";
  78. reg = <0x21300 0x4>;
  79. ranges = <0x0 0x21100 0x200>;
  80. cell-index = <0>;
  81. dma-channel@0 {
  82. compatible = "fsl,mpc8560-dma-channel",
  83. "fsl,eloplus-dma-channel";
  84. reg = <0x0 0x80>;
  85. cell-index = <0>;
  86. interrupt-parent = <&mpic>;
  87. interrupts = <20 2>;
  88. };
  89. dma-channel@80 {
  90. compatible = "fsl,mpc8560-dma-channel",
  91. "fsl,eloplus-dma-channel";
  92. reg = <0x80 0x80>;
  93. cell-index = <1>;
  94. interrupt-parent = <&mpic>;
  95. interrupts = <21 2>;
  96. };
  97. dma-channel@100 {
  98. compatible = "fsl,mpc8560-dma-channel",
  99. "fsl,eloplus-dma-channel";
  100. reg = <0x100 0x80>;
  101. cell-index = <2>;
  102. interrupt-parent = <&mpic>;
  103. interrupts = <22 2>;
  104. };
  105. dma-channel@180 {
  106. compatible = "fsl,mpc8560-dma-channel",
  107. "fsl,eloplus-dma-channel";
  108. reg = <0x180 0x80>;
  109. cell-index = <3>;
  110. interrupt-parent = <&mpic>;
  111. interrupts = <23 2>;
  112. };
  113. };
  114. enet0: ethernet@24000 {
  115. #address-cells = <1>;
  116. #size-cells = <1>;
  117. cell-index = <0>;
  118. device_type = "network";
  119. model = "TSEC";
  120. compatible = "gianfar";
  121. reg = <0x24000 0x1000>;
  122. ranges = <0x0 0x24000 0x1000>;
  123. local-mac-address = [ 00 00 00 00 00 00 ];
  124. interrupts = <29 2 30 2 34 2>;
  125. interrupt-parent = <&mpic>;
  126. tbi-handle = <&tbi0>;
  127. phy-handle = <&phy0>;
  128. mdio@520 {
  129. #address-cells = <1>;
  130. #size-cells = <0>;
  131. compatible = "fsl,gianfar-mdio";
  132. reg = <0x520 0x20>;
  133. phy0: ethernet-phy@0 {
  134. interrupt-parent = <&mpic>;
  135. interrupts = <5 1>;
  136. reg = <0x0>;
  137. };
  138. phy1: ethernet-phy@1 {
  139. interrupt-parent = <&mpic>;
  140. interrupts = <5 1>;
  141. reg = <0x1>;
  142. };
  143. phy2: ethernet-phy@2 {
  144. interrupt-parent = <&mpic>;
  145. interrupts = <7 1>;
  146. reg = <0x2>;
  147. };
  148. phy3: ethernet-phy@3 {
  149. interrupt-parent = <&mpic>;
  150. interrupts = <7 1>;
  151. reg = <0x3>;
  152. };
  153. tbi0: tbi-phy@11 {
  154. reg = <0x11>;
  155. device_type = "tbi-phy";
  156. };
  157. };
  158. };
  159. enet1: ethernet@25000 {
  160. #address-cells = <1>;
  161. #size-cells = <1>;
  162. cell-index = <1>;
  163. device_type = "network";
  164. model = "TSEC";
  165. compatible = "gianfar";
  166. reg = <0x25000 0x1000>;
  167. ranges = <0x0 0x25000 0x1000>;
  168. local-mac-address = [ 00 00 00 00 00 00 ];
  169. interrupts = <35 2 36 2 40 2>;
  170. interrupt-parent = <&mpic>;
  171. tbi-handle = <&tbi1>;
  172. phy-handle = <&phy1>;
  173. mdio@520 {
  174. #address-cells = <1>;
  175. #size-cells = <0>;
  176. compatible = "fsl,gianfar-tbi";
  177. reg = <0x520 0x20>;
  178. tbi1: tbi-phy@11 {
  179. reg = <0x11>;
  180. device_type = "tbi-phy";
  181. };
  182. };
  183. };
  184. mpic: pic@40000 {
  185. interrupt-controller;
  186. #address-cells = <0>;
  187. #interrupt-cells = <2>;
  188. reg = <0x40000 0x40000>;
  189. compatible = "chrp,open-pic";
  190. device_type = "open-pic";
  191. };
  192. cpm@919c0 {
  193. #address-cells = <1>;
  194. #size-cells = <1>;
  195. compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
  196. reg = <0x919c0 0x30>;
  197. ranges;
  198. muram@80000 {
  199. #address-cells = <1>;
  200. #size-cells = <1>;
  201. ranges = <0x0 0x80000 0x10000>;
  202. data@0 {
  203. compatible = "fsl,cpm-muram-data";
  204. reg = <0x0 0x4000 0x9000 0x2000>;
  205. };
  206. };
  207. brg@919f0 {
  208. compatible = "fsl,mpc8560-brg",
  209. "fsl,cpm2-brg",
  210. "fsl,cpm-brg";
  211. reg = <0x919f0 0x10 0x915f0 0x10>;
  212. clock-frequency = <165000000>;
  213. };
  214. cpmpic: pic@90c00 {
  215. interrupt-controller;
  216. #address-cells = <0>;
  217. #interrupt-cells = <2>;
  218. interrupts = <46 2>;
  219. interrupt-parent = <&mpic>;
  220. reg = <0x90c00 0x80>;
  221. compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
  222. };
  223. serial0: serial@91a00 {
  224. device_type = "serial";
  225. compatible = "fsl,mpc8560-scc-uart",
  226. "fsl,cpm2-scc-uart";
  227. reg = <0x91a00 0x20 0x88000 0x100>;
  228. fsl,cpm-brg = <1>;
  229. fsl,cpm-command = <0x800000>;
  230. current-speed = <115200>;
  231. interrupts = <40 8>;
  232. interrupt-parent = <&cpmpic>;
  233. };
  234. serial1: serial@91a20 {
  235. device_type = "serial";
  236. compatible = "fsl,mpc8560-scc-uart",
  237. "fsl,cpm2-scc-uart";
  238. reg = <0x91a20 0x20 0x88100 0x100>;
  239. fsl,cpm-brg = <2>;
  240. fsl,cpm-command = <0x4a00000>;
  241. current-speed = <115200>;
  242. interrupts = <41 8>;
  243. interrupt-parent = <&cpmpic>;
  244. };
  245. enet2: ethernet@91320 {
  246. device_type = "network";
  247. compatible = "fsl,mpc8560-fcc-enet",
  248. "fsl,cpm2-fcc-enet";
  249. reg = <0x91320 0x20 0x88500 0x100 0x913b0 0x1>;
  250. local-mac-address = [ 00 00 00 00 00 00 ];
  251. fsl,cpm-command = <0x16200300>;
  252. interrupts = <33 8>;
  253. interrupt-parent = <&cpmpic>;
  254. phy-handle = <&phy2>;
  255. };
  256. enet3: ethernet@91340 {
  257. device_type = "network";
  258. compatible = "fsl,mpc8560-fcc-enet",
  259. "fsl,cpm2-fcc-enet";
  260. reg = <0x91340 0x20 0x88600 0x100 0x913d0 0x1>;
  261. local-mac-address = [ 00 00 00 00 00 00 ];
  262. fsl,cpm-command = <0x1a400300>;
  263. interrupts = <34 8>;
  264. interrupt-parent = <&cpmpic>;
  265. phy-handle = <&phy3>;
  266. };
  267. };
  268. };
  269. pci0: pci@e0008000 {
  270. #interrupt-cells = <1>;
  271. #size-cells = <2>;
  272. #address-cells = <3>;
  273. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  274. device_type = "pci";
  275. reg = <0xe0008000 0x1000>;
  276. clock-frequency = <66666666>;
  277. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  278. interrupt-map = <
  279. /* IDSEL 0x2 */
  280. 0x1000 0x0 0x0 0x1 &mpic 0x1 0x1
  281. 0x1000 0x0 0x0 0x2 &mpic 0x2 0x1
  282. 0x1000 0x0 0x0 0x3 &mpic 0x3 0x1
  283. 0x1000 0x0 0x0 0x4 &mpic 0x4 0x1
  284. /* IDSEL 0x3 */
  285. 0x1800 0x0 0x0 0x1 &mpic 0x4 0x1
  286. 0x1800 0x0 0x0 0x2 &mpic 0x1 0x1
  287. 0x1800 0x0 0x0 0x3 &mpic 0x2 0x1
  288. 0x1800 0x0 0x0 0x4 &mpic 0x3 0x1
  289. /* IDSEL 0x4 */
  290. 0x2000 0x0 0x0 0x1 &mpic 0x3 0x1
  291. 0x2000 0x0 0x0 0x2 &mpic 0x4 0x1
  292. 0x2000 0x0 0x0 0x3 &mpic 0x1 0x1
  293. 0x2000 0x0 0x0 0x4 &mpic 0x2 0x1
  294. /* IDSEL 0x5 */
  295. 0x2800 0x0 0x0 0x1 &mpic 0x2 0x1
  296. 0x2800 0x0 0x0 0x2 &mpic 0x3 0x1
  297. 0x2800 0x0 0x0 0x3 &mpic 0x4 0x1
  298. 0x2800 0x0 0x0 0x4 &mpic 0x1 0x1
  299. /* IDSEL 12 */
  300. 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1
  301. 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1
  302. 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1
  303. 0x6000 0x0 0x0 0x4 &mpic 0x4 0x1
  304. /* IDSEL 13 */
  305. 0x6800 0x0 0x0 0x1 &mpic 0x4 0x1
  306. 0x6800 0x0 0x0 0x2 &mpic 0x1 0x1
  307. 0x6800 0x0 0x0 0x3 &mpic 0x2 0x1
  308. 0x6800 0x0 0x0 0x4 &mpic 0x3 0x1
  309. /* IDSEL 14*/
  310. 0x7000 0x0 0x0 0x1 &mpic 0x3 0x1
  311. 0x7000 0x0 0x0 0x2 &mpic 0x4 0x1
  312. 0x7000 0x0 0x0 0x3 &mpic 0x1 0x1
  313. 0x7000 0x0 0x0 0x4 &mpic 0x2 0x1
  314. /* IDSEL 15 */
  315. 0x7800 0x0 0x0 0x1 &mpic 0x2 0x1
  316. 0x7800 0x0 0x0 0x2 &mpic 0x3 0x1
  317. 0x7800 0x0 0x0 0x3 &mpic 0x4 0x1
  318. 0x7800 0x0 0x0 0x4 &mpic 0x1 0x1
  319. /* IDSEL 18 */
  320. 0x9000 0x0 0x0 0x1 &mpic 0x1 0x1
  321. 0x9000 0x0 0x0 0x2 &mpic 0x2 0x1
  322. 0x9000 0x0 0x0 0x3 &mpic 0x3 0x1
  323. 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1
  324. /* IDSEL 19 */
  325. 0x9800 0x0 0x0 0x1 &mpic 0x4 0x1
  326. 0x9800 0x0 0x0 0x2 &mpic 0x1 0x1
  327. 0x9800 0x0 0x0 0x3 &mpic 0x2 0x1
  328. 0x9800 0x0 0x0 0x4 &mpic 0x3 0x1
  329. /* IDSEL 20 */
  330. 0xa000 0x0 0x0 0x1 &mpic 0x3 0x1
  331. 0xa000 0x0 0x0 0x2 &mpic 0x4 0x1
  332. 0xa000 0x0 0x0 0x3 &mpic 0x1 0x1
  333. 0xa000 0x0 0x0 0x4 &mpic 0x2 0x1
  334. /* IDSEL 21 */
  335. 0xa800 0x0 0x0 0x1 &mpic 0x2 0x1
  336. 0xa800 0x0 0x0 0x2 &mpic 0x3 0x1
  337. 0xa800 0x0 0x0 0x3 &mpic 0x4 0x1
  338. 0xa800 0x0 0x0 0x4 &mpic 0x1 0x1>;
  339. interrupt-parent = <&mpic>;
  340. interrupts = <24 2>;
  341. bus-range = <0 0>;
  342. ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  343. 0x1000000 0x0 0x0 0xe2000000 0x0 0x1000000>;
  344. };
  345. };