ep88xc.dts 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. /*
  2. * EP88xC 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 = "EP88xC";
  14. compatible = "fsl,ep88xc";
  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@fa200100 {
  39. compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
  40. #address-cells = <2>;
  41. #size-cells = <1>;
  42. reg = <fa200100 40>;
  43. ranges = <
  44. 0 0 fc000000 04000000
  45. 3 0 fa000000 01000000
  46. >;
  47. flash@0,2000000 {
  48. compatible = "cfi-flash";
  49. reg = <0 2000000 2000000>;
  50. bank-width = <4>;
  51. device-width = <2>;
  52. };
  53. board-control@3,400000 {
  54. reg = <3 400000 10>;
  55. compatible = "fsl,ep88xc-bcsr";
  56. };
  57. };
  58. soc@fa200000 {
  59. compatible = "fsl,mpc885", "fsl,pq1-soc";
  60. #address-cells = <1>;
  61. #size-cells = <1>;
  62. device_type = "soc";
  63. ranges = <0 fa200000 00004000>;
  64. bus-frequency = <0>;
  65. // Temporary -- will go away once kernel uses ranges for get_immrbase().
  66. reg = <fa200000 4000>;
  67. mdio@e00 {
  68. compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
  69. reg = <e00 188>;
  70. #address-cells = <1>;
  71. #size-cells = <0>;
  72. PHY0: ethernet-phy@0 {
  73. reg = <0>;
  74. device_type = "ethernet-phy";
  75. };
  76. PHY1: ethernet-phy@1 {
  77. reg = <1>;
  78. device_type = "ethernet-phy";
  79. };
  80. };
  81. ethernet@e00 {
  82. device_type = "network";
  83. compatible = "fsl,mpc885-fec-enet",
  84. "fsl,pq1-fec-enet";
  85. reg = <e00 188>;
  86. local-mac-address = [ 00 00 00 00 00 00 ];
  87. interrupts = <3 1>;
  88. interrupt-parent = <&PIC>;
  89. phy-handle = <&PHY0>;
  90. linux,network-index = <0>;
  91. };
  92. ethernet@1e00 {
  93. device_type = "network";
  94. compatible = "fsl,mpc885-fec-enet",
  95. "fsl,pq1-fec-enet";
  96. reg = <1e00 188>;
  97. local-mac-address = [ 00 00 00 00 00 00 ];
  98. interrupts = <7 1>;
  99. interrupt-parent = <&PIC>;
  100. phy-handle = <&PHY1>;
  101. linux,network-index = <1>;
  102. };
  103. PIC: interrupt-controller@0 {
  104. interrupt-controller;
  105. #interrupt-cells = <2>;
  106. reg = <0 24>;
  107. compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
  108. };
  109. pcmcia@80 {
  110. #address-cells = <3>;
  111. #interrupt-cells = <1>;
  112. #size-cells = <2>;
  113. compatible = "fsl,pq-pcmcia";
  114. device_type = "pcmcia";
  115. reg = <80 80>;
  116. interrupt-parent = <&PIC>;
  117. interrupts = <d 1>;
  118. };
  119. cpm@9c0 {
  120. #address-cells = <1>;
  121. #size-cells = <1>;
  122. compatible = "fsl,mpc885-cpm", "fsl,cpm1";
  123. command-proc = <9c0>;
  124. interrupts = <0>; // cpm error interrupt
  125. interrupt-parent = <&CPM_PIC>;
  126. reg = <9c0 40>;
  127. ranges;
  128. muram@2000 {
  129. #address-cells = <1>;
  130. #size-cells = <1>;
  131. ranges = <0 2000 2000>;
  132. data@0 {
  133. compatible = "fsl,cpm-muram-data";
  134. reg = <0 1c00>;
  135. };
  136. };
  137. brg@9f0 {
  138. compatible = "fsl,mpc885-brg",
  139. "fsl,cpm1-brg",
  140. "fsl,cpm-brg";
  141. reg = <9f0 10>;
  142. };
  143. CPM_PIC: interrupt-controller@930 {
  144. interrupt-controller;
  145. #interrupt-cells = <1>;
  146. interrupts = <5 2 0 2>;
  147. interrupt-parent = <&PIC>;
  148. reg = <930 20>;
  149. compatible = "fsl,mpc885-cpm-pic",
  150. "fsl,cpm1-pic";
  151. };
  152. // MON-1
  153. serial@a80 {
  154. device_type = "serial";
  155. compatible = "fsl,mpc885-smc-uart",
  156. "fsl,cpm1-smc-uart";
  157. reg = <a80 10 3e80 40>;
  158. interrupts = <4>;
  159. interrupt-parent = <&CPM_PIC>;
  160. fsl,cpm-brg = <1>;
  161. fsl,cpm-command = <0090>;
  162. linux,planetcore-label = "SMC1";
  163. };
  164. // SER-1
  165. serial@a20 {
  166. device_type = "serial";
  167. compatible = "fsl,mpc885-scc-uart",
  168. "fsl,cpm1-scc-uart";
  169. reg = <a20 20 3d00 80>;
  170. interrupts = <1d>;
  171. interrupt-parent = <&CPM_PIC>;
  172. fsl,cpm-brg = <2>;
  173. fsl,cpm-command = <0040>;
  174. linux,planetcore-label = "SCC2";
  175. };
  176. usb@a00 {
  177. #address-cells = <1>;
  178. #size-cells = <0>;
  179. compatible = "fsl,mpc885-usb",
  180. "fsl,cpm1-usb";
  181. reg = <a00 18 1c00 80>;
  182. interrupt-parent = <&CPM_PIC>;
  183. interrupts = <1e>;
  184. fsl,cpm-command = <0000>;
  185. };
  186. };
  187. };
  188. };