rainier.dts 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. /*
  2. * Device Tree Source for AMCC Rainier
  3. *
  4. * Based on Sequoia code
  5. * Copyright (c) 2007 MontaVista Software, Inc.
  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,rainier";
  18. compatible = "amcc,rainier";
  19. dcr-parent = <&/cpus/PowerPC,440GRx@0>;
  20. cpus {
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. PowerPC,440GRx@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-440grx","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-440grx","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-440grx","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-440grx", "ibm,sdr-440ep";
  73. dcr-reg = <00e 002>;
  74. };
  75. CPR0: cpr {
  76. compatible = "ibm,cpr-440grx", "ibm,cpr-440ep";
  77. dcr-reg = <00c 002>;
  78. };
  79. plb {
  80. compatible = "ibm,plb-440grx", "ibm,plb4";
  81. #address-cells = <2>;
  82. #size-cells = <1>;
  83. ranges;
  84. clock-frequency = <0>; /* Filled in by zImage */
  85. SDRAM0: sdram {
  86. compatible = "ibm,sdram-440grx", "ibm,sdram-44x-ddr2denali";
  87. dcr-reg = <010 2>;
  88. };
  89. DMA0: dma {
  90. compatible = "ibm,dma-440grx", "ibm,dma-4xx";
  91. dcr-reg = <100 027>;
  92. };
  93. MAL0: mcmal {
  94. compatible = "ibm,mcmal-440grx", "ibm,mcmal2";
  95. dcr-reg = <180 62>;
  96. num-tx-chans = <2>;
  97. num-rx-chans = <2>;
  98. interrupt-parent = <&MAL0>;
  99. interrupts = <0 1 2 3 4>;
  100. #interrupt-cells = <1>;
  101. #address-cells = <0>;
  102. #size-cells = <0>;
  103. interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
  104. /*RXEOB*/ 1 &UIC0 b 4
  105. /*SERR*/ 2 &UIC1 0 4
  106. /*TXDE*/ 3 &UIC1 1 4
  107. /*RXDE*/ 4 &UIC1 2 4>;
  108. interrupt-map-mask = <ffffffff>;
  109. };
  110. POB0: opb {
  111. compatible = "ibm,opb-440grx", "ibm,opb";
  112. #address-cells = <1>;
  113. #size-cells = <1>;
  114. ranges = <00000000 1 00000000 80000000
  115. 80000000 1 80000000 80000000>;
  116. interrupt-parent = <&UIC1>;
  117. interrupts = <7 4>;
  118. clock-frequency = <0>; /* Filled in by zImage */
  119. EBC0: ebc {
  120. compatible = "ibm,ebc-440grx", "ibm,ebc";
  121. dcr-reg = <012 2>;
  122. #address-cells = <2>;
  123. #size-cells = <1>;
  124. clock-frequency = <0>; /* Filled in by zImage */
  125. interrupts = <5 1>;
  126. interrupt-parent = <&UIC1>;
  127. nor_flash@0,0 {
  128. compatible = "amd,s29gl256n", "cfi-flash";
  129. bank-width = <2>;
  130. reg = <0 000000 4000000>;
  131. #address-cells = <1>;
  132. #size-cells = <1>;
  133. partition@0 {
  134. label = "Kernel";
  135. reg = <0 180000>;
  136. };
  137. partition@180000 {
  138. label = "ramdisk";
  139. reg = <180000 200000>;
  140. };
  141. partition@380000 {
  142. label = "file system";
  143. reg = <380000 3aa0000>;
  144. };
  145. partition@3e20000 {
  146. label = "kozio";
  147. reg = <3e20000 140000>;
  148. };
  149. partition@3f60000 {
  150. label = "env";
  151. reg = <3f60000 40000>;
  152. };
  153. partition@3fa0000 {
  154. label = "u-boot";
  155. reg = <3fa0000 60000>;
  156. };
  157. };
  158. };
  159. UART0: serial@ef600300 {
  160. device_type = "serial";
  161. compatible = "ns16550";
  162. reg = <ef600300 8>;
  163. virtual-reg = <ef600300>;
  164. clock-frequency = <0>; /* Filled in by zImage */
  165. current-speed = <1c200>;
  166. interrupt-parent = <&UIC0>;
  167. interrupts = <0 4>;
  168. };
  169. UART1: serial@ef600400 {
  170. device_type = "serial";
  171. compatible = "ns16550";
  172. reg = <ef600400 8>;
  173. virtual-reg = <ef600400>;
  174. clock-frequency = <0>;
  175. current-speed = <0>;
  176. interrupt-parent = <&UIC0>;
  177. interrupts = <1 4>;
  178. };
  179. UART2: serial@ef600500 {
  180. device_type = "serial";
  181. compatible = "ns16550";
  182. reg = <ef600500 8>;
  183. virtual-reg = <ef600500>;
  184. clock-frequency = <0>;
  185. current-speed = <0>;
  186. interrupt-parent = <&UIC1>;
  187. interrupts = <3 4>;
  188. };
  189. UART3: serial@ef600600 {
  190. device_type = "serial";
  191. compatible = "ns16550";
  192. reg = <ef600600 8>;
  193. virtual-reg = <ef600600>;
  194. clock-frequency = <0>;
  195. current-speed = <0>;
  196. interrupt-parent = <&UIC1>;
  197. interrupts = <4 4>;
  198. };
  199. IIC0: i2c@ef600700 {
  200. device_type = "i2c";
  201. compatible = "ibm,iic-440grx", "ibm,iic";
  202. reg = <ef600700 14>;
  203. interrupt-parent = <&UIC0>;
  204. interrupts = <2 4>;
  205. };
  206. IIC1: i2c@ef600800 {
  207. device_type = "i2c";
  208. compatible = "ibm,iic-440grx", "ibm,iic";
  209. reg = <ef600800 14>;
  210. interrupt-parent = <&UIC0>;
  211. interrupts = <7 4>;
  212. };
  213. ZMII0: emac-zmii@ef600d00 {
  214. device_type = "zmii-interface";
  215. compatible = "ibm,zmii-440grx", "ibm,zmii";
  216. reg = <ef600d00 c>;
  217. };
  218. RGMII0: emac-rgmii@ef601000 {
  219. device_type = "rgmii-interface";
  220. compatible = "ibm,rgmii-440grx", "ibm,rgmii";
  221. reg = <ef601000 8>;
  222. has-mdio;
  223. };
  224. EMAC0: ethernet@ef600e00 {
  225. linux,network-index = <0>;
  226. device_type = "network";
  227. compatible = "ibm,emac-440grx", "ibm,emac-440epx", "ibm,emac4";
  228. interrupt-parent = <&EMAC0>;
  229. interrupts = <0 1>;
  230. #interrupt-cells = <1>;
  231. #address-cells = <0>;
  232. #size-cells = <0>;
  233. interrupt-map = </*Status*/ 0 &UIC0 18 4
  234. /*Wake*/ 1 &UIC1 1d 4>;
  235. reg = <ef600e00 70>;
  236. local-mac-address = [000000000000];
  237. mal-device = <&MAL0>;
  238. mal-tx-channel = <0>;
  239. mal-rx-channel = <0>;
  240. cell-index = <0>;
  241. max-frame-size = <5dc>;
  242. rx-fifo-size = <1000>;
  243. tx-fifo-size = <800>;
  244. phy-mode = "rgmii";
  245. phy-map = <00000000>;
  246. zmii-device = <&ZMII0>;
  247. zmii-channel = <0>;
  248. rgmii-device = <&RGMII0>;
  249. rgmii-channel = <0>;
  250. has-inverted-stacr-oc;
  251. has-new-stacr-staopc;
  252. };
  253. EMAC1: ethernet@ef600f00 {
  254. linux,network-index = <1>;
  255. device_type = "network";
  256. compatible = "ibm,emac-440grx", "ibm,emac-440epx", "ibm,emac4";
  257. interrupt-parent = <&EMAC1>;
  258. interrupts = <0 1>;
  259. #interrupt-cells = <1>;
  260. #address-cells = <0>;
  261. #size-cells = <0>;
  262. interrupt-map = </*Status*/ 0 &UIC0 19 4
  263. /*Wake*/ 1 &UIC1 1f 4>;
  264. reg = <ef600f00 70>;
  265. local-mac-address = [000000000000];
  266. mal-device = <&MAL0>;
  267. mal-tx-channel = <1>;
  268. mal-rx-channel = <1>;
  269. cell-index = <1>;
  270. max-frame-size = <5dc>;
  271. rx-fifo-size = <1000>;
  272. tx-fifo-size = <800>;
  273. phy-mode = "rgmii";
  274. phy-map = <00000000>;
  275. zmii-device = <&ZMII0>;
  276. zmii-channel = <1>;
  277. rgmii-device = <&RGMII0>;
  278. rgmii-channel = <1>;
  279. has-inverted-stacr-oc;
  280. has-new-stacr-staopc;
  281. };
  282. };
  283. };
  284. chosen {
  285. linux,stdout-path = "/plb/opb/serial@ef600300";
  286. bootargs = "console=ttyS0,115200";
  287. };
  288. };