mpc885ads.dts 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. /*
  2. * MPC885 ADS Device Tree Source
  3. *
  4. * Copyright 2006 MontaVista Software, Inc.
  5. * Copyright 2007 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. / {
  13. model = "MPC885ADS";
  14. compatible = "fsl,mpc885ads";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. cpus {
  18. #address-cells = <1>;
  19. #size-cells = <0>;
  20. PowerPC,885@0 {
  21. device_type = "cpu";
  22. reg = <0>;
  23. d-cache-line-size = <d#16>;
  24. i-cache-line-size = <d#16>;
  25. d-cache-size = <d#8192>;
  26. i-cache-size = <d#8192>;
  27. timebase-frequency = <0>;
  28. bus-frequency = <0>;
  29. clock-frequency = <0>;
  30. interrupts = <f 2>; // decrementer interrupt
  31. interrupt-parent = <&PIC>;
  32. };
  33. };
  34. memory {
  35. device_type = "memory";
  36. reg = <0 0>;
  37. };
  38. localbus@ff000100 {
  39. compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
  40. #address-cells = <2>;
  41. #size-cells = <1>;
  42. reg = <ff000100 40>;
  43. ranges = <
  44. 0 0 fe000000 00800000
  45. 1 0 ff080000 00008000
  46. 5 0 ff0a0000 00008000
  47. >;
  48. flash@0,0 {
  49. compatible = "jedec-flash";
  50. reg = <0 0 800000>;
  51. bank-width = <4>;
  52. device-width = <1>;
  53. };
  54. board-control@1,0 {
  55. reg = <1 0 20 5 300 4>;
  56. compatible = "fsl,mpc885ads-bcsr";
  57. };
  58. };
  59. soc@ff000000 {
  60. compatible = "fsl,mpc885", "fsl,pq1-soc";
  61. #address-cells = <1>;
  62. #size-cells = <1>;
  63. device_type = "soc";
  64. ranges = <0 ff000000 00004000>;
  65. bus-frequency = <0>;
  66. // Temporary -- will go away once kernel uses ranges for get_immrbase().
  67. reg = <ff000000 4000>;
  68. mdio@e00 {
  69. compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
  70. reg = <e00 188>;
  71. #address-cells = <1>;
  72. #size-cells = <0>;
  73. PHY0: ethernet-phy@0 {
  74. reg = <0>;
  75. device_type = "ethernet-phy";
  76. };
  77. PHY1: ethernet-phy@1 {
  78. reg = <1>;
  79. device_type = "ethernet-phy";
  80. };
  81. PHY2: ethernet-phy@2 {
  82. reg = <2>;
  83. device_type = "ethernet-phy";
  84. };
  85. };
  86. ethernet@e00 {
  87. device_type = "network";
  88. compatible = "fsl,mpc885-fec-enet",
  89. "fsl,pq1-fec-enet";
  90. reg = <e00 188>;
  91. local-mac-address = [ 00 00 00 00 00 00 ];
  92. interrupts = <3 1>;
  93. interrupt-parent = <&PIC>;
  94. phy-handle = <&PHY0>;
  95. linux,network-index = <0>;
  96. };
  97. ethernet@1e00 {
  98. device_type = "network";
  99. compatible = "fsl,mpc885-fec-enet",
  100. "fsl,pq1-fec-enet";
  101. reg = <1e00 188>;
  102. local-mac-address = [ 00 00 00 00 00 00 ];
  103. interrupts = <7 1>;
  104. interrupt-parent = <&PIC>;
  105. phy-handle = <&PHY1>;
  106. linux,network-index = <1>;
  107. };
  108. PIC: interrupt-controller@0 {
  109. interrupt-controller;
  110. #interrupt-cells = <2>;
  111. reg = <0 24>;
  112. compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
  113. };
  114. pcmcia@80 {
  115. #address-cells = <3>;
  116. #interrupt-cells = <1>;
  117. #size-cells = <2>;
  118. compatible = "fsl,pq-pcmcia";
  119. device_type = "pcmcia";
  120. reg = <80 80>;
  121. interrupt-parent = <&PIC>;
  122. interrupts = <d 1>;
  123. };
  124. cpm@9c0 {
  125. #address-cells = <1>;
  126. #size-cells = <1>;
  127. compatible = "fsl,mpc885-cpm", "fsl,cpm1";
  128. command-proc = <9c0>;
  129. interrupts = <0>; // cpm error interrupt
  130. interrupt-parent = <&CPM_PIC>;
  131. reg = <9c0 40>;
  132. ranges;
  133. muram@2000 {
  134. #address-cells = <1>;
  135. #size-cells = <1>;
  136. ranges = <0 2000 2000>;
  137. data@0 {
  138. compatible = "fsl,cpm-muram-data";
  139. reg = <0 1c00>;
  140. };
  141. };
  142. brg@9f0 {
  143. compatible = "fsl,mpc885-brg",
  144. "fsl,cpm1-brg",
  145. "fsl,cpm-brg";
  146. reg = <9f0 10>;
  147. };
  148. CPM_PIC: interrupt-controller@930 {
  149. interrupt-controller;
  150. #interrupt-cells = <1>;
  151. interrupts = <5 2 0 2>;
  152. interrupt-parent = <&PIC>;
  153. reg = <930 20>;
  154. compatible = "fsl,mpc885-cpm-pic",
  155. "fsl,cpm1-pic";
  156. };
  157. serial@a80 {
  158. device_type = "serial";
  159. compatible = "fsl,mpc885-smc-uart",
  160. "fsl,cpm1-smc-uart";
  161. reg = <a80 10 3e80 40>;
  162. interrupts = <4>;
  163. interrupt-parent = <&CPM_PIC>;
  164. fsl,cpm-brg = <1>;
  165. fsl,cpm-command = <0090>;
  166. };
  167. serial@a90 {
  168. device_type = "serial";
  169. compatible = "fsl,mpc885-smc-uart",
  170. "fsl,cpm1-smc-uart";
  171. reg = <a90 10 3f80 40>;
  172. interrupts = <3>;
  173. interrupt-parent = <&CPM_PIC>;
  174. fsl,cpm-brg = <2>;
  175. fsl,cpm-command = <00d0>;
  176. };
  177. ethernet@a40 {
  178. device_type = "network";
  179. compatible = "fsl,mpc885-scc-enet",
  180. "fsl,cpm1-scc-enet";
  181. reg = <a40 18 3e00 100>;
  182. local-mac-address = [ 00 00 00 00 00 00 ];
  183. interrupts = <1c>;
  184. interrupt-parent = <&CPM_PIC>;
  185. phy-handle = <&PHY2>;
  186. fsl,cpm-command = <0080>;
  187. linux,network-index = <2>;
  188. };
  189. };
  190. };
  191. chosen {
  192. linux,stdout-path = "/soc/cpm/serial@a80";
  193. };
  194. };