gef_sbc610.dts 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. /*
  2. * GE Fanuc SBC610 Device Tree Source
  3. *
  4. * Copyright 2008 GE Fanuc Intelligent Platforms Embedded Systems, 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. * Based on: SBS CM6 Device Tree Source
  12. * Copyright 2007 SBS Technologies GmbH & Co. KG
  13. * And: mpc8641_hpcn.dts (MPC8641 HPCN Device Tree Source)
  14. * Copyright 2006 Freescale Semiconductor Inc.
  15. */
  16. /*
  17. * Compiled with dtc -I dts -O dtb -o gef_sbc610.dtb gef_sbc610.dts
  18. */
  19. /dts-v1/;
  20. / {
  21. model = "GEF_SBC610";
  22. compatible = "gef,sbc610";
  23. #address-cells = <1>;
  24. #size-cells = <1>;
  25. aliases {
  26. ethernet0 = &enet0;
  27. ethernet1 = &enet1;
  28. serial0 = &serial0;
  29. serial1 = &serial1;
  30. pci0 = &pci0;
  31. };
  32. cpus {
  33. #address-cells = <1>;
  34. #size-cells = <0>;
  35. PowerPC,8641@0 {
  36. device_type = "cpu";
  37. reg = <0>;
  38. d-cache-line-size = <32>; // 32 bytes
  39. i-cache-line-size = <32>; // 32 bytes
  40. d-cache-size = <32768>; // L1, 32K
  41. i-cache-size = <32768>; // L1, 32K
  42. timebase-frequency = <0>; // From uboot
  43. bus-frequency = <0>; // From uboot
  44. clock-frequency = <0>; // From uboot
  45. };
  46. PowerPC,8641@1 {
  47. device_type = "cpu";
  48. reg = <1>;
  49. d-cache-line-size = <32>; // 32 bytes
  50. i-cache-line-size = <32>; // 32 bytes
  51. d-cache-size = <32768>; // L1, 32K
  52. i-cache-size = <32768>; // L1, 32K
  53. timebase-frequency = <0>; // From uboot
  54. bus-frequency = <0>; // From uboot
  55. clock-frequency = <0>; // From uboot
  56. };
  57. };
  58. memory {
  59. device_type = "memory";
  60. reg = <0x0 0x40000000>; // set by uboot
  61. };
  62. localbus@fef05000 {
  63. #address-cells = <2>;
  64. #size-cells = <1>;
  65. compatible = "fsl,mpc8641-localbus", "simple-bus";
  66. reg = <0xf8005000 0x1000>;
  67. interrupts = <19 2>;
  68. interrupt-parent = <&mpic>;
  69. ranges = <0 0 0xff000000 0x01000000 // 16MB Boot flash
  70. 1 0 0xe8000000 0x08000000 // Paged Flash 0
  71. 2 0 0xe0000000 0x08000000 // Paged Flash 1
  72. 3 0 0xfc100000 0x00020000 // NVRAM
  73. 4 0 0xfc000000 0x00008000 // FPGA
  74. 5 0 0xfc008000 0x00008000 // AFIX FPGA
  75. 6 0 0xfd000000 0x00800000 // IO FPGA (8-bit)
  76. 7 0 0xfd800000 0x00800000>; // IO FPGA (32-bit)
  77. fpga@4,0 {
  78. compatible = "gef,fpga-regs";
  79. reg = <0x4 0x0 0x40>;
  80. };
  81. gef_pic: pic@4,4000 {
  82. #interrupt-cells = <1>;
  83. interrupt-controller;
  84. compatible = "gef,fpga-pic";
  85. reg = <0x4 0x4000 0x20>;
  86. interrupts = <0x8
  87. 0x9>;
  88. interrupt-parent = <&mpic>;
  89. };
  90. };
  91. soc@fef00000 {
  92. #address-cells = <1>;
  93. #size-cells = <1>;
  94. #interrupt-cells = <2>;
  95. device_type = "soc";
  96. compatible = "simple-bus";
  97. ranges = <0x0 0xfef00000 0x00100000>;
  98. reg = <0xfef00000 0x100000>; // CCSRBAR 1M
  99. bus-frequency = <33333333>;
  100. i2c1: i2c@3000 {
  101. #address-cells = <1>;
  102. #size-cells = <0>;
  103. compatible = "fsl-i2c";
  104. reg = <0x3000 0x100>;
  105. interrupts = <0x2b 0x2>;
  106. interrupt-parent = <&mpic>;
  107. dfsrr;
  108. eti@6b {
  109. compatible = "dallas,ds1682";
  110. reg = <0x6b>;
  111. };
  112. };
  113. i2c2: i2c@3100 {
  114. #address-cells = <1>;
  115. #size-cells = <0>;
  116. compatible = "fsl-i2c";
  117. reg = <0x3100 0x100>;
  118. interrupts = <0x2b 0x2>;
  119. interrupt-parent = <&mpic>;
  120. dfsrr;
  121. };
  122. dma@21300 {
  123. #address-cells = <1>;
  124. #size-cells = <1>;
  125. compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
  126. reg = <0x21300 0x4>;
  127. ranges = <0x0 0x21100 0x200>;
  128. cell-index = <0>;
  129. dma-channel@0 {
  130. compatible = "fsl,mpc8641-dma-channel",
  131. "fsl,eloplus-dma-channel";
  132. reg = <0x0 0x80>;
  133. cell-index = <0>;
  134. interrupt-parent = <&mpic>;
  135. interrupts = <20 2>;
  136. };
  137. dma-channel@80 {
  138. compatible = "fsl,mpc8641-dma-channel",
  139. "fsl,eloplus-dma-channel";
  140. reg = <0x80 0x80>;
  141. cell-index = <1>;
  142. interrupt-parent = <&mpic>;
  143. interrupts = <21 2>;
  144. };
  145. dma-channel@100 {
  146. compatible = "fsl,mpc8641-dma-channel",
  147. "fsl,eloplus-dma-channel";
  148. reg = <0x100 0x80>;
  149. cell-index = <2>;
  150. interrupt-parent = <&mpic>;
  151. interrupts = <22 2>;
  152. };
  153. dma-channel@180 {
  154. compatible = "fsl,mpc8641-dma-channel",
  155. "fsl,eloplus-dma-channel";
  156. reg = <0x180 0x80>;
  157. cell-index = <3>;
  158. interrupt-parent = <&mpic>;
  159. interrupts = <23 2>;
  160. };
  161. };
  162. mdio@24520 {
  163. #address-cells = <1>;
  164. #size-cells = <0>;
  165. compatible = "fsl,gianfar-mdio";
  166. reg = <0x24520 0x20>;
  167. phy0: ethernet-phy@0 {
  168. interrupt-parent = <&gef_pic>;
  169. interrupts = <0x9 0x4>;
  170. reg = <1>;
  171. };
  172. phy2: ethernet-phy@2 {
  173. interrupt-parent = <&gef_pic>;
  174. interrupts = <0x8 0x4>;
  175. reg = <3>;
  176. };
  177. };
  178. enet0: ethernet@24000 {
  179. device_type = "network";
  180. model = "eTSEC";
  181. compatible = "gianfar";
  182. reg = <0x24000 0x1000>;
  183. local-mac-address = [ 00 00 00 00 00 00 ];
  184. interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
  185. interrupt-parent = <&mpic>;
  186. phy-handle = <&phy0>;
  187. phy-connection-type = "gmii";
  188. };
  189. enet1: ethernet@26000 {
  190. device_type = "network";
  191. model = "eTSEC";
  192. compatible = "gianfar";
  193. reg = <0x26000 0x1000>;
  194. local-mac-address = [ 00 00 00 00 00 00 ];
  195. interrupts = <0x1f 0x2 0x20 0x2 0x21 0x2>;
  196. interrupt-parent = <&mpic>;
  197. phy-handle = <&phy2>;
  198. phy-connection-type = "gmii";
  199. };
  200. serial0: serial@4500 {
  201. cell-index = <0>;
  202. device_type = "serial";
  203. compatible = "ns16550";
  204. reg = <0x4500 0x100>;
  205. clock-frequency = <0>;
  206. interrupts = <0x2a 0x2>;
  207. interrupt-parent = <&mpic>;
  208. };
  209. serial1: serial@4600 {
  210. cell-index = <1>;
  211. device_type = "serial";
  212. compatible = "ns16550";
  213. reg = <0x4600 0x100>;
  214. clock-frequency = <0>;
  215. interrupts = <0x1c 0x2>;
  216. interrupt-parent = <&mpic>;
  217. };
  218. mpic: pic@40000 {
  219. clock-frequency = <0>;
  220. interrupt-controller;
  221. #address-cells = <0>;
  222. #interrupt-cells = <2>;
  223. reg = <0x40000 0x40000>;
  224. compatible = "chrp,open-pic";
  225. device_type = "open-pic";
  226. };
  227. global-utilities@e0000 {
  228. compatible = "fsl,mpc8641-guts";
  229. reg = <0xe0000 0x1000>;
  230. fsl,has-rstcr;
  231. };
  232. };
  233. pci0: pcie@fef08000 {
  234. compatible = "fsl,mpc8641-pcie";
  235. device_type = "pci";
  236. #interrupt-cells = <1>;
  237. #size-cells = <2>;
  238. #address-cells = <3>;
  239. reg = <0xfef08000 0x1000>;
  240. bus-range = <0x0 0xff>;
  241. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x40000000
  242. 0x01000000 0x0 0x00000000 0xfe000000 0x0 0x00400000>;
  243. clock-frequency = <33333333>;
  244. interrupt-parent = <&mpic>;
  245. interrupts = <0x18 0x2>;
  246. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  247. interrupt-map = <
  248. 0x0000 0x0 0x0 0x1 &mpic 0x0 0x1
  249. 0x0000 0x0 0x0 0x2 &mpic 0x1 0x1
  250. 0x0000 0x0 0x0 0x3 &mpic 0x2 0x1
  251. 0x0000 0x0 0x0 0x4 &mpic 0x3 0x1
  252. >;
  253. pcie@0 {
  254. reg = <0 0 0 0 0>;
  255. #size-cells = <2>;
  256. #address-cells = <3>;
  257. device_type = "pci";
  258. ranges = <0x02000000 0x0 0x80000000
  259. 0x02000000 0x0 0x80000000
  260. 0x0 0x40000000
  261. 0x01000000 0x0 0x00000000
  262. 0x01000000 0x0 0x00000000
  263. 0x0 0x00400000>;
  264. };
  265. };
  266. };