gef_sbc610.dts 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  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. soc@fef00000 {
  63. #address-cells = <1>;
  64. #size-cells = <1>;
  65. #interrupt-cells = <2>;
  66. device_type = "soc";
  67. compatible = "simple-bus";
  68. ranges = <0x0 0xfef00000 0x00100000>;
  69. reg = <0xfef00000 0x100000>; // CCSRBAR 1M
  70. bus-frequency = <0>;
  71. i2c1: i2c@3000 {
  72. #address-cells = <1>;
  73. #size-cells = <0>;
  74. compatible = "fsl-i2c";
  75. reg = <0x3000 0x100>;
  76. interrupts = <0x2b 0x2>;
  77. interrupt-parent = <&mpic>;
  78. dfsrr;
  79. eti@6b {
  80. compatible = "dallas,ds1682";
  81. reg = <0x6b>;
  82. };
  83. };
  84. i2c2: i2c@3100 {
  85. #address-cells = <1>;
  86. #size-cells = <0>;
  87. compatible = "fsl-i2c";
  88. reg = <0x3100 0x100>;
  89. interrupts = <0x2b 0x2>;
  90. interrupt-parent = <&mpic>;
  91. dfsrr;
  92. };
  93. dma@21300 {
  94. #address-cells = <1>;
  95. #size-cells = <1>;
  96. compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
  97. reg = <0x21300 0x4>;
  98. ranges = <0x0 0x21100 0x200>;
  99. cell-index = <0>;
  100. dma-channel@0 {
  101. compatible = "fsl,mpc8641-dma-channel",
  102. "fsl,eloplus-dma-channel";
  103. reg = <0x0 0x80>;
  104. cell-index = <0>;
  105. interrupt-parent = <&mpic>;
  106. interrupts = <20 2>;
  107. };
  108. dma-channel@80 {
  109. compatible = "fsl,mpc8641-dma-channel",
  110. "fsl,eloplus-dma-channel";
  111. reg = <0x80 0x80>;
  112. cell-index = <1>;
  113. interrupt-parent = <&mpic>;
  114. interrupts = <21 2>;
  115. };
  116. dma-channel@100 {
  117. compatible = "fsl,mpc8641-dma-channel",
  118. "fsl,eloplus-dma-channel";
  119. reg = <0x100 0x80>;
  120. cell-index = <2>;
  121. interrupt-parent = <&mpic>;
  122. interrupts = <22 2>;
  123. };
  124. dma-channel@180 {
  125. compatible = "fsl,mpc8641-dma-channel",
  126. "fsl,eloplus-dma-channel";
  127. reg = <0x180 0x80>;
  128. cell-index = <3>;
  129. interrupt-parent = <&mpic>;
  130. interrupts = <23 2>;
  131. };
  132. };
  133. mdio@24520 {
  134. #address-cells = <1>;
  135. #size-cells = <0>;
  136. compatible = "fsl,gianfar-mdio";
  137. reg = <0x24520 0x20>;
  138. phy0: ethernet-phy@0 {
  139. interrupt-parent = <&mpic>;
  140. interrupts = <0x0 0x1>;
  141. reg = <1>;
  142. };
  143. phy2: ethernet-phy@2 {
  144. interrupt-parent = <&mpic>;
  145. interrupts = <0x0 0x1>;
  146. reg = <3>;
  147. };
  148. };
  149. enet0: ethernet@24000 {
  150. device_type = "network";
  151. model = "eTSEC";
  152. compatible = "gianfar";
  153. reg = <0x24000 0x1000>;
  154. local-mac-address = [ 00 00 00 00 00 00 ];
  155. interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
  156. interrupt-parent = <&mpic>;
  157. phy-handle = <&phy0>;
  158. phy-connection-type = "gmii";
  159. };
  160. enet1: ethernet@26000 {
  161. device_type = "network";
  162. model = "eTSEC";
  163. compatible = "gianfar";
  164. reg = <0x26000 0x1000>;
  165. local-mac-address = [ 00 00 00 00 00 00 ];
  166. interrupts = <0x1f 0x2 0x20 0x2 0x21 0x2>;
  167. interrupt-parent = <&mpic>;
  168. phy-handle = <&phy2>;
  169. phy-connection-type = "gmii";
  170. };
  171. serial0: serial@4500 {
  172. cell-index = <0>;
  173. device_type = "serial";
  174. compatible = "ns16550";
  175. reg = <0x4500 0x100>;
  176. clock-frequency = <0>;
  177. interrupts = <0x2a 0x2>;
  178. interrupt-parent = <&mpic>;
  179. };
  180. serial1: serial@4600 {
  181. cell-index = <1>;
  182. device_type = "serial";
  183. compatible = "ns16550";
  184. reg = <0x4600 0x100>;
  185. clock-frequency = <0>;
  186. interrupts = <0x1c 0x2>;
  187. interrupt-parent = <&mpic>;
  188. };
  189. mpic: pic@40000 {
  190. clock-frequency = <0>;
  191. interrupt-controller;
  192. #address-cells = <0>;
  193. #interrupt-cells = <2>;
  194. reg = <0x40000 0x40000>;
  195. compatible = "chrp,open-pic";
  196. device_type = "open-pic";
  197. };
  198. global-utilities@e0000 {
  199. compatible = "fsl,mpc8641-guts";
  200. reg = <0xe0000 0x1000>;
  201. fsl,has-rstcr;
  202. };
  203. };
  204. pci0: pcie@fef08000 {
  205. compatible = "fsl,mpc8641-pcie";
  206. device_type = "pci";
  207. #interrupt-cells = <1>;
  208. #size-cells = <2>;
  209. #address-cells = <3>;
  210. reg = <0xfef08000 0x1000>;
  211. bus-range = <0x0 0xff>;
  212. ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x40000000
  213. 0x01000000 0x0 0x00000000 0xfe000000 0x0 0x00400000>;
  214. clock-frequency = <33333333>;
  215. interrupt-parent = <&mpic>;
  216. interrupts = <0x18 0x2>;
  217. interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
  218. interrupt-map = <
  219. 0x0000 0x0 0x0 0x1 &mpic 0x0 0x1
  220. 0x0000 0x0 0x0 0x2 &mpic 0x1 0x1
  221. 0x0000 0x0 0x0 0x3 &mpic 0x2 0x1
  222. 0x0000 0x0 0x0 0x4 &mpic 0x3 0x1
  223. >;
  224. pcie@0 {
  225. reg = <0 0 0 0 0>;
  226. #size-cells = <2>;
  227. #address-cells = <3>;
  228. device_type = "pci";
  229. ranges = <0x02000000 0x0 0x80000000
  230. 0x02000000 0x0 0x80000000
  231. 0x0 0x40000000
  232. 0x01000000 0x0 0x00000000
  233. 0x01000000 0x0 0x00000000
  234. 0x0 0x00400000>;
  235. };
  236. };
  237. };