bamboo.dts 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. /*
  2. * Device Tree Source for AMCC Bamboo
  3. *
  4. * Copyright (c) 2006, 2007 IBM Corp.
  5. * Josh Boyer <jwboyer@linux.vnet.ibm.com>
  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. #address-cells = <2>;
  15. #size-cells = <1>;
  16. model = "amcc,bamboo";
  17. compatible = "amcc,bamboo";
  18. dcr-parent = <&/cpus/PowerPC,440EP@0>;
  19. cpus {
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. PowerPC,440EP@0 {
  23. device_type = "cpu";
  24. reg = <0>;
  25. clock-frequency = <0>; /* Filled in by zImage */
  26. timebase-frequency = <0>; /* Filled in by zImage */
  27. i-cache-line-size = <20>;
  28. d-cache-line-size = <20>;
  29. i-cache-size = <8000>;
  30. d-cache-size = <8000>;
  31. dcr-controller;
  32. dcr-access-method = "native";
  33. };
  34. };
  35. memory {
  36. device_type = "memory";
  37. reg = <0 0 0>; /* Filled in by zImage */
  38. };
  39. UIC0: interrupt-controller0 {
  40. compatible = "ibm,uic-440ep","ibm,uic";
  41. interrupt-controller;
  42. cell-index = <0>;
  43. dcr-reg = <0c0 009>;
  44. #address-cells = <0>;
  45. #size-cells = <0>;
  46. #interrupt-cells = <2>;
  47. };
  48. UIC1: interrupt-controller1 {
  49. compatible = "ibm,uic-440ep","ibm,uic";
  50. interrupt-controller;
  51. cell-index = <1>;
  52. dcr-reg = <0d0 009>;
  53. #address-cells = <0>;
  54. #size-cells = <0>;
  55. #interrupt-cells = <2>;
  56. interrupts = <1e 4 1f 4>; /* cascade */
  57. interrupt-parent = <&UIC0>;
  58. };
  59. SDR0: sdr {
  60. compatible = "ibm,sdr-440ep";
  61. dcr-reg = <00e 002>;
  62. };
  63. CPR0: cpr {
  64. compatible = "ibm,cpr-440ep";
  65. dcr-reg = <00c 002>;
  66. };
  67. plb {
  68. compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4";
  69. #address-cells = <2>;
  70. #size-cells = <1>;
  71. ranges;
  72. clock-frequency = <0>; /* Filled in by zImage */
  73. SDRAM0: sdram {
  74. compatible = "ibm,sdram-440ep", "ibm,sdram-405gp";
  75. dcr-reg = <010 2>;
  76. };
  77. DMA0: dma {
  78. compatible = "ibm,dma-440ep", "ibm,dma-440gp";
  79. dcr-reg = <100 027>;
  80. };
  81. MAL0: mcmal {
  82. compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal";
  83. dcr-reg = <180 62>;
  84. num-tx-chans = <4>;
  85. num-rx-chans = <2>;
  86. interrupt-parent = <&MAL0>;
  87. interrupts = <0 1 2 3 4>;
  88. #interrupt-cells = <1>;
  89. #address-cells = <0>;
  90. #size-cells = <0>;
  91. interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
  92. /*RXEOB*/ 1 &UIC0 b 4
  93. /*SERR*/ 2 &UIC1 0 4
  94. /*TXDE*/ 3 &UIC1 1 4
  95. /*RXDE*/ 4 &UIC1 2 4>;
  96. };
  97. POB0: opb {
  98. compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb";
  99. #address-cells = <1>;
  100. #size-cells = <1>;
  101. /* Bamboo is oddball in the 44x world and doesn't use the ERPN
  102. * bits.
  103. */
  104. ranges = <00000000 0 00000000 80000000
  105. 80000000 0 80000000 80000000>;
  106. interrupt-parent = <&UIC1>;
  107. interrupts = <7 4>;
  108. clock-frequency = <0>; /* Filled in by zImage */
  109. EBC0: ebc {
  110. compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc";
  111. dcr-reg = <012 2>;
  112. #address-cells = <2>;
  113. #size-cells = <1>;
  114. clock-frequency = <0>; /* Filled in by zImage */
  115. ranges;
  116. interrupts = <5 1>;
  117. interrupt-parent = <&UIC1>;
  118. };
  119. UART0: serial@ef600300 {
  120. device_type = "serial";
  121. compatible = "ns16550";
  122. reg = <ef600300 8>;
  123. virtual-reg = <ef600300>;
  124. clock-frequency = <0>; /* Filled in by zImage */
  125. current-speed = <1c200>;
  126. interrupt-parent = <&UIC0>;
  127. interrupts = <0 4>;
  128. };
  129. UART1: serial@ef600400 {
  130. device_type = "serial";
  131. compatible = "ns16550";
  132. reg = <ef600400 8>;
  133. virtual-reg = <ef600400>;
  134. clock-frequency = <0>;
  135. current-speed = <0>;
  136. interrupt-parent = <&UIC0>;
  137. interrupts = <1 4>;
  138. };
  139. UART2: serial@ef600500 {
  140. device_type = "serial";
  141. compatible = "ns16550";
  142. reg = <ef600500 8>;
  143. virtual-reg = <ef600500>;
  144. clock-frequency = <0>;
  145. current-speed = <0>;
  146. interrupt-parent = <&UIC0>;
  147. interrupts = <3 4>;
  148. };
  149. UART3: serial@ef600600 {
  150. device_type = "serial";
  151. compatible = "ns16550";
  152. reg = <ef600600 8>;
  153. virtual-reg = <ef600600>;
  154. clock-frequency = <0>;
  155. current-speed = <0>;
  156. interrupt-parent = <&UIC0>;
  157. interrupts = <4 4>;
  158. };
  159. IIC0: i2c@ef600700 {
  160. device_type = "i2c";
  161. compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
  162. reg = <ef600700 14>;
  163. interrupt-parent = <&UIC0>;
  164. interrupts = <2 4>;
  165. };
  166. IIC1: i2c@ef600800 {
  167. device_type = "i2c";
  168. compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
  169. reg = <ef600800 14>;
  170. interrupt-parent = <&UIC0>;
  171. interrupts = <7 4>;
  172. };
  173. ZMII0: emac-zmii@ef600d00 {
  174. device_type = "zmii-interface";
  175. compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii";
  176. reg = <ef600d00 c>;
  177. };
  178. EMAC0: ethernet@ef600e00 {
  179. linux,network-index = <0>;
  180. device_type = "network";
  181. compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
  182. interrupt-parent = <&UIC1>;
  183. interrupts = <1c 4 1d 4>;
  184. reg = <ef600e00 70>;
  185. local-mac-address = [000000000000];
  186. mal-device = <&MAL0>;
  187. mal-tx-channel = <0 1>;
  188. mal-rx-channel = <0>;
  189. cell-index = <0>;
  190. max-frame-size = <5dc>;
  191. rx-fifo-size = <1000>;
  192. tx-fifo-size = <800>;
  193. phy-mode = "rmii";
  194. phy-map = <00000000>;
  195. zmii-device = <&ZMII0>;
  196. zmii-channel = <0>;
  197. };
  198. EMAC1: ethernet@ef600f00 {
  199. linux,network-index = <1>;
  200. device_type = "network";
  201. compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
  202. interrupt-parent = <&UIC1>;
  203. interrupts = <1e 4 1f 4>;
  204. reg = <ef600f00 70>;
  205. local-mac-address = [000000000000];
  206. mal-device = <&MAL0>;
  207. mal-tx-channel = <2 3>;
  208. mal-rx-channel = <1>;
  209. cell-index = <1>;
  210. max-frame-size = <5dc>;
  211. rx-fifo-size = <1000>;
  212. tx-fifo-size = <800>;
  213. phy-mode = "rmii";
  214. phy-map = <00000000>;
  215. zmii-device = <&ZMII0>;
  216. zmii-channel = <1>;
  217. };
  218. };
  219. };
  220. chosen {
  221. linux,stdout-path = "/plb/opb/serial@ef600300";
  222. bootargs = "console=ttyS0,115200";
  223. };
  224. };