sequoia.dts 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. /*
  2. * Device Tree Source for AMCC Sequoia
  3. *
  4. * Based on Bamboo code by Josh Boyer <jwboyer@linux.vnet.ibm.com>
  5. * Copyright (c) 2006, 2007 IBM Corp.
  6. *
  7. * FIXME: Draft only!
  8. *
  9. * This file is licensed under the terms of the GNU General Public
  10. * License version 2. This program is licensed "as is" without
  11. * any warranty of any kind, whether express or implied.
  12. *
  13. */
  14. / {
  15. #address-cells = <2>;
  16. #size-cells = <1>;
  17. model = "amcc,sequoia";
  18. compatible = "amcc,sequoia";
  19. dcr-parent = <&/cpus/PowerPC,440EPx@0>;
  20. cpus {
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. PowerPC,440EPx@0 {
  24. device_type = "cpu";
  25. reg = <0>;
  26. clock-frequency = <0>; /* Filled in by zImage */
  27. timebase-frequency = <0>; /* Filled in by zImage */
  28. i-cache-line-size = <20>;
  29. d-cache-line-size = <20>;
  30. i-cache-size = <8000>;
  31. d-cache-size = <8000>;
  32. dcr-controller;
  33. dcr-access-method = "native";
  34. };
  35. };
  36. memory {
  37. device_type = "memory";
  38. reg = <0 0 0>; /* Filled in by zImage */
  39. };
  40. UIC0: interrupt-controller0 {
  41. compatible = "ibm,uic-440epx","ibm,uic";
  42. interrupt-controller;
  43. cell-index = <0>;
  44. dcr-reg = <0c0 009>;
  45. #address-cells = <0>;
  46. #size-cells = <0>;
  47. #interrupt-cells = <2>;
  48. };
  49. UIC1: interrupt-controller1 {
  50. compatible = "ibm,uic-440epx","ibm,uic";
  51. interrupt-controller;
  52. cell-index = <1>;
  53. dcr-reg = <0d0 009>;
  54. #address-cells = <0>;
  55. #size-cells = <0>;
  56. #interrupt-cells = <2>;
  57. interrupts = <1e 4 1f 4>; /* cascade */
  58. interrupt-parent = <&UIC0>;
  59. };
  60. UIC2: interrupt-controller2 {
  61. compatible = "ibm,uic-440epx","ibm,uic";
  62. interrupt-controller;
  63. cell-index = <2>;
  64. dcr-reg = <0e0 009>;
  65. #address-cells = <0>;
  66. #size-cells = <0>;
  67. #interrupt-cells = <2>;
  68. interrupts = <1c 4 1d 4>; /* cascade */
  69. interrupt-parent = <&UIC0>;
  70. };
  71. SDR0: sdr {
  72. compatible = "ibm,sdr-440epx", "ibm,sdr-440ep";
  73. dcr-reg = <00e 002>;
  74. };
  75. CPR0: cpr {
  76. compatible = "ibm,cpr-440epx", "ibm,cpr-440ep";
  77. dcr-reg = <00c 002>;
  78. };
  79. plb {
  80. compatible = "ibm,plb-440epx", "ibm,plb4";
  81. #address-cells = <2>;
  82. #size-cells = <1>;
  83. ranges;
  84. clock-frequency = <0>; /* Filled in by zImage */
  85. SDRAM0: sdram {
  86. device_type = "memory-controller";
  87. compatible = "ibm,sdram-440epx", "ibm,sdram-44x-ddr2denali";
  88. dcr-reg = <010 2>;
  89. };
  90. DMA0: dma {
  91. compatible = "ibm,dma-440epx", "ibm,dma-4xx";
  92. dcr-reg = <100 027>;
  93. };
  94. MAL0: mcmal {
  95. compatible = "ibm,mcmal-440epx", "ibm,mcmal2";
  96. dcr-reg = <180 62>;
  97. num-tx-chans = <2>;
  98. num-rx-chans = <2>;
  99. interrupt-parent = <&MAL0>;
  100. interrupts = <0 1 2 3 4>;
  101. #interrupt-cells = <1>;
  102. #address-cells = <0>;
  103. #size-cells = <0>;
  104. interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
  105. /*RXEOB*/ 1 &UIC0 b 4
  106. /*SERR*/ 2 &UIC1 0 4
  107. /*TXDE*/ 3 &UIC1 1 4
  108. /*RXDE*/ 4 &UIC1 2 4>;
  109. interrupt-map-mask = <ffffffff>;
  110. };
  111. POB0: opb {
  112. compatible = "ibm,opb-440epx", "ibm,opb";
  113. #address-cells = <1>;
  114. #size-cells = <1>;
  115. ranges = <00000000 1 00000000 80000000
  116. 80000000 1 80000000 80000000>;
  117. interrupt-parent = <&UIC1>;
  118. interrupts = <7 4>;
  119. clock-frequency = <0>; /* Filled in by zImage */
  120. EBC0: ebc {
  121. compatible = "ibm,ebc-440epx", "ibm,ebc";
  122. dcr-reg = <012 2>;
  123. #address-cells = <2>;
  124. #size-cells = <1>;
  125. clock-frequency = <0>; /* Filled in by zImage */
  126. interrupts = <5 1>;
  127. interrupt-parent = <&UIC1>;
  128. nor_flash@0,0 {
  129. compatible = "amd,s29gl256n", "cfi-flash";
  130. bank-width = <2>;
  131. reg = <0 000000 4000000>;
  132. #address-cells = <1>;
  133. #size-cells = <1>;
  134. partition@0 {
  135. label = "Kernel";
  136. reg = <0 180000>;
  137. };
  138. partition@180000 {
  139. label = "ramdisk";
  140. reg = <180000 200000>;
  141. };
  142. partition@380000 {
  143. label = "file system";
  144. reg = <380000 3aa0000>;
  145. };
  146. partition@3e20000 {
  147. label = "kozio";
  148. reg = <3e20000 140000>;
  149. };
  150. partition@3f60000 {
  151. label = "env";
  152. reg = <3f60000 40000>;
  153. };
  154. partition@3fa0000 {
  155. label = "u-boot";
  156. reg = <3fa0000 60000>;
  157. };
  158. };
  159. };
  160. UART0: serial@ef600300 {
  161. device_type = "serial";
  162. compatible = "ns16550";
  163. reg = <ef600300 8>;
  164. virtual-reg = <ef600300>;
  165. clock-frequency = <0>; /* Filled in by zImage */
  166. current-speed = <1c200>;
  167. interrupt-parent = <&UIC0>;
  168. interrupts = <0 4>;
  169. };
  170. UART1: serial@ef600400 {
  171. device_type = "serial";
  172. compatible = "ns16550";
  173. reg = <ef600400 8>;
  174. virtual-reg = <ef600400>;
  175. clock-frequency = <0>;
  176. current-speed = <0>;
  177. interrupt-parent = <&UIC0>;
  178. interrupts = <1 4>;
  179. };
  180. UART2: serial@ef600500 {
  181. device_type = "serial";
  182. compatible = "ns16550";
  183. reg = <ef600500 8>;
  184. virtual-reg = <ef600500>;
  185. clock-frequency = <0>;
  186. current-speed = <0>;
  187. interrupt-parent = <&UIC1>;
  188. interrupts = <3 4>;
  189. };
  190. UART3: serial@ef600600 {
  191. device_type = "serial";
  192. compatible = "ns16550";
  193. reg = <ef600600 8>;
  194. virtual-reg = <ef600600>;
  195. clock-frequency = <0>;
  196. current-speed = <0>;
  197. interrupt-parent = <&UIC1>;
  198. interrupts = <4 4>;
  199. };
  200. IIC0: i2c@ef600700 {
  201. device_type = "i2c";
  202. compatible = "ibm,iic-440epx", "ibm,iic";
  203. reg = <ef600700 14>;
  204. interrupt-parent = <&UIC0>;
  205. interrupts = <2 4>;
  206. };
  207. IIC1: i2c@ef600800 {
  208. device_type = "i2c";
  209. compatible = "ibm,iic-440epx", "ibm,iic";
  210. reg = <ef600800 14>;
  211. interrupt-parent = <&UIC0>;
  212. interrupts = <7 4>;
  213. };
  214. ZMII0: emac-zmii@ef600d00 {
  215. device_type = "zmii-interface";
  216. compatible = "ibm,zmii-440epx", "ibm,zmii";
  217. reg = <ef600d00 c>;
  218. };
  219. EMAC0: ethernet@ef600e00 {
  220. linux,network-index = <0>;
  221. device_type = "network";
  222. compatible = "ibm,emac-440epx", "ibm,emac4";
  223. interrupt-parent = <&EMAC0>;
  224. interrupts = <0 1>;
  225. #interrupt-cells = <1>;
  226. #address-cells = <0>;
  227. #size-cells = <0>;
  228. interrupt-map = </*Status*/ 0 &UIC0 18 4
  229. /*Wake*/ 1 &UIC1 1d 4>;
  230. reg = <ef600e00 70>;
  231. local-mac-address = [000000000000];
  232. mal-device = <&MAL0>;
  233. mal-tx-channel = <0>;
  234. mal-rx-channel = <0>;
  235. cell-index = <0>;
  236. max-frame-size = <5dc>;
  237. rx-fifo-size = <1000>;
  238. tx-fifo-size = <800>;
  239. phy-mode = "rmii";
  240. phy-map = <00000000>;
  241. zmii-device = <&ZMII0>;
  242. zmii-channel = <0>;
  243. };
  244. EMAC1: ethernet@ef600f00 {
  245. linux,network-index = <1>;
  246. device_type = "network";
  247. compatible = "ibm,emac-440epx", "ibm,emac4";
  248. interrupt-parent = <&EMAC1>;
  249. interrupts = <0 1>;
  250. #interrupt-cells = <1>;
  251. #address-cells = <0>;
  252. #size-cells = <0>;
  253. interrupt-map = </*Status*/ 0 &UIC0 19 4
  254. /*Wake*/ 1 &UIC1 1f 4>;
  255. reg = <ef600f00 70>;
  256. local-mac-address = [000000000000];
  257. mal-device = <&MAL0>;
  258. mal-tx-channel = <1>;
  259. mal-rx-channel = <1>;
  260. cell-index = <1>;
  261. max-frame-size = <5dc>;
  262. rx-fifo-size = <1000>;
  263. tx-fifo-size = <800>;
  264. phy-mode = "rmii";
  265. phy-map = <00000000>;
  266. zmii-device = <&ZMII0>;
  267. zmii-channel = <1>;
  268. };
  269. };
  270. };
  271. chosen {
  272. linux,stdout-path = "/plb/opb/serial@ef600300";
  273. bootargs = "console=ttyS0,115200";
  274. };
  275. };