bamboo.dts 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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. interrupt-map = </*TXEOB*/ 0 &UIC0 a 4
  90. /*RXEOB*/ 1 &UIC0 b 4
  91. /*SERR*/ 2 &UIC1 0 4
  92. /*TXDE*/ 3 &UIC1 1 4
  93. /*RXDE*/ 4 &UIC1 3 4>;
  94. };
  95. POB0: opb {
  96. compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb";
  97. #address-cells = <1>;
  98. #size-cells = <1>;
  99. /* Bamboo is oddball in the 44x world and doesn't use the ERPN
  100. * bits.
  101. */
  102. ranges = <00000000 0 00000000 80000000
  103. 80000000 0 80000000 80000000>;
  104. interrupt-parent = <&UIC1>;
  105. interrupts = <7 4>;
  106. clock-frequency = <0>; /* Filled in by zImage */
  107. EBC0: ebc {
  108. compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc";
  109. dcr-reg = <012 2>;
  110. #address-cells = <2>;
  111. #size-cells = <1>;
  112. clock-frequency = <0>; /* Filled in by zImage */
  113. ranges;
  114. interrupts = <5 1>;
  115. interrupt-parent = <&UIC1>;
  116. };
  117. UART0: serial@ef600300 {
  118. device_type = "serial";
  119. compatible = "ns16550";
  120. reg = <ef600300 8>;
  121. virtual-reg = <ef600300>;
  122. clock-frequency = <0>; /* Filled in by zImage */
  123. current-speed = <1c200>;
  124. interrupt-parent = <&UIC0>;
  125. interrupts = <0 4>;
  126. };
  127. UART1: serial@ef600400 {
  128. device_type = "serial";
  129. compatible = "ns16550";
  130. reg = <ef600400 8>;
  131. virtual-reg = <ef600400>;
  132. clock-frequency = <0>;
  133. current-speed = <0>;
  134. interrupt-parent = <&UIC0>;
  135. interrupts = <1 4>;
  136. };
  137. UART2: serial@ef600500 {
  138. device_type = "serial";
  139. compatible = "ns16550";
  140. reg = <ef600500 8>;
  141. virtual-reg = <ef600500>;
  142. clock-frequency = <0>;
  143. current-speed = <0>;
  144. interrupt-parent = <&UIC0>;
  145. interrupts = <3 4>;
  146. };
  147. UART3: serial@ef600600 {
  148. device_type = "serial";
  149. compatible = "ns16550";
  150. reg = <ef600600 8>;
  151. virtual-reg = <ef600600>;
  152. clock-frequency = <0>;
  153. current-speed = <0>;
  154. interrupt-parent = <&UIC0>;
  155. interrupts = <4 4>;
  156. };
  157. IIC0: i2c@ef600700 {
  158. device_type = "i2c";
  159. compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
  160. reg = <ef600700 14>;
  161. interrupt-parent = <&UIC0>;
  162. interrupts = <2 4>;
  163. };
  164. IIC1: i2c@ef600800 {
  165. device_type = "i2c";
  166. compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic";
  167. reg = <ef600800 14>;
  168. interrupt-parent = <&UIC0>;
  169. interrupts = <7 4>;
  170. };
  171. ZMII0: emac-zmii@ef600d00 {
  172. device_type = "zmii-interface";
  173. compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii";
  174. reg = <ef600d00 c>;
  175. };
  176. EMAC0: ethernet@ef600e00 {
  177. device_type = "network";
  178. compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
  179. interrupt-parent = <&UIC1>;
  180. interrupts = <1c 4 1d 4>;
  181. reg = <ef600e00 70>;
  182. local-mac-address = [000000000000];
  183. mal-device = <&MAL0>;
  184. mal-tx-channel = <0 1>;
  185. mal-rx-channel = <0>;
  186. cell-index = <0>;
  187. max-frame-size = <5dc>;
  188. rx-fifo-size = <1000>;
  189. tx-fifo-size = <800>;
  190. phy-mode = "rmii";
  191. phy-map = <00000001>;
  192. zmii-device = <&ZMII0>;
  193. zmii-channel = <0>;
  194. };
  195. EMAC1: ethernet@ef600f00 {
  196. device_type = "network";
  197. compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac";
  198. interrupt-parent = <&UIC1>;
  199. interrupts = <1e 4 1f 4>;
  200. reg = <ef600f00 70>;
  201. local-mac-address = [000000000000];
  202. mal-device = <&MAL0>;
  203. mal-tx-channel = <2 3>;
  204. mal-rx-channel = <1>;
  205. cell-index = <1>;
  206. max-frame-size = <5dc>;
  207. rx-fifo-size = <1000>;
  208. tx-fifo-size = <800>;
  209. phy-mode = "rmii";
  210. phy-map = <00000001>;
  211. zmii-device = <&ZMII0>;
  212. zmii-channel = <1>;
  213. };
  214. };
  215. };
  216. chosen {
  217. linux,stdout-path = "/plb/opb/serial@ef600300";
  218. bootargs = "console=ttyS0,115200";
  219. };
  220. };