sbc8560.dts 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. /*
  2. * SBC8560 Device Tree Source
  3. *
  4. * Copyright 2007 Wind River Systems Inc.
  5. *
  6. * Paul Gortmaker (see MAINTAINERS for contact information)
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the
  10. * Free Software Foundation; either version 2 of the License, or (at your
  11. * option) any later version.
  12. */
  13. /dts-v1/;
  14. / {
  15. model = "SBC8560";
  16. compatible = "SBC8560";
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. aliases {
  20. ethernet0 = &enet0;
  21. ethernet1 = &enet1;
  22. ethernet2 = &enet2;
  23. ethernet3 = &enet3;
  24. serial0 = &serial0;
  25. serial1 = &serial1;
  26. pci0 = &pci0;
  27. };
  28. cpus {
  29. #address-cells = <1>;
  30. #size-cells = <0>;
  31. PowerPC,8560@0 {
  32. device_type = "cpu";
  33. reg = <0>;
  34. d-cache-line-size = <0x20>; // 32 bytes
  35. i-cache-line-size = <0x20>; // 32 bytes
  36. d-cache-size = <0x8000>; // L1, 32K
  37. i-cache-size = <0x8000>; // L1, 32K
  38. timebase-frequency = <0>; // From uboot
  39. bus-frequency = <0>;
  40. clock-frequency = <0>;
  41. };
  42. };
  43. memory {
  44. device_type = "memory";
  45. reg = <0x00000000 0x20000000>;
  46. };
  47. soc@ff700000 {
  48. #address-cells = <1>;
  49. #size-cells = <1>;
  50. device_type = "soc";
  51. ranges = <0x0 0xff700000 0x00100000>;
  52. reg = <0xff700000 0x00100000>;
  53. clock-frequency = <0>;
  54. memory-controller@2000 {
  55. compatible = "fsl,8560-memory-controller";
  56. reg = <0x2000 0x1000>;
  57. interrupt-parent = <&mpic>;
  58. interrupts = <0x12 0x2>;
  59. };
  60. l2-cache-controller@20000 {
  61. compatible = "fsl,8560-l2-cache-controller";
  62. reg = <0x20000 0x1000>;
  63. cache-line-size = <0x20>; // 32 bytes
  64. cache-size = <0x40000>; // L2, 256K
  65. interrupt-parent = <&mpic>;
  66. interrupts = <0x10 0x2>;
  67. };
  68. i2c@3000 {
  69. #address-cells = <1>;
  70. #size-cells = <0>;
  71. cell-index = <0>;
  72. compatible = "fsl-i2c";
  73. reg = <0x3000 0x100>;
  74. interrupts = <0x2b 0x2>;
  75. interrupt-parent = <&mpic>;
  76. dfsrr;
  77. };
  78. i2c@3100 {
  79. #address-cells = <1>;
  80. #size-cells = <0>;
  81. cell-index = <1>;
  82. compatible = "fsl-i2c";
  83. reg = <0x3100 0x100>;
  84. interrupts = <0x2b 0x2>;
  85. interrupt-parent = <&mpic>;
  86. dfsrr;
  87. };
  88. mdio@24520 {
  89. #address-cells = <1>;
  90. #size-cells = <0>;
  91. compatible = "fsl,gianfar-mdio";
  92. reg = <0x24520 0x20>;
  93. phy0: ethernet-phy@19 {
  94. interrupt-parent = <&mpic>;
  95. interrupts = <0x6 0x1>;
  96. reg = <0x19>;
  97. device_type = "ethernet-phy";
  98. };
  99. phy1: ethernet-phy@1a {
  100. interrupt-parent = <&mpic>;
  101. interrupts = <0x7 0x1>;
  102. reg = <0x1a>;
  103. device_type = "ethernet-phy";
  104. };
  105. phy2: ethernet-phy@1b {
  106. interrupt-parent = <&mpic>;
  107. interrupts = <0x8 0x1>;
  108. reg = <0x1b>;
  109. device_type = "ethernet-phy";
  110. };
  111. phy3: ethernet-phy@1c {
  112. interrupt-parent = <&mpic>;
  113. interrupts = <0x8 0x1>;
  114. reg = <0x1c>;
  115. device_type = "ethernet-phy";
  116. };
  117. };
  118. enet0: ethernet@24000 {
  119. cell-index = <0>;
  120. device_type = "network";
  121. model = "TSEC";
  122. compatible = "gianfar";
  123. reg = <0x24000 0x1000>;
  124. local-mac-address = [ 00 00 00 00 00 00 ];
  125. interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
  126. interrupt-parent = <&mpic>;
  127. phy-handle = <&phy0>;
  128. };
  129. enet1: ethernet@25000 {
  130. cell-index = <1>;
  131. device_type = "network";
  132. model = "TSEC";
  133. compatible = "gianfar";
  134. reg = <0x25000 0x1000>;
  135. local-mac-address = [ 00 00 00 00 00 00 ];
  136. interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
  137. interrupt-parent = <&mpic>;
  138. phy-handle = <&phy1>;
  139. };
  140. mpic: pic@40000 {
  141. interrupt-controller;
  142. #address-cells = <0>;
  143. #size-cells = <0>;
  144. #interrupt-cells = <2>;
  145. reg = <0x40000 0x40000>;
  146. device_type = "open-pic";
  147. };
  148. cpm@919c0 {
  149. #address-cells = <1>;
  150. #size-cells = <1>;
  151. compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
  152. reg = <0x919c0 0x30>;
  153. ranges;
  154. muram@80000 {
  155. #address-cells = <1>;
  156. #size-cells = <1>;
  157. ranges = <0x0 0x80000 0x10000>;
  158. data@0 {
  159. compatible = "fsl,cpm-muram-data";
  160. reg = <0x0 0x4000 0x9000 0x2000>;
  161. };
  162. };
  163. brg@919f0 {
  164. compatible = "fsl,mpc8560-brg",
  165. "fsl,cpm2-brg",
  166. "fsl,cpm-brg";
  167. reg = <0x919f0 0x10 0x915f0 0x10>;
  168. clock-frequency = <165000000>;
  169. };
  170. cpmpic: pic@90c00 {
  171. interrupt-controller;
  172. #address-cells = <0>;
  173. #interrupt-cells = <2>;
  174. interrupts = <0x2e 0x2>;
  175. interrupt-parent = <&mpic>;
  176. reg = <0x90c00 0x80>;
  177. compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
  178. };
  179. enet2: ethernet@91320 {
  180. device_type = "network";
  181. compatible = "fsl,mpc8560-fcc-enet",
  182. "fsl,cpm2-fcc-enet";
  183. reg = <0x91320 0x20 0x88500 0x100 0x913b0 0x1>;
  184. local-mac-address = [ 00 00 00 00 00 00 ];
  185. fsl,cpm-command = <0x16200300>;
  186. interrupts = <0x21 0x8>;
  187. interrupt-parent = <&cpmpic>;
  188. phy-handle = <&phy2>;
  189. };
  190. enet3: ethernet@91340 {
  191. device_type = "network";
  192. compatible = "fsl,mpc8560-fcc-enet",
  193. "fsl,cpm2-fcc-enet";
  194. reg = <0x91340 0x20 0x88600 0x100 0x913d0 0x1>;
  195. local-mac-address = [ 00 00 00 00 00 00 ];
  196. fsl,cpm-command = <0x1a400300>;
  197. interrupts = <0x22 0x8>;
  198. interrupt-parent = <&cpmpic>;
  199. phy-handle = <&phy3>;
  200. };
  201. };
  202. global-utilities@e0000 {
  203. compatible = "fsl,mpc8560-guts";
  204. reg = <0xe0000 0x1000>;
  205. fsl,has-rstcr;
  206. };
  207. };
  208. pci0: pci@ff708000 {
  209. cell-index = <0>;
  210. #interrupt-cells = <1>;
  211. #size-cells = <2>;
  212. #address-cells = <3>;
  213. compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
  214. device_type = "pci";
  215. reg = <0xff708000 0x1000>;
  216. clock-frequency = <66666666>;
  217. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  218. interrupt-map = <
  219. /* IDSEL 0x02 */
  220. 0x1000 0x0 0x0 0x1 &mpic 0x2 0x1
  221. 0x1000 0x0 0x0 0x2 &mpic 0x3 0x1
  222. 0x1000 0x0 0x0 0x3 &mpic 0x4 0x1
  223. 0x1000 0x0 0x0 0x4 &mpic 0x5 0x1>;
  224. interrupt-parent = <&mpic>;
  225. interrupts = <0x18 0x2>;
  226. bus-range = <0x0 0x0>;
  227. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x20000000
  228. 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
  229. };
  230. localbus@ff705000 {
  231. compatible = "fsl,mpc8560-localbus";
  232. #address-cells = <2>;
  233. #size-cells = <1>;
  234. reg = <0xff705000 0x100>; // BRx, ORx, etc.
  235. ranges = <
  236. 0x0 0x0 0xff800000 0x0800000 // 8MB boot flash
  237. 0x1 0x0 0xe4000000 0x4000000 // 64MB flash
  238. 0x3 0x0 0x20000000 0x4000000 // 64MB SDRAM
  239. 0x4 0x0 0x24000000 0x4000000 // 64MB SDRAM
  240. 0x5 0x0 0xfc000000 0x0c00000 // EPLD
  241. 0x6 0x0 0xe0000000 0x4000000 // 64MB flash
  242. 0x7 0x0 0x80000000 0x0200000 // ATM1,2
  243. >;
  244. epld@5,0 {
  245. compatible = "wrs,epld-localbus";
  246. #address-cells = <2>;
  247. #size-cells = <1>;
  248. reg = <0x5 0x0 0xc00000>;
  249. ranges = <
  250. 0x0 0x0 0x5 0x000000 0x1fff // LED disp.
  251. 0x1 0x0 0x5 0x100000 0x1fff // switches
  252. 0x2 0x0 0x5 0x200000 0x1fff // ID reg.
  253. 0x3 0x0 0x5 0x300000 0x1fff // status reg.
  254. 0x4 0x0 0x5 0x400000 0x1fff // reset reg.
  255. 0x5 0x0 0x5 0x500000 0x1fff // Wind port
  256. 0x7 0x0 0x5 0x700000 0x1fff // UART #1
  257. 0x8 0x0 0x5 0x800000 0x1fff // UART #2
  258. 0x9 0x0 0x5 0x900000 0x1fff // RTC
  259. 0xb 0x0 0x5 0xb00000 0x1fff // EEPROM
  260. >;
  261. bidr@2,0 {
  262. compatible = "wrs,sbc8560-bidr";
  263. reg = <0x2 0x0 0x10>;
  264. };
  265. bcsr@3,0 {
  266. compatible = "wrs,sbc8560-bcsr";
  267. reg = <0x3 0x0 0x10>;
  268. };
  269. brstcr@4,0 {
  270. compatible = "wrs,sbc8560-brstcr";
  271. reg = <0x4 0x0 0x10>;
  272. };
  273. serial0: serial@7,0 {
  274. device_type = "serial";
  275. compatible = "ns16550";
  276. reg = <0x7 0x0 0x100>;
  277. clock-frequency = <1843200>;
  278. interrupts = <0x9 0x2>;
  279. interrupt-parent = <&mpic>;
  280. };
  281. serial1: serial@8,0 {
  282. device_type = "serial";
  283. compatible = "ns16550";
  284. reg = <0x8 0x0 0x100>;
  285. clock-frequency = <1843200>;
  286. interrupts = <0xa 0x2>;
  287. interrupt-parent = <&mpic>;
  288. };
  289. rtc@9,0 {
  290. compatible = "m48t59";
  291. reg = <0x9 0x0 0x1fff>;
  292. };
  293. };
  294. };
  295. };