mpc885ads.dts 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. /*
  2. * MPC885 ADS Device Tree Source
  3. *
  4. * Copyright 2006 MontaVista Software, Inc.
  5. * Copyright 2007,2008 Freescale Semiconductor, Inc.
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the
  9. * Free Software Foundation; either version 2 of the License, or (at your
  10. * option) any later version.
  11. */
  12. /dts-v1/;
  13. / {
  14. model = "MPC885ADS";
  15. compatible = "fsl,mpc885ads";
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. cpus {
  19. #address-cells = <1>;
  20. #size-cells = <0>;
  21. PowerPC,885@0 {
  22. device_type = "cpu";
  23. reg = <0x0>;
  24. d-cache-line-size = <16>;
  25. i-cache-line-size = <16>;
  26. d-cache-size = <8192>;
  27. i-cache-size = <8192>;
  28. timebase-frequency = <0>;
  29. bus-frequency = <0>;
  30. clock-frequency = <0>;
  31. interrupts = <15 2>; // decrementer interrupt
  32. interrupt-parent = <&PIC>;
  33. };
  34. };
  35. memory {
  36. device_type = "memory";
  37. reg = <0x0 0x0>;
  38. };
  39. localbus@ff000100 {
  40. compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
  41. #address-cells = <2>;
  42. #size-cells = <1>;
  43. reg = <0xff000100 0x40>;
  44. ranges = <
  45. 0x0 0x0 0xfe000000 0x800000
  46. 0x1 0x0 0xff080000 0x8000
  47. 0x5 0x0 0xff0a0000 0x8000
  48. >;
  49. flash@0,0 {
  50. compatible = "jedec-flash";
  51. reg = <0x0 0x0 0x800000>;
  52. bank-width = <4>;
  53. device-width = <1>;
  54. };
  55. board-control@1,0 {
  56. reg = <0x1 0x0 0x20 0x5 0x300 0x4>;
  57. compatible = "fsl,mpc885ads-bcsr";
  58. };
  59. };
  60. soc@ff000000 {
  61. compatible = "fsl,mpc885", "fsl,pq1-soc";
  62. #address-cells = <1>;
  63. #size-cells = <1>;
  64. device_type = "soc";
  65. ranges = <0x0 0xff000000 0x4000>;
  66. bus-frequency = <0>;
  67. // Temporary -- will go away once kernel uses ranges for get_immrbase().
  68. reg = <0xff000000 0x4000>;
  69. mdio@e00 {
  70. compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
  71. reg = <0xe00 0x188>;
  72. #address-cells = <1>;
  73. #size-cells = <0>;
  74. PHY0: ethernet-phy@0 {
  75. reg = <0x0>;
  76. };
  77. PHY1: ethernet-phy@1 {
  78. reg = <0x1>;
  79. };
  80. PHY2: ethernet-phy@2 {
  81. reg = <0x2>;
  82. };
  83. };
  84. ethernet@e00 {
  85. device_type = "network";
  86. compatible = "fsl,mpc885-fec-enet",
  87. "fsl,pq1-fec-enet";
  88. reg = <0xe00 0x188>;
  89. local-mac-address = [ 00 00 00 00 00 00 ];
  90. interrupts = <3 1>;
  91. interrupt-parent = <&PIC>;
  92. phy-handle = <&PHY0>;
  93. linux,network-index = <0>;
  94. };
  95. ethernet@1e00 {
  96. device_type = "network";
  97. compatible = "fsl,mpc885-fec-enet",
  98. "fsl,pq1-fec-enet";
  99. reg = <0x1e00 0x188>;
  100. local-mac-address = [ 00 00 00 00 00 00 ];
  101. interrupts = <7 1>;
  102. interrupt-parent = <&PIC>;
  103. phy-handle = <&PHY1>;
  104. linux,network-index = <1>;
  105. };
  106. PIC: interrupt-controller@0 {
  107. interrupt-controller;
  108. #interrupt-cells = <2>;
  109. reg = <0x0 0x24>;
  110. compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
  111. };
  112. pcmcia@80 {
  113. #address-cells = <3>;
  114. #interrupt-cells = <1>;
  115. #size-cells = <2>;
  116. compatible = "fsl,pq-pcmcia";
  117. device_type = "pcmcia";
  118. reg = <0x80 0x80>;
  119. interrupt-parent = <&PIC>;
  120. interrupts = <13 1>;
  121. };
  122. cpm@9c0 {
  123. #address-cells = <1>;
  124. #size-cells = <1>;
  125. compatible = "fsl,mpc885-cpm", "fsl,cpm1";
  126. command-proc = <0x9c0>;
  127. interrupts = <0>; // cpm error interrupt
  128. interrupt-parent = <&CPM_PIC>;
  129. reg = <0x9c0 0x40>;
  130. ranges;
  131. muram@2000 {
  132. #address-cells = <1>;
  133. #size-cells = <1>;
  134. ranges = <0x0 0x2000 0x2000>;
  135. data@0 {
  136. compatible = "fsl,cpm-muram-data";
  137. reg = <0x0 0x1c00>;
  138. };
  139. };
  140. brg@9f0 {
  141. compatible = "fsl,mpc885-brg",
  142. "fsl,cpm1-brg",
  143. "fsl,cpm-brg";
  144. clock-frequency = <0>;
  145. reg = <0x9f0 0x10>;
  146. };
  147. CPM_PIC: interrupt-controller@930 {
  148. interrupt-controller;
  149. #interrupt-cells = <1>;
  150. interrupts = <5 2 0 2>;
  151. interrupt-parent = <&PIC>;
  152. reg = <0x930 0x20>;
  153. compatible = "fsl,mpc885-cpm-pic",
  154. "fsl,cpm1-pic";
  155. };
  156. serial@a80 {
  157. device_type = "serial";
  158. compatible = "fsl,mpc885-smc-uart",
  159. "fsl,cpm1-smc-uart";
  160. reg = <0xa80 0x10 0x3e80 0x40>;
  161. interrupts = <4>;
  162. interrupt-parent = <&CPM_PIC>;
  163. fsl,cpm-brg = <1>;
  164. fsl,cpm-command = <0x90>;
  165. };
  166. serial@a90 {
  167. device_type = "serial";
  168. compatible = "fsl,mpc885-smc-uart",
  169. "fsl,cpm1-smc-uart";
  170. reg = <0xa90 0x10 0x3f80 0x40>;
  171. interrupts = <3>;
  172. interrupt-parent = <&CPM_PIC>;
  173. fsl,cpm-brg = <2>;
  174. fsl,cpm-command = <0xd0>;
  175. };
  176. ethernet@a40 {
  177. device_type = "network";
  178. compatible = "fsl,mpc885-scc-enet",
  179. "fsl,cpm1-scc-enet";
  180. reg = <0xa40 0x18 0x3e00 0x100>;
  181. local-mac-address = [ 00 00 00 00 00 00 ];
  182. interrupts = <28>;
  183. interrupt-parent = <&CPM_PIC>;
  184. phy-handle = <&PHY2>;
  185. fsl,cpm-command = <0x80>;
  186. linux,network-index = <2>;
  187. };
  188. i2c@860 {
  189. compatible = "fsl,mpc885-i2c",
  190. "fsl,cpm1-i2c";
  191. reg = <0x860 0x20 0x3c80 0x30>;
  192. interrupts = <16>;
  193. interrupt-parent = <&CPM_PIC>;
  194. fsl,cpm-command = <0x10>;
  195. #address-cells = <1>;
  196. #size-cells = <0>;
  197. };
  198. };
  199. };
  200. chosen {
  201. linux,stdout-path = "/soc/cpm/serial@a80";
  202. };
  203. };